diff --git a/account_payment_purchase_stock/README.rst b/account_payment_purchase_stock/README.rst index 83febcf2d..6e48a7868 100644 --- a/account_payment_purchase_stock/README.rst +++ b/account_payment_purchase_stock/README.rst @@ -2,10 +2,13 @@ Account Payment Purchase Stock ============================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6823ed3ee8a21c04b358aac1561c754f333d2c43318fec619787708fa7756a66 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ Account Payment Purchase Stock :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github - :target: https://github.com/OCA/bank-payment/tree/15.0/account_payment_purchase_stock + :target: https://github.com/OCA/bank-payment/tree/16.0/account_payment_purchase_stock :alt: OCA/bank-payment .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_purchase_stock + :target: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_purchase_stock :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/173/15.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module combines the *account_payment_purchase* module with *purchase_stock*. @@ -52,8 +55,8 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -96,6 +99,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/bank-payment `_ project on GitHub. +This module is part of the `OCA/bank-payment `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_payment_purchase_stock/__manifest__.py b/account_payment_purchase_stock/__manifest__.py index 2990c5893..f558e422d 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": "15.0.1.0.0", + "version": "16.0.1.0.0", "category": "Banking addons", "license": "AGPL-3", "summary": "Integrate Account Payment Purchase with Stock", diff --git a/account_payment_purchase_stock/i18n/account_payment_purchase_stock.pot b/account_payment_purchase_stock/i18n/account_payment_purchase_stock.pot index 364da1236..96d6aa9f8 100644 --- a/account_payment_purchase_stock/i18n/account_payment_purchase_stock.pot +++ b/account_payment_purchase_stock/i18n/account_payment_purchase_stock.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/account_payment_purchase_stock/i18n/es.po b/account_payment_purchase_stock/i18n/es.po new file mode 100644 index 000000000..73af41393 --- /dev/null +++ b/account_payment_purchase_stock/i18n/es.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_purchase_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-07-21 09:11+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\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.17\n" + +#. module: account_payment_purchase_stock +#: model:ir.model,name:account_payment_purchase_stock.model_stock_rule +msgid "Stock Rule" +msgstr "Regla de existencias" diff --git a/account_payment_purchase_stock/i18n/fr.po b/account_payment_purchase_stock/i18n/fr.po new file mode 100644 index 000000000..a6bf699d1 --- /dev/null +++ b/account_payment_purchase_stock/i18n/fr.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_payment_purchase_stock +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-29 12:08+0000\n" +"Last-Translator: Rémi \n" +"Language-Team: none\n" +"Language: fr\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.17\n" + +#. module: account_payment_purchase_stock +#: model:ir.model,name:account_payment_purchase_stock.model_stock_rule +msgid "Stock Rule" +msgstr "Règle de stock" diff --git a/account_payment_purchase_stock/i18n/it.po b/account_payment_purchase_stock/i18n/it.po index 3db8083c7..bf4905162 100644 --- a/account_payment_purchase_stock/i18n/it.po +++ b/account_payment_purchase_stock/i18n/it.po @@ -6,32 +6,26 @@ 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" +"PO-Revision-Date: 2023-06-07 13:15+0000\n" +"Last-Translator: mymage \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" +"X-Generator: Weblate 4.17\n" #. module: account_payment_purchase_stock #: model:ir.model,name:account_payment_purchase_stock.model_stock_rule msgid "Stock Rule" -msgstr "Regola" +msgstr "Regola di giacenza" + +#~ msgid "Display Name" +#~ msgstr "Nome visualizzato" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Ultima modifica il" diff --git a/account_payment_purchase_stock/models/stock_rule.py b/account_payment_purchase_stock/models/stock_rule.py index 390e44375..d03a3fc8a 100644 --- a/account_payment_purchase_stock/models/stock_rule.py +++ b/account_payment_purchase_stock/models/stock_rule.py @@ -11,7 +11,7 @@ class StockRule(models.Model): """Propagate payment mode on MTO/drop shipping.""" res = super()._prepare_purchase_order(company_id, origins, values) values = values[0] - partner = values["supplier"].name + partner = values["supplier"].partner_id if partner: res["payment_mode_id"] = partner.with_company( self.company_id.id diff --git a/account_payment_purchase_stock/static/description/index.html b/account_payment_purchase_stock/static/description/index.html index 7f1edf9dc..9deb75e85 100644 --- a/account_payment_purchase_stock/static/description/index.html +++ b/account_payment_purchase_stock/static/description/index.html @@ -1,20 +1,20 @@ - + - + Account Payment Purchase Stock