diff --git a/account_payment_purchase_stock/__manifest__.py b/account_payment_purchase_stock/__manifest__.py index ec2c977dc..b324d15c9 100644 --- a/account_payment_purchase_stock/__manifest__.py +++ b/account_payment_purchase_stock/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Account Payment Purchase Stock", - "version": "14.0.1.0.0", + "version": "14.0.1.0.1", "category": "Banking addons", "license": "AGPL-3", "summary": "Integrate Account Payment Purchase with Stock", diff --git a/account_payment_purchase_stock/i18n/it.po b/account_payment_purchase_stock/i18n/it.po new file mode 100644 index 000000000..3db8083c7 --- /dev/null +++ b/account_payment_purchase_stock/i18n/it.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_purchase_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-12-03 12:36+0000\n" +"Last-Translator: Francesco Foresti \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" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_payment_purchase_stock +#: model:ir.model.fields,field_description:account_payment_purchase_stock.field_stock_rule__display_name +msgid "Display Name" +msgstr "Nome da visualizzare" + +#. module: account_payment_purchase_stock +#: model:ir.model.fields,field_description:account_payment_purchase_stock.field_stock_rule__id +msgid "ID" +msgstr "ID" + +#. module: account_payment_purchase_stock +#: model:ir.model.fields,field_description:account_payment_purchase_stock.field_stock_rule____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: account_payment_purchase_stock +#: model:ir.model,name:account_payment_purchase_stock.model_stock_rule +msgid "Stock Rule" +msgstr "Regola" diff --git a/account_payment_purchase_stock/tests/test_account_payment_purchase_stock.py b/account_payment_purchase_stock/tests/test_account_payment_purchase_stock.py index 210415a6c..b62cc8052 100644 --- a/account_payment_purchase_stock/tests/test_account_payment_purchase_stock.py +++ b/account_payment_purchase_stock/tests/test_account_payment_purchase_stock.py @@ -12,6 +12,7 @@ from odoo.addons.account_payment_purchase.tests.test_account_payment_purchase im class TestAccountPaymentPurchaseStock(TestAccountPaymentPurchase): def test_purchase_stock_order_invoicing(self): + self.purchase.onchange_partner_id() self.purchase.button_confirm() picking = self.purchase.picking_ids[0] picking.action_confirm() @@ -65,7 +66,6 @@ class TestAccountPaymentPurchaseStock(TestAccountPaymentPurchase): {"name": "Test stockable product", "type": "product"} ) self.purchase.order_line[0].product_id = stockable_product - self.purchase.payment_mode_id = False self.purchase.supplier_partner_bank_id = self.bank self.purchase.button_confirm() picking = self.purchase.picking_ids[0]