Skip to content

Commit

Permalink
Merge pull request #1080 from OCA/14.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/stock-logistics-workflow (14.0)
  • Loading branch information
bt-admin authored Jan 22, 2024
2 parents 5d7d19f + 8299cae commit 1d7a335
Show file tree
Hide file tree
Showing 23 changed files with 699 additions and 82 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ addon | version | maintainers | summary
[procurement_auto_create_group_carrier](procurement_auto_create_group_carrier/) | 14.0.1.1.0 | | Procurement Auto Create Group Carrier
[product_cost_price_avco_sync](product_cost_price_avco_sync/) | 14.0.1.0.1 | [![carlosdauden](https://github.com/carlosdauden.png?size=30px)](https://github.com/carlosdauden) [![sergio-teruel](https://github.com/sergio-teruel.png?size=30px)](https://github.com/sergio-teruel) | Set product cost price from updated moves
[product_expiry_simple](product_expiry_simple/) | 14.0.1.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Simpler and better alternative to the official product_expiry module
[product_supplierinfo_for_customer_picking](product_supplierinfo_for_customer_picking/) | 14.0.1.1.0 | | This module makes the product customer code visible in the stock moves of a picking.
[product_supplierinfo_for_customer_picking](product_supplierinfo_for_customer_picking/) | 14.0.1.2.1 | | This module makes the product customer code visible in the stock moves of a picking.
[product_supplierinfo_picking](product_supplierinfo_picking/) | 14.0.1.0.0 | | This module makes the product supplier code visible in the stock moves of a picking.
[purchase_stock_picking_invoice_link](purchase_stock_picking_invoice_link/) | 14.0.1.1.0 | | Adds link between purchases, pickings and invoices
[sale_line_returned_qty](sale_line_returned_qty/) | 14.0.1.0.0 | | Track returned quantity of sale order lines.
Expand All @@ -39,7 +39,7 @@ addon | version | maintainers | summary
[stock_auto_move](stock_auto_move/) | 14.0.1.0.0 | | Automatic Move Processing
[stock_dangerous_goods](stock_dangerous_goods/) | 14.0.1.0.0 | [![mmequignon](https://github.com/mmequignon.png?size=30px)](https://github.com/mmequignon) | Adds utility fields to manage dangerous goods
[stock_delivery_note](stock_delivery_note/) | 14.0.1.0.1 | | This module allows to fill in a delivery note that will be displayed on delivery report
[stock_landed_costs_delivery](stock_landed_costs_delivery/) | 14.0.1.0.0 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Stock landed costs delivery
[stock_landed_costs_delivery](stock_landed_costs_delivery/) | 14.0.1.0.1 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Stock landed costs delivery
[stock_landed_costs_mrp_subcontracting](stock_landed_costs_mrp_subcontracting/) | 14.0.1.1.0 | | When using Subcontracting, use the incoming shipment in landed costs
[stock_landed_costs_purchase_auto](stock_landed_costs_purchase_auto/) | 14.0.1.0.0 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Stock landed costs purchase auto
[stock_landed_costs_security](stock_landed_costs_security/) | 14.0.1.0.0 | [![cesar-tecnativa](https://github.com/cesar-tecnativa.png?size=30px)](https://github.com/cesar-tecnativa) | Stock landed costs security
Expand Down
69 changes: 69 additions & 0 deletions delivery_total_weight_from_packaging/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * delivery_total_weight_from_packaging
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: delivery_total_weight_from_packaging
#: model:ir.model,name:delivery_total_weight_from_packaging.model_choose_delivery_package
msgid "Delivery Package Selection Wizard"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_choose_delivery_package__display_name
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_move__display_name
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_picking__display_name
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_quant_package__display_name
msgid "Display Name"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_choose_delivery_package__id
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_move__id
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_picking__id
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_quant_package__id
msgid "ID"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_choose_delivery_package____last_update
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_move____last_update
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_picking____last_update
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_quant_package____last_update
msgid "Last Modified on"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model,name:delivery_total_weight_from_packaging.model_stock_quant_package
msgid "Packages"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model.fields,field_description:delivery_total_weight_from_packaging.field_stock_quant_package__shipping_weight
msgid "Shipping Weight"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model,name:delivery_total_weight_from_packaging.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model.fields,help:delivery_total_weight_from_packaging.field_stock_quant_package__shipping_weight
msgid "Total weight of the package."
msgstr ""

#. module: delivery_total_weight_from_packaging
#: model:ir.model,name:delivery_total_weight_from_packaging.model_stock_picking
msgid "Transfer"
msgstr ""
2 changes: 1 addition & 1 deletion product_supplierinfo_for_customer_picking/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Product Supplierinfo For Customer Picking
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:85c0137dffceec44da706377c5ff133890ad80a76b813ff13ab9dd33483a1107
!! source digest: sha256:923e417805552af550200a7cf73c3df90f9c663b3274a21a903c62f2077d2917
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion product_supplierinfo_for_customer_picking/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Product Supplierinfo For Customer Picking",
"version": "14.0.1.1.0",
"version": "14.0.1.2.1",
"author": "Agile Business Group, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"category": "Stock",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
class StockMove(models.Model):
_inherit = "stock.move"

@api.depends(
"picking_id.partner_id", "product_id", "product_id.customer_ids.product_code"
)
@api.depends("picking_id.partner_id", "product_id")
def _compute_product_customer_code(self):
for move in self:
product_customer_name = ""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Product Supplierinfo For Customer Picking</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:85c0137dffceec44da706377c5ff133890ad80a76b813ff13ab9dd33483a1107
!! source digest: sha256:923e417805552af550200a7cf73c3df90f9c663b3274a21a903c62f2077d2917
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-workflow/tree/14.0/product_supplierinfo_for_customer_picking"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-product_supplierinfo_for_customer_picking"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Based on product_supplierinfo_for_customer, this module loads in every Stock move the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,16 @@ def test_product_supplierinfo_for_customer_picking(self):
}
)
move = delivery_picking.move_lines[0]
move._compute_product_customer_code()
self.assertEqual(move.product_customer_code, "test_agrolait")
self.assertEqual(move.product_customer_name, "test prod name 1")

# Test that name stays the same on picking
# even after a change
customerinfo = self.computer_SC234.customer_ids.filtered(
lambda x: x.name == self.agrolait
)
customerinfo.product_code = "different_code"
customerinfo.product_name = "different name"
self.assertEqual(move.product_customer_code, "test_agrolait")
self.assertEqual(move.product_customer_name, "test prod name 1")

Expand Down Expand Up @@ -97,6 +106,5 @@ def test_product_supplierinfo_two_costumers(self):
}
)
move = delivery_picking.move_lines[0]
move._compute_product_customer_code()
self.assertEqual(move.product_customer_code, "test_gemini")
self.assertEqual(move.product_customer_name, "test prod name 2")
65 changes: 65 additions & 0 deletions sale_purchase_stock_line_note/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_purchase_stock_line_note
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: sale_purchase_stock_line_note
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_purchase_order_line__display_name
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_sale_order_line__display_name
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_move__display_name
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_rule__display_name
msgid "Display Name"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_purchase_order_line__id
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_sale_order_line__id
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_move__id
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_rule__id
msgid "ID"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_purchase_order_line____last_update
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_sale_order_line____last_update
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_move____last_update
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_rule____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model,name:sale_purchase_stock_line_note.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_purchase_order_line__sale_note
#: model:ir.model.fields,field_description:sale_purchase_stock_line_note.field_stock_move__sale_note
msgid "Sale Note"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model,name:sale_purchase_stock_line_note.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model,name:sale_purchase_stock_line_note.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: sale_purchase_stock_line_note
#: model:ir.model,name:sale_purchase_stock_line_note.model_stock_rule
msgid "Stock Rule"
msgstr ""
64 changes: 64 additions & 0 deletions sale_stock_mto_as_mts_orderpoint/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_stock_mto_as_mts_orderpoint
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__display_name
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse__display_name
msgid "Display Name"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__id
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse__id
msgid "ID"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move__is_from_mto_route
msgid "Is From Mto Route"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_sale_order_line____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_move____last_update
#: model:ir.model.fields,field_description:sale_stock_mto_as_mts_orderpoint.field_stock_warehouse____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: sale_stock_mto_as_mts_orderpoint
#: model:ir.model,name:sale_stock_mto_as_mts_orderpoint.model_stock_warehouse
msgid "Warehouse"
msgstr ""
4 changes: 2 additions & 2 deletions stock_auto_move/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-01 02:08+0000\n"
"PO-Revision-Date: 2023-12-26 14:33+0000\n"
"PO-Revision-Date: 2024-01-15 12:35+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
Expand Down Expand Up @@ -82,7 +82,7 @@ msgstr "Regola di giacenza"
#. module: stock_auto_move
#: model:stock.rule,name:stock_auto_move.auto_location_path
msgid "Test push route 3=>1"
msgstr "Test forza percorso 3=>1"
msgstr "Test percorso invio 3=>1"

#. module: stock_auto_move
#: model:stock.location.route,name:stock_auto_move.test_route
Expand Down
50 changes: 50 additions & 0 deletions stock_delivery_note/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_delivery_note
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: stock_delivery_note
#: model:ir.model.fields,field_description:stock_delivery_note.field_stock_picking__delivery_note
msgid "Delivery Note"
msgstr ""

#. module: stock_delivery_note
#: model_terms:ir.ui.view,arch_db:stock_delivery_note.stock_picking_form_view
msgid "Delivery note"
msgstr ""

#. module: stock_delivery_note
#: model:ir.model.fields,field_description:stock_delivery_note.field_stock_picking__display_name
msgid "Display Name"
msgstr ""

#. module: stock_delivery_note
#: model:ir.model.fields,field_description:stock_delivery_note.field_stock_picking__id
msgid "ID"
msgstr ""

#. module: stock_delivery_note
#: model:ir.model.fields,field_description:stock_delivery_note.field_stock_picking____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_delivery_note
#: model:ir.model.fields,help:stock_delivery_note.field_stock_picking__delivery_note
msgid "This field will be displayed on delivery report"
msgstr ""

#. module: stock_delivery_note
#: model:ir.model,name:stock_delivery_note.model_stock_picking
msgid "Transfer"
msgstr ""
2 changes: 1 addition & 1 deletion stock_landed_costs_delivery/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Stock landed costs delivery
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d721fe383b066b0b673d39d6ec1630d0a3e7f7f93e76f07aadd095c868284237
!! source digest: sha256:bd5395033d315ea292b4d155ff44d04fdd9c75923ff14a45e8745a45d6101004
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion stock_landed_costs_delivery/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Stock landed costs delivery",
"version": "14.0.1.0.0",
"version": "14.0.1.0.1",
"category": "Inventory",
"website": "https://github.com/OCA/stock-logistics-workflow",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
Loading

0 comments on commit 1d7a335

Please sign in to comment.