diff --git a/addons/purchase_requisition/i18n/purchase_requisition.pot b/addons/purchase_requisition/i18n/purchase_requisition.pot index 3d60e554031..6fb547dc15a 100644 --- a/addons/purchase_requisition/i18n/purchase_requisition.pot +++ b/addons/purchase_requisition/i18n/purchase_requisition.pot @@ -482,7 +482,7 @@ msgstr "" #. module: purchase_requisition #: model:ir.model.fields,help:purchase_requisition.field_purchase_requisition_create_alternative__copy_products msgid "" -"If this is checked, the product quantites of the original PO will be copied" +"If this is checked, the product quantities of the original PO will be copied" msgstr "" #. module: purchase_requisition diff --git a/addons/purchase_requisition/wizard/purchase_requisition_create_alternative.py b/addons/purchase_requisition/wizard/purchase_requisition_create_alternative.py index 3a140744234..2da83d7dc62 100644 --- a/addons/purchase_requisition/wizard/purchase_requisition_create_alternative.py +++ b/addons/purchase_requisition/wizard/purchase_requisition_create_alternative.py @@ -26,7 +26,7 @@ class PurchaseRequisitionCreateAlternative(models.TransientModel): groups="purchase.group_warning_purchase") copy_products = fields.Boolean( "Copy Products", default=True, - help="If this is checked, the product quantites of the original PO will be copied") + help="If this is checked, the product quantities of the original PO will be copied") @api.depends('partner_id', 'copy_products') def _compute_purchase_warn(self): diff --git a/addons/purchase_stock/tests/test_create_picking.py b/addons/purchase_stock/tests/test_create_picking.py index 5fc2f5bdde8..592c1045556 100644 --- a/addons/purchase_stock/tests/test_create_picking.py +++ b/addons/purchase_stock/tests/test_create_picking.py @@ -179,7 +179,7 @@ class TestCreatePicking(common.TestProductCommon): def test_03_uom(self): """ Buy a dozen of products stocked in units. Check that the quantities on the purchase order lines as well as the received quantities are handled in dozen while the moves themselves - are handled in units. Edit the ordered quantities, check that the quantites are correctly + are handled in units. Edit the ordered quantities, check that the quantities are correctly updated on the moves. Edit the ir.config_parameter to propagate the uom of the purchase order lines to the moves and edit a last time the ordered quantities. Receive, check the quantities. """ diff --git a/addons/sale_stock/tests/test_sale_stock.py b/addons/sale_stock/tests/test_sale_stock.py index 7b60abbd877..14a088b9999 100644 --- a/addons/sale_stock/tests/test_sale_stock.py +++ b/addons/sale_stock/tests/test_sale_stock.py @@ -433,7 +433,7 @@ class TestSaleStock(TestSaleCommon, ValuationReconciliationTestCommon): def test_06_uom(self): """ Sell a dozen of products stocked in units. Check that the quantities on the sale order lines as well as the delivered quantities are handled in dozen while the moves themselves - are handled in units. Edit the ordered quantities, check that the quantites are correctly + are handled in units. Edit the ordered quantities, check that the quantities are correctly updated on the moves. Edit the ir.config_parameter to propagate the uom of the sale order lines to the moves and edit a last time the ordered quantities. Deliver, check the quantities. diff --git a/addons/stock/models/stock_move.py b/addons/stock/models/stock_move.py index 9e801fbe8e9..095e1d82dea 100644 --- a/addons/stock/models/stock_move.py +++ b/addons/stock/models/stock_move.py @@ -945,7 +945,7 @@ Please change the quantity done or the rounding precision of your unit of measur moves_by_neg_key[neg_key(moves[0])] |= moves[0] for neg_move in neg_qty_moves: - # Check all the candidates that matches the same limited key, and adjust their quantites to absorb negative moves + # Check all the candidates that matches the same limited key, and adjust their quantities to absorb negative moves for pos_move in moves_by_neg_key.get(neg_key(neg_move), []): # If quantity can be fully absorbed by a single move, update its quantity and remove the negative move if float_compare(pos_move.product_uom_qty, abs(neg_move.product_uom_qty), precision_rounding=pos_move.product_uom.rounding) >= 0: