From b97a02bc30a7e93f701aed871cdca22485fcb418 Mon Sep 17 00:00:00 2001 From: oihane Date: Mon, 27 Apr 2015 10:31:00 +0200 Subject: [PATCH 01/57] [ADD] Moved from odoomrp-wip [IMP] Deleted dependency [IMP] Changed to avoid initializing to False [IMP] Minor changes [IMP] added test [IMP] OCA required _id added [FIX] test fixed [IMP] Update New version format and Try me button [IMP] Test updated data when purchase.order is confirmed --- purchase_last_price_info/README.rst | 54 +++++++++++++++++ purchase_last_price_info/__init__.py | 6 ++ purchase_last_price_info/__openerp__.py | 41 +++++++++++++ purchase_last_price_info/i18n/es.po | 47 +++++++++++++++ .../i18n/purchase_last_price_info.pot | 47 +++++++++++++++ purchase_last_price_info/models/__init__.py | 6 ++ purchase_last_price_info/models/product.py | 29 +++++++++ purchase_last_price_info/tests/__init__.py | 6 ++ .../tests/test_purchase_last_price_info.py | 59 +++++++++++++++++++ .../views/product_view.xml | 31 ++++++++++ 10 files changed, 326 insertions(+) create mode 100644 purchase_last_price_info/README.rst create mode 100644 purchase_last_price_info/__init__.py create mode 100644 purchase_last_price_info/__openerp__.py create mode 100644 purchase_last_price_info/i18n/es.po create mode 100644 purchase_last_price_info/i18n/purchase_last_price_info.pot create mode 100644 purchase_last_price_info/models/__init__.py create mode 100644 purchase_last_price_info/models/product.py create mode 100644 purchase_last_price_info/tests/__init__.py create mode 100644 purchase_last_price_info/tests/test_purchase_last_price_info.py create mode 100644 purchase_last_price_info/views/product_view.xml diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst new file mode 100644 index 00000000000..dec690a429e --- /dev/null +++ b/purchase_last_price_info/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Product Last Price Info - Purchase +================================== + +This module adds the last purchase info of the product. + + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/142/8.0 + +For further information, please visit: + +* https://www.odoo.com/forum/help-1 + + +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 +`here `_. + + +Credits +======= + +Contributors +------------ +* Alfredo de la Fuente +* Oihane Crucelaegui +* Pedro M. Baeza +* Ana Juaristi + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/purchase_last_price_info/__init__.py b/purchase_last_price_info/__init__.py new file mode 100644 index 00000000000..054c8853d83 --- /dev/null +++ b/purchase_last_price_info/__init__.py @@ -0,0 +1,6 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from . import models diff --git a/purchase_last_price_info/__openerp__.py b/purchase_last_price_info/__openerp__.py new file mode 100644 index 00000000000..6811f6ce730 --- /dev/null +++ b/purchase_last_price_info/__openerp__.py @@ -0,0 +1,41 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. +# +############################################################################## + +{ + "name": "Product Last Price Info - Purchase", + "version": "8.0.1.0.0", + "category": "Purchase Management", + "license": "AGPL-3", + "author": "OdooMRP team, " + "AvanzOSC, " + "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Odoo Community Association (OCA)", + "website": "http://www.odoomrp.com", + "contributors": [ + "Oihane Crucelaegui ", + "Pedro M. Baeza ", + "Ana Juaristi ", + ], + "depends": [ + "purchase", + ], + "data": [ + "views/product_view.xml", + ], + "installable": True, +} diff --git a/purchase_last_price_info/i18n/es.po b/purchase_last_price_info/i18n/es.po new file mode 100644 index 00000000000..0861445a153 --- /dev/null +++ b/purchase_last_price_info/i18n/es.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-19 12:16+0000\n" +"PO-Revision-Date: 2015-06-19 12:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "Información último precio" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Producto" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "Compra" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier:0 +msgid "Last Supplier" +msgstr "Último proveedor" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "Último precio de compra" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "Última fecha de compra" + diff --git a/purchase_last_price_info/i18n/purchase_last_price_info.pot b/purchase_last_price_info/i18n/purchase_last_price_info.pot new file mode 100644 index 00000000000..efbc18f7466 --- /dev/null +++ b/purchase_last_price_info/i18n/purchase_last_price_info.pot @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-19 12:16+0000\n" +"PO-Revision-Date: 2015-06-19 12:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + diff --git a/purchase_last_price_info/models/__init__.py b/purchase_last_price_info/models/__init__.py new file mode 100644 index 00000000000..ce547240948 --- /dev/null +++ b/purchase_last_price_info/models/__init__.py @@ -0,0 +1,6 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from . import product diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py new file mode 100644 index 00000000000..844b3203e16 --- /dev/null +++ b/purchase_last_price_info/models/product.py @@ -0,0 +1,29 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from openerp import api, fields, models + + +class ProductProduct(models.Model): + _inherit = 'product.product' + + @api.one + def _get_last_purchase(self): + """ Get last purchase price, last purchase date and last supplier """ + lines = self.env['purchase.order.line'].search( + [('product_id', '=', self.id), + ('state', 'in', ['confirmed', 'done'])]).sorted( + key=lambda l: l.order_id.date_order, reverse=True) + self.last_purchase_date = lines[:1].order_id.date_order + self.last_purchase_price = lines[:1].price_unit + self.last_supplier_id = lines[:1].order_id.partner_id + + last_purchase_price = fields.Float( + string='Last Purchase Price', compute='_get_last_purchase') + last_purchase_date = fields.Date( + string='Last Purchase Date', compute='_get_last_purchase') + last_supplier_id = fields.Many2one( + comodel_name='res.partner', string='Last Supplier', + compute='_get_last_purchase') diff --git a/purchase_last_price_info/tests/__init__.py b/purchase_last_price_info/tests/__init__.py new file mode 100644 index 00000000000..75483e1c0ae --- /dev/null +++ b/purchase_last_price_info/tests/__init__.py @@ -0,0 +1,6 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +from . import test_purchase_last_price_info diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py new file mode 100644 index 00000000000..36e4a3c37af --- /dev/null +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -0,0 +1,59 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# For copyright and license notices, see __openerp__.py file in root directory +############################################################################## + +import openerp.tests.common as common +from openerp import fields + + +class TestPurchaseLastPriceInfo(common.TransactionCase): + + def setUp(self): + super(TestPurchaseLastPriceInfo, self).setUp() + self.purchase_model = self.env['purchase.order'] + self.purchase_line_model = self.env['purchase.order.line'] + self.product = self.env.ref('product.product_product_31') + self.partner = self.env.ref('base.res_partner_1') + self.location = self.env.ref('stock.stock_location_suppliers') + self.pricelist = self.env.ref('purchase.list0') + + def test_purchase_last_price_info_demo(self): + purchase_lines = self.purchase_line_model.search( + [('product_id', '=', self.product.id), + ('state', 'in', ['confirmed', 'done'])]).sorted( + key=lambda l: l.order_id.date_order, reverse=True) + self.assertEqual( + fields.Datetime.from_string( + purchase_lines[:1].order_id.date_order).date(), + fields.Datetime.from_string( + self.product.last_purchase_date).date()) + self.assertEqual( + purchase_lines[:1].price_unit, self.product.last_purchase_price) + self.assertEqual( + purchase_lines[:1].order_id.partner_id, + self.product.last_supplier_id) + + def test_purchase_last_price_info_new_order(self): + purchase_order = self.purchase_model.create({ + 'partner_id': self.partner.id, + 'location_id': self.location.id, + 'pricelist_id': self.pricelist.id, + 'order_line': [(0, 0, { + 'product_id': self.product.id, + 'price_unit': self.product.standard_price, + 'name': self.product.name, + 'date_planned': fields.Datetime.now(), + })] + }) + purchase_order.wkf_confirm_order() + self.assertEqual( + fields.Datetime.from_string( + purchase_order.date_order).date(), + fields.Datetime.from_string( + self.product.last_purchase_date).date()) + self.assertEqual( + purchase_order.order_line[:1].price_unit, + self.product.last_purchase_price) + self.assertEqual( + self.partner, self.product.last_supplier_id) diff --git a/purchase_last_price_info/views/product_view.xml b/purchase_last_price_info/views/product_view.xml new file mode 100644 index 00000000000..16d699f569e --- /dev/null +++ b/purchase_last_price_info/views/product_view.xml @@ -0,0 +1,31 @@ + + + + + product.last.info.page.form + product.product + + + + + + + + + + product.last.purchase.info.form + product.product + + + + + + + + + + + + + + From f89d28bf5b87a90eb2907d056551a4778b424f12 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 12 Mar 2016 23:07:57 -0500 Subject: [PATCH 02/57] OCA Transbot updated translations from Transifex --- purchase_last_price_info/i18n/en.po | 48 +++++++++++++++++++++ purchase_last_price_info/i18n/es.po | 34 +++++---------- purchase_last_price_info/i18n/fr.po | 33 +++++++++++++++ purchase_last_price_info/i18n/fr_FR.po | 48 +++++++++++++++++++++ purchase_last_price_info/i18n/pt_BR.po | 49 ++++++++++++++++++++++ purchase_last_price_info/i18n/sl.po | 58 ++++++++++++++++++++++++++ 6 files changed, 246 insertions(+), 24 deletions(-) create mode 100644 purchase_last_price_info/i18n/en.po create mode 100644 purchase_last_price_info/i18n/fr.po create mode 100644 purchase_last_price_info/i18n/fr_FR.po create mode 100644 purchase_last_price_info/i18n/pt_BR.po create mode 100644 purchase_last_price_info/i18n/sl.po diff --git a/purchase_last_price_info/i18n/en.po b/purchase_last_price_info/i18n/en.po new file mode 100644 index 00000000000..28a3f7a7904 --- /dev/null +++ b/purchase_last_price_info/i18n/en.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-14 02:43+0000\n" +"PO-Revision-Date: 2016-05-11 13:28+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "Last Price Info" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "Last Purchase Date" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "Last Purchase Price" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "Last Supplier" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Product" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "Purchase" diff --git a/purchase_last_price_info/i18n/es.po b/purchase_last_price_info/i18n/es.po index 0861445a153..7810d18d4c7 100644 --- a/purchase_last_price_info/i18n/es.po +++ b/purchase_last_price_info/i18n/es.po @@ -1,19 +1,21 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * purchase_last_price_info -# +# * purchase_last_price_info +# +# Translators: msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-06-19 12:16+0000\n" -"PO-Revision-Date: 2015-06-19 12:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" +"POT-Creation-Date: 2016-03-08 10:15+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info #: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view @@ -29,19 +31,3 @@ msgstr "Producto" #: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view msgid "Purchase" msgstr "Compra" - -#. module: purchase_last_price_info -#: field:product.product,last_supplier:0 -msgid "Last Supplier" -msgstr "Último proveedor" - -#. module: purchase_last_price_info -#: field:product.product,last_purchase_price:0 -msgid "Last Purchase Price" -msgstr "Último precio de compra" - -#. module: purchase_last_price_info -#: field:product.product,last_purchase_date:0 -msgid "Last Purchase Date" -msgstr "Última fecha de compra" - diff --git a/purchase_last_price_info/i18n/fr.po b/purchase_last_price_info/i18n/fr.po new file mode 100644 index 00000000000..3427974cfa0 --- /dev/null +++ b/purchase_last_price_info/i18n/fr.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-08 10:15+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produit" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/fr_FR.po b/purchase_last_price_info/i18n/fr_FR.po new file mode 100644 index 00000000000..1ea04f42db4 --- /dev/null +++ b/purchase_last_price_info/i18n/fr_FR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-01 10:08+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (France) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/fr_FR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_FR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produit" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/pt_BR.po b/purchase_last_price_info/i18n/pt_BR.po new file mode 100644 index 00000000000..aaed5a4feaa --- /dev/null +++ b/purchase_last_price_info/i18n/pt_BR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +# Paulo Ricardo , 2016 +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-15 09:24+0000\n" +"PO-Revision-Date: 2016-05-18 16:25+0000\n" +"Last-Translator: Paulo Ricardo \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "Informações Último Preço" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "Última Data de Compra" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "Último Preço de Compra" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "Último Fornecedor" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produto" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "Compra" diff --git a/purchase_last_price_info/i18n/sl.po b/purchase_last_price_info/i18n/sl.po new file mode 100644 index 00000000000..aec2d0f11bb --- /dev/null +++ b/purchase_last_price_info/i18n/sl.po @@ -0,0 +1,58 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +# Ahmet Altınışık , 2015 +# Antonio Trueba, 2016 +# FIRST AUTHOR , 2012,2014 +# Gustavo Lepri , 2015 +# Hotellook, 2014 +# Jarmo Kortetjärvi , 2016 +# Matjaž Mozetič , 2016 +# Paolo Valier, 2016 +# Rudolf Schnapka , 2015-2016 +# Thomas A. Jaeger, 2015 +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-14 02:43+0000\n" +"PO-Revision-Date: 2016-05-12 05:27+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "Podatki o zadnji ceni" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "Datum zadnje nabave" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "Cena zadnje nabave" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "Zadnji dobavitelj" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Proizvod" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "Nabava" From 7235f5d2ee403faa0794de8f393b587e9cc6f19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 10 Aug 2016 13:51:28 +0200 Subject: [PATCH 03/57] [FIX] remove en.po that was erroneously created by transbot --- purchase_last_price_info/i18n/ca.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/de.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/el_GR.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/es_ES.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/eu.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/fi.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/fr_CH.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/gl.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/hr.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/hr_HR.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/it.po | 48 +++++++++++++++++++ .../i18n/{en.po => nl.po} | 20 ++++---- purchase_last_price_info/i18n/nl_NL.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/pt.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/ro.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/ru.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/sk.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/tr.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/tr_TR.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/vi_VN.po | 48 +++++++++++++++++++ purchase_last_price_info/i18n/zh_CN.po | 48 +++++++++++++++++++ 21 files changed, 970 insertions(+), 10 deletions(-) create mode 100644 purchase_last_price_info/i18n/ca.po create mode 100644 purchase_last_price_info/i18n/de.po create mode 100644 purchase_last_price_info/i18n/el_GR.po create mode 100644 purchase_last_price_info/i18n/es_ES.po create mode 100644 purchase_last_price_info/i18n/eu.po create mode 100644 purchase_last_price_info/i18n/fi.po create mode 100644 purchase_last_price_info/i18n/fr_CH.po create mode 100644 purchase_last_price_info/i18n/gl.po create mode 100644 purchase_last_price_info/i18n/hr.po create mode 100644 purchase_last_price_info/i18n/hr_HR.po create mode 100644 purchase_last_price_info/i18n/it.po rename purchase_last_price_info/i18n/{en.po => nl.po} (74%) create mode 100644 purchase_last_price_info/i18n/nl_NL.po create mode 100644 purchase_last_price_info/i18n/pt.po create mode 100644 purchase_last_price_info/i18n/ro.po create mode 100644 purchase_last_price_info/i18n/ru.po create mode 100644 purchase_last_price_info/i18n/sk.po create mode 100644 purchase_last_price_info/i18n/tr.po create mode 100644 purchase_last_price_info/i18n/tr_TR.po create mode 100644 purchase_last_price_info/i18n/vi_VN.po create mode 100644 purchase_last_price_info/i18n/zh_CN.po diff --git a/purchase_last_price_info/i18n/ca.po b/purchase_last_price_info/i18n/ca.po new file mode 100644 index 00000000000..8849bd2509d --- /dev/null +++ b/purchase_last_price_info/i18n/ca.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-14 05:51+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Producte" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/de.po b/purchase_last_price_info/i18n/de.po new file mode 100644 index 00000000000..39f66f8b5d2 --- /dev/null +++ b/purchase_last_price_info/i18n/de.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-15 11:37+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produkt" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/el_GR.po b/purchase_last_price_info/i18n/el_GR.po new file mode 100644 index 00000000000..1bf623455f1 --- /dev/null +++ b/purchase_last_price_info/i18n/el_GR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Greek (Greece) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Προϊόν" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/es_ES.po b/purchase_last_price_info/i18n/es_ES.po new file mode 100644 index 00000000000..7a3cffb4e06 --- /dev/null +++ b/purchase_last_price_info/i18n/es_ES.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-07 05:29+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Spain) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/es_ES/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_ES\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Producto" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/eu.po b/purchase_last_price_info/i18n/eu.po new file mode 100644 index 00000000000..6a5b8411f38 --- /dev/null +++ b/purchase_last_price_info/i18n/eu.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-23 16:23+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Basque (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/eu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produktua" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/fi.po b/purchase_last_price_info/i18n/fi.po new file mode 100644 index 00000000000..f53a69feb38 --- /dev/null +++ b/purchase_last_price_info/i18n/fi.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-15 11:37+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Tuote" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/fr_CH.po b/purchase_last_price_info/i18n/fr_CH.po new file mode 100644 index 00000000000..eacbdc305b2 --- /dev/null +++ b/purchase_last_price_info/i18n/fr_CH.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-29 15:58+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (Switzerland) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/fr_CH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CH\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produit" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/gl.po b/purchase_last_price_info/i18n/gl.po new file mode 100644 index 00000000000..4f52900e3bb --- /dev/null +++ b/purchase_last_price_info/i18n/gl.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Galician (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produto" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/hr.po b/purchase_last_price_info/i18n/hr.po new file mode 100644 index 00000000000..d85ca4e9cd9 --- /dev/null +++ b/purchase_last_price_info/i18n/hr.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-30 13:27+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Proizvod" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/hr_HR.po b/purchase_last_price_info/i18n/hr_HR.po new file mode 100644 index 00000000000..d02cb53864d --- /dev/null +++ b/purchase_last_price_info/i18n/hr_HR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-30 13:27+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Proizvod" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/it.po b/purchase_last_price_info/i18n/it.po new file mode 100644 index 00000000000..5ebf6a44b35 --- /dev/null +++ b/purchase_last_price_info/i18n/it.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-15 11:37+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Prodotto" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/en.po b/purchase_last_price_info/i18n/nl.po similarity index 74% rename from purchase_last_price_info/i18n/en.po rename to purchase_last_price_info/i18n/nl.po index 28a3f7a7904..f5b1f22f1b2 100644 --- a/purchase_last_price_info/i18n/en.po +++ b/purchase_last_price_info/i18n/nl.po @@ -7,35 +7,35 @@ msgid "" msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-14 02:43+0000\n" -"PO-Revision-Date: 2016-05-11 13:28+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: English (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/en/)\n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/nl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: en\n" +"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info #: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view msgid "Last Price Info" -msgstr "Last Price Info" +msgstr "" #. module: purchase_last_price_info #: field:product.product,last_purchase_date:0 msgid "Last Purchase Date" -msgstr "Last Purchase Date" +msgstr "" #. module: purchase_last_price_info #: field:product.product,last_purchase_price:0 msgid "Last Purchase Price" -msgstr "Last Purchase Price" +msgstr "" #. module: purchase_last_price_info #: field:product.product,last_supplier_id:0 msgid "Last Supplier" -msgstr "Last Supplier" +msgstr "" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product @@ -45,4 +45,4 @@ msgstr "Product" #. module: purchase_last_price_info #: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view msgid "Purchase" -msgstr "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/nl_NL.po b/purchase_last_price_info/i18n/nl_NL.po new file mode 100644 index 00000000000..4760e183ddc --- /dev/null +++ b/purchase_last_price_info/i18n/nl_NL.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Product" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/pt.po b/purchase_last_price_info/i18n/pt.po new file mode 100644 index 00000000000..5f3d91d88e3 --- /dev/null +++ b/purchase_last_price_info/i18n/pt.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-17 04:15+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produto" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/ro.po b/purchase_last_price_info/i18n/ro.po new file mode 100644 index 00000000000..b75a7df5e3e --- /dev/null +++ b/purchase_last_price_info/i18n/ro.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/ro/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ro\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produs" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/ru.po b/purchase_last_price_info/i18n/ru.po new file mode 100644 index 00000000000..6ad3d48cd3a --- /dev/null +++ b/purchase_last_price_info/i18n/ru.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 21:46+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Товар/Услуга" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/sk.po b/purchase_last_price_info/i18n/sk.po new file mode 100644 index 00000000000..27b7d706d7f --- /dev/null +++ b/purchase_last_price_info/i18n/sk.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-10-28 01:50+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Slovak (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Produkt" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/tr.po b/purchase_last_price_info/i18n/tr.po new file mode 100644 index 00000000000..5b4c444daa2 --- /dev/null +++ b/purchase_last_price_info/i18n/tr.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-07 05:29+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Ürün" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/tr_TR.po b/purchase_last_price_info/i18n/tr_TR.po new file mode 100644 index 00000000000..a1e4d0545ac --- /dev/null +++ b/purchase_last_price_info/i18n/tr_TR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 06:40+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "Son fiyat bilgisi" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Ürün" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/vi_VN.po b/purchase_last_price_info/i18n/vi_VN.po new file mode 100644 index 00000000000..026452e2d0f --- /dev/null +++ b/purchase_last_price_info/i18n/vi_VN.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Vietnamese (Viet Nam) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/vi_VN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi_VN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "Sản phẩm" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" diff --git a/purchase_last_price_info/i18n/zh_CN.po b/purchase_last_price_info/i18n/zh_CN.po new file mode 100644 index 00000000000..8af8db5a052 --- /dev/null +++ b/purchase_last_price_info/i18n/zh_CN.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_last_price_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: purchase-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-04 05:41+0000\n" +"PO-Revision-Date: 2016-03-08 10:16+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-purchase-workflow-8-0/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Last Price Info" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_date:0 +msgid "Last Purchase Date" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_purchase_price:0 +msgid "Last Purchase Price" +msgstr "" + +#. module: purchase_last_price_info +#: field:product.product,last_supplier_id:0 +msgid "Last Supplier" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" +msgstr "产品" + +#. module: purchase_last_price_info +#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view +msgid "Purchase" +msgstr "" From 8017bf550bc0e62f55def14f4c29f3fe1cfd95c2 Mon Sep 17 00:00:00 2001 From: celm1990 Date: Fri, 13 Apr 2018 10:47:17 -0500 Subject: [PATCH 04/57] [MIG] purchase_last_price_info: Migration to 11.0 --- purchase_last_price_info/README.rst | 20 ++++++--- purchase_last_price_info/__init__.py | 4 -- purchase_last_price_info/__manifest__.py | 27 +++++++++++ purchase_last_price_info/__openerp__.py | 41 ----------------- purchase_last_price_info/models/__init__.py | 4 -- purchase_last_price_info/models/product.py | 36 +++++++-------- purchase_last_price_info/tests/__init__.py | 4 -- .../tests/test_purchase_last_price_info.py | 24 +++++----- .../views/product_view.xml | 45 +++++++------------ 9 files changed, 87 insertions(+), 118 deletions(-) create mode 100644 purchase_last_price_info/__manifest__.py delete mode 100644 purchase_last_price_info/__openerp__.py diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index dec690a429e..a19876d123b 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -1,18 +1,22 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 Product Last Price Info - Purchase ================================== This module adds the last purchase info of the product. - Usage ===== +To use this module, you need to: + +#. Go to ... + .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/142/8.0 + :target: https://runbot.odoo-community.org/runbot/142/11.0 For further information, please visit: @@ -25,18 +29,24 @@ 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 -`here `_. +`here `_. Credits ======= +Images +------ + +* Odoo Community Association: `Icon `_. + Contributors ------------ * Alfredo de la Fuente * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi +* Carlos Lopez Mite Maintainer ---------- diff --git a/purchase_last_price_info/__init__.py b/purchase_last_price_info/__init__.py index 054c8853d83..a9e3372262c 100644 --- a/purchase_last_price_info/__init__.py +++ b/purchase_last_price_info/__init__.py @@ -1,6 +1,2 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## from . import models diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py new file mode 100644 index 00000000000..a93b4fbf0a8 --- /dev/null +++ b/purchase_last_price_info/__manifest__.py @@ -0,0 +1,27 @@ + +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + "name": "Product Last Price Info - Purchase", + "version": "11.0.1.0.0", + "category": "Purchase Management", + "license": "AGPL-3", + "author": "OdooMRP team, " + "AvanzOSC, " + "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/purchase-workflow", + "contributors": [ + "Oihane Crucelaegui ", + "Pedro M. Baeza ", + "Ana Juaristi ", + "Carlos Lopez Mite ", + ], + "depends": [ + "purchase", + ], + "data": [ + "views/product_view.xml", + ], + "installable": True, +} diff --git a/purchase_last_price_info/__openerp__.py b/purchase_last_price_info/__openerp__.py deleted file mode 100644 index 6811f6ce730..00000000000 --- a/purchase_last_price_info/__openerp__.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -############################################################################## - -{ - "name": "Product Last Price Info - Purchase", - "version": "8.0.1.0.0", - "category": "Purchase Management", - "license": "AGPL-3", - "author": "OdooMRP team, " - "AvanzOSC, " - "Serv. Tecnol. Avanzados - Pedro M. Baeza, " - "Odoo Community Association (OCA)", - "website": "http://www.odoomrp.com", - "contributors": [ - "Oihane Crucelaegui ", - "Pedro M. Baeza ", - "Ana Juaristi ", - ], - "depends": [ - "purchase", - ], - "data": [ - "views/product_view.xml", - ], - "installable": True, -} diff --git a/purchase_last_price_info/models/__init__.py b/purchase_last_price_info/models/__init__.py index ce547240948..b104d49e909 100644 --- a/purchase_last_price_info/models/__init__.py +++ b/purchase_last_price_info/models/__init__.py @@ -1,6 +1,2 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## from . import product diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py index 844b3203e16..f3ee23ee48c 100644 --- a/purchase_last_price_info/models/product.py +++ b/purchase_last_price_info/models/product.py @@ -1,29 +1,27 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## -from openerp import api, fields, models +from odoo import api, fields, models class ProductProduct(models.Model): _inherit = 'product.product' - @api.one - def _get_last_purchase(self): - """ Get last purchase price, last purchase date and last supplier """ - lines = self.env['purchase.order.line'].search( - [('product_id', '=', self.id), - ('state', 'in', ['confirmed', 'done'])]).sorted( - key=lambda l: l.order_id.date_order, reverse=True) - self.last_purchase_date = lines[:1].order_id.date_order - self.last_purchase_price = lines[:1].price_unit - self.last_supplier_id = lines[:1].order_id.partner_id - last_purchase_price = fields.Float( - string='Last Purchase Price', compute='_get_last_purchase') + string='Last Purchase Price', compute='_compute_last_purchase') last_purchase_date = fields.Date( - string='Last Purchase Date', compute='_get_last_purchase') + string='Last Purchase Date', compute='_compute_last_purchase') last_supplier_id = fields.Many2one( comodel_name='res.partner', string='Last Supplier', - compute='_get_last_purchase') + compute='_compute_last_purchase') + + @api.multi + def _compute_last_purchase(self): + """ Get last purchase price, last purchase date and last supplier """ + PurchaseOrderLine = self.env['purchase.order.line'] + for product in self: + lines = PurchaseOrderLine.search( + [('product_id', '=', product.id), + ('state', 'in', ['purchase', 'done'])]).sorted( + key=lambda l: l.order_id.date_order, reverse=True) + product.last_purchase_date = lines[:1].order_id.date_order + product.last_purchase_price = lines[:1].price_unit + product.last_supplier_id = lines[:1].order_id.partner_id diff --git a/purchase_last_price_info/tests/__init__.py b/purchase_last_price_info/tests/__init__.py index 75483e1c0ae..3bb1a32aa31 100644 --- a/purchase_last_price_info/tests/__init__.py +++ b/purchase_last_price_info/tests/__init__.py @@ -1,6 +1,2 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## from . import test_purchase_last_price_info diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py index 36e4a3c37af..a081f4697ac 100644 --- a/purchase_last_price_info/tests/test_purchase_last_price_info.py +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -1,10 +1,6 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# For copyright and license notices, see __openerp__.py file in root directory -############################################################################## -import openerp.tests.common as common -from openerp import fields +import odoo.tests.common as common +from odoo import fields class TestPurchaseLastPriceInfo(common.TransactionCase): @@ -13,15 +9,16 @@ def setUp(self): super(TestPurchaseLastPriceInfo, self).setUp() self.purchase_model = self.env['purchase.order'] self.purchase_line_model = self.env['purchase.order.line'] - self.product = self.env.ref('product.product_product_31') + self.product = self.env.ref('product.consu_delivery_01') self.partner = self.env.ref('base.res_partner_1') - self.location = self.env.ref('stock.stock_location_suppliers') - self.pricelist = self.env.ref('purchase.list0') + self.picking_type = self.env.ref('stock.picking_type_in') def test_purchase_last_price_info_demo(self): + purchase_order = self.env.ref('purchase.purchase_order_6') + purchase_order.button_confirm() purchase_lines = self.purchase_line_model.search( [('product_id', '=', self.product.id), - ('state', 'in', ['confirmed', 'done'])]).sorted( + ('state', 'in', ['purchase', 'done'])]).sorted( key=lambda l: l.order_id.date_order, reverse=True) self.assertEqual( fields.Datetime.from_string( @@ -37,16 +34,17 @@ def test_purchase_last_price_info_demo(self): def test_purchase_last_price_info_new_order(self): purchase_order = self.purchase_model.create({ 'partner_id': self.partner.id, - 'location_id': self.location.id, - 'pricelist_id': self.pricelist.id, + 'picking_type_id': self.picking_type.id, 'order_line': [(0, 0, { 'product_id': self.product.id, + 'product_uom': self.product.uom_id.id, 'price_unit': self.product.standard_price, 'name': self.product.name, 'date_planned': fields.Datetime.now(), + 'product_qty': 1, })] }) - purchase_order.wkf_confirm_order() + purchase_order.button_confirm() self.assertEqual( fields.Datetime.from_string( purchase_order.date_order).date(), diff --git a/purchase_last_price_info/views/product_view.xml b/purchase_last_price_info/views/product_view.xml index 16d699f569e..bb01fad53dd 100644 --- a/purchase_last_price_info/views/product_view.xml +++ b/purchase_last_price_info/views/product_view.xml @@ -1,31 +1,20 @@ - - - - product.last.info.page.form - product.product - - - - - - - + - - product.last.purchase.info.form - product.product - - - - - - - - - - - + + product.last.purchase.info.form + product.product + + + + + + + + + + + + - - + From 812d8fa83feb35528d39cbe2382dab18a99edec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Gil=20Sorribes?= Date: Tue, 2 Jul 2019 09:21:32 +0200 Subject: [PATCH 05/57] [IMP] add fields to product template form view and update readme [ADD] post-init hook [ADD] migration script --- purchase_last_price_info/README.rst | 77 +++- purchase_last_price_info/__init__.py | 2 +- purchase_last_price_info/__manifest__.py | 4 +- purchase_last_price_info/hooks.py | 15 + .../migrations/11.0.1.0.0/post-migration.py | 10 + purchase_last_price_info/models/__init__.py | 2 +- purchase_last_price_info/models/product.py | 68 ++- purchase_last_price_info/models/purchase.py | 22 + .../readme/CONTRIBUTORS.rst | 6 + .../readme/DESCRIPTION.rst | 1 + purchase_last_price_info/readme/USAGE.rst | 7 + .../static/description/index.html | 435 ++++++++++++++++++ .../description/purchase_last_price.png | Bin 0 -> 36874 bytes .../views/product_view.xml | 20 - .../views/product_views.xml | 59 +++ 15 files changed, 668 insertions(+), 60 deletions(-) create mode 100644 purchase_last_price_info/hooks.py create mode 100644 purchase_last_price_info/migrations/11.0.1.0.0/post-migration.py create mode 100644 purchase_last_price_info/models/purchase.py create mode 100644 purchase_last_price_info/readme/CONTRIBUTORS.rst create mode 100644 purchase_last_price_info/readme/DESCRIPTION.rst create mode 100644 purchase_last_price_info/readme/USAGE.rst create mode 100644 purchase_last_price_info/static/description/index.html create mode 100644 purchase_last_price_info/static/description/purchase_last_price.png delete mode 100644 purchase_last_price_info/views/product_view.xml create mode 100644 purchase_last_price_info/views/product_views.xml diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index a19876d123b..9d0b4c30b13 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -1,64 +1,91 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - +================================== Product Last Price Info - Purchase ================================== -This module adds the last purchase info of the product. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/purchase-workflow/tree/11.0/purchase_last_price_info + :alt: OCA/purchase-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/purchase-workflow-11-0/purchase-workflow-11-0-purchase_last_price_info + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/142/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| -Usage -===== +This module adds the last purchase info of the product. -To use this module, you need to: +**Table of contents** -#. Go to ... +.. contents:: + :local: -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/142/11.0 +Usage +===== -For further information, please visit: +In order to use this module, go to: -* https://www.odoo.com/forum/help-1 +* Products -> Tab Purchase (see screenshot) +.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/11.0/purchase_last_price_info/static/description/purchase_last_price.png + :alt: Purchase Last Price Info + :width: 400 px 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 -`here `_. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* OdooMRP team +* AvanzOSC +* Serv. Tecnol. Avanzados - Pedro M. Baeza Contributors ------------- +~~~~~~~~~~~~ + * Alfredo de la Fuente * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi * Carlos Lopez Mite +* Adria Gil Sorribes -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit http://odoo-community.org. +This module is part of the `OCA/purchase-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/purchase_last_price_info/__init__.py b/purchase_last_price_info/__init__.py index a9e3372262c..da90975ddf3 100644 --- a/purchase_last_price_info/__init__.py +++ b/purchase_last_price_info/__init__.py @@ -1,2 +1,2 @@ - from . import models +from .hooks import set_last_price_info diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py index a93b4fbf0a8..70acb6fdc9f 100644 --- a/purchase_last_price_info/__manifest__.py +++ b/purchase_last_price_info/__manifest__.py @@ -16,12 +16,14 @@ "Pedro M. Baeza ", "Ana Juaristi ", "Carlos Lopez Mite ", + "Adria Gil Sorribes ", ], "depends": [ "purchase", ], "data": [ - "views/product_view.xml", + "views/product_views.xml", ], "installable": True, + "post_init_hook": "set_last_price_info", } diff --git a/purchase_last_price_info/hooks.py b/purchase_last_price_info/hooks.py new file mode 100644 index 00000000000..ddff29e0103 --- /dev/null +++ b/purchase_last_price_info/hooks.py @@ -0,0 +1,15 @@ +# Copyright 2019 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, SUPERUSER_ID + + +def set_last_price_info(cr, registry): + """ + This post-init-hook will update last price information for all products + """ + env = api.Environment(cr, SUPERUSER_ID, dict()) + product_obj = env['product.product'] + products = product_obj.search([('purchase_ok', '=', True)]) + products.set_product_last_purchase() diff --git a/purchase_last_price_info/migrations/11.0.1.0.0/post-migration.py b/purchase_last_price_info/migrations/11.0.1.0.0/post-migration.py new file mode 100644 index 00000000000..90d0b0c1cc3 --- /dev/null +++ b/purchase_last_price_info/migrations/11.0.1.0.0/post-migration.py @@ -0,0 +1,10 @@ +# Copyright 2019 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from openupgradelib import openupgrade +from odoo.addons.purchase_last_price_info import set_last_price_info + + +@openupgrade.migrate() +def migrate(env, version): + set_last_price_info(env.cr, env.registry) diff --git a/purchase_last_price_info/models/__init__.py b/purchase_last_price_info/models/__init__.py index b104d49e909..695882d3557 100644 --- a/purchase_last_price_info/models/__init__.py +++ b/purchase_last_price_info/models/__init__.py @@ -1,2 +1,2 @@ - from . import product +from . import purchase diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py index f3ee23ee48c..664a95c876e 100644 --- a/purchase_last_price_info/models/product.py +++ b/purchase_last_price_info/models/product.py @@ -6,22 +6,66 @@ class ProductProduct(models.Model): _inherit = 'product.product' last_purchase_price = fields.Float( - string='Last Purchase Price', compute='_compute_last_purchase') + string='Last Purchase Price') last_purchase_date = fields.Date( - string='Last Purchase Date', compute='_compute_last_purchase') + string='Last Purchase Date') last_supplier_id = fields.Many2one( - comodel_name='res.partner', string='Last Supplier', - compute='_compute_last_purchase') + comodel_name='res.partner', string='Last Supplier') @api.multi - def _compute_last_purchase(self): + def set_product_last_purchase(self, order_id=False): """ Get last purchase price, last purchase date and last supplier """ PurchaseOrderLine = self.env['purchase.order.line'] + if not self.check_access_rights('write', raise_exception=False): + return for product in self: - lines = PurchaseOrderLine.search( - [('product_id', '=', product.id), - ('state', 'in', ['purchase', 'done'])]).sorted( - key=lambda l: l.order_id.date_order, reverse=True) - product.last_purchase_date = lines[:1].order_id.date_order - product.last_purchase_price = lines[:1].price_unit - product.last_supplier_id = lines[:1].order_id.partner_id + date_order = False + price_unit_uom = 0.0 + last_supplier = False + + # Check if Order ID was passed, to speed up the search + if order_id: + lines = PurchaseOrderLine.search([ + ('order_id', '=', order_id), + ('product_id', '=', product.id)], limit=1) + else: + lines = PurchaseOrderLine.search( + [('product_id', '=', product.id), + ('state', 'in', ['purchase', 'done'])]).sorted( + key=lambda l: l.order_id.date_order, reverse=True) + + if lines: + # Get most recent Purchase Order Line + last_line = lines[:1] + + date_order = last_line.order_id.date_order + # Compute Price Unit in the Product base UoM + price_unit_uom = product.product_tmpl_id.uom_id.\ + _compute_quantity(last_line.price_unit, + last_line.product_uom) + last_supplier = last_line.order_id.partner_id + + # Assign values to record + product.last_purchase_date = date_order + product.last_purchase_price = price_unit_uom + product.last_supplier_id = last_supplier + # Set related product template values + product.product_tmpl_id.set_product_template_last_purchase( + date_order, price_unit_uom, last_supplier) + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + last_purchase_price = fields.Float( + string='Last Purchase Price') + last_purchase_date = fields.Date( + string='Last Purchase Date') + last_supplier_id = fields.Many2one( + comodel_name='res.partner', string='Last Supplier') + + def set_product_template_last_purchase(self, date_order, price_unit, + partner_id): + self.last_purchase_date = date_order + self.last_purchase_price = price_unit + self.last_supplier_id = partner_id diff --git a/purchase_last_price_info/models/purchase.py b/purchase_last_price_info/models/purchase.py new file mode 100644 index 00000000000..959d719a9ac --- /dev/null +++ b/purchase_last_price_info/models/purchase.py @@ -0,0 +1,22 @@ +# Copyright 2019 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) + +from odoo import api, models + + +class PurchaseOrder(models.Model): + _inherit = "purchase.order" + + @api.multi + def button_approve(self, force=False): + res = super(PurchaseOrder, self).button_approve(force) + for rec in self: + rec.order_line.mapped('product_id').set_product_last_purchase( + rec.id) + return res + + @api.multi + def button_cancel(self): + super(PurchaseOrder, self).button_cancel() + for rec in self: + rec.order_line.mapped('product_id').set_product_last_purchase() diff --git a/purchase_last_price_info/readme/CONTRIBUTORS.rst b/purchase_last_price_info/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..6c398f2b14c --- /dev/null +++ b/purchase_last_price_info/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Alfredo de la Fuente +* Oihane Crucelaegui +* Pedro M. Baeza +* Ana Juaristi +* Carlos Lopez Mite +* Adria Gil Sorribes diff --git a/purchase_last_price_info/readme/DESCRIPTION.rst b/purchase_last_price_info/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..466855488d6 --- /dev/null +++ b/purchase_last_price_info/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds the last purchase info of the product. diff --git a/purchase_last_price_info/readme/USAGE.rst b/purchase_last_price_info/readme/USAGE.rst new file mode 100644 index 00000000000..2e11ff3a63a --- /dev/null +++ b/purchase_last_price_info/readme/USAGE.rst @@ -0,0 +1,7 @@ +In order to use this module, go to: + +* Products -> Tab Purchase (see screenshot) + +.. image:: ../static/description/purchase_last_price.png + :alt: Purchase Last Price Info + :width: 400 px diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html new file mode 100644 index 00000000000..8a965d4586e --- /dev/null +++ b/purchase_last_price_info/static/description/index.html @@ -0,0 +1,435 @@ + + + + + + +Product Last Price Info - Purchase + + + +
+

Product Last Price Info - Purchase

+ + +

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

+

This module adds the last purchase info of the product.

+

Table of contents

+ +
+

Usage

+

In order to use this module, go to:

+
    +
  • Products -> Tab Purchase (see screenshot)
  • +
+Purchase Last Price Info +
+
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • OdooMRP team
  • +
  • AvanzOSC
  • +
  • Serv. Tecnol. Avanzados - Pedro M. Baeza
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/purchase-workflow project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/purchase_last_price_info/static/description/purchase_last_price.png b/purchase_last_price_info/static/description/purchase_last_price.png new file mode 100644 index 0000000000000000000000000000000000000000..0a0e6e28cc50de037370c837b8fcc6acd62ba4dc GIT binary patch literal 36874 zcmZ_0WmsHG6D^Dc2m}eiJp>3E+%>`7gS)#7?gV#&26qV%+}(o91RdO626wwV=bZP) zcc1V67?|nl-Me>nb#+y(RTHi#FM)@stf}IuLA=E$M_l%Xeo0?ZUO!w zJ4k9e!N8#Z{`-PWqDLnJ8j+l(x!&DA6Kj@j7gRryj-z#4wltDkDpzj8zw`lpQI2+K;U z`zZQ6f8kqOPbt%Xs@L-s_k3@q)bmB_Th3dFw^k^yV$84Jk&D6wEqzRAetb@m`IwM8 zM49?Ms4aWzn_4njrbZb zH{{_g=zpJubxJAM-u>G<%W8#zJoTuS;IKWEa(c@0Ug482=fVJZSIZI|t-{ z--~j^`OEx!L-LmJS33XQd_wO3F|><1y#qHfH*t)^rC6Ovu40ZNjb{tdf0KCY!n+1S z(uDfUz*Rywnf}Cg{X2BnN~H?y55A_F#pAhSR~ydsU328No&gdI+9c^jX)3y;;fvab zrhliOcXM$0`UhWEjaE537ngDEe3e#tR*sBwCf}TL+00K>I(9-dtNIIil@e8fCBFY2 z!i$&K!6VjAvs`V|j4coe0~*tTOlA(w603ydtCg810@LU*S?%x=#OU%lsG_6 z6Ax9j+)pqWBl{+|<-`7HFyN*((EcN1QL@QG{}HoVsV)~xO$J-IO{O3axzSZ1w4=0L3>{>+< z7xV1X^|x3LqbDgyBy52odwQy)Z$!4>V74CjsHNYo%XP{gIWX4=JgKf3`=j+fGQqKA zHa&aYX8$Fjm64yMhblCjXQ~T?*Dd<;deYqqPOXhYPfXR9ctnmbQyd!&<{Gso-Zu^V zwo@tv<@1Zr9)cg4KIODBMZbNTt$y0_b4U)Un9Ywd7;P*D`3z!|ZEscH2EjkC==;6v z*9A|x5zuJ9V9a)&vh=o*^(^nUJETml>~52pjEWeC9bQ)Z%0m&F@q}kbe=J^C#Zq=~ z9fF(%mPsazDc25|uDyF!*aS~V=(qH}pr+G_r2BDig)a$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|7!%FHK&>00~)d;F-MG%2G9NA|fc0+oanDcU0``su=iBUeG%<5+4ysLasE$L zTkR_d%xE>nah1b9?)~*0zKS^sOGvF$?OKs)c zn1cADjvUnIQ}NUK-$k7k=frnTv}?@|2m6|P_1>sI@}SOppwvHAS=x~&@0E?6@uxLR$GcoKN}%PEc-_=Yg;mlhgJy$ z`hWd8RpMs*y{%(U{_}4S^RMpZ*VHPfc;B^T4kO0jT4{L8Q{9L516J9 z07LbE;%ywneqCaugbiqB4{guxVJHp2WCiz5k)qmnw6uVlRW61C`1>DE@yTzVzWaA? z`Hzx1G0laAz%e?JUHXdZ#k6OD%GK=Im+nvlJwpI`sU}zP I!tC9D10DwU4gdfE literal 0 HcmV?d00001 diff --git a/purchase_last_price_info/views/product_view.xml b/purchase_last_price_info/views/product_view.xml deleted file mode 100644 index bb01fad53dd..00000000000 --- a/purchase_last_price_info/views/product_view.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - product.last.purchase.info.form - product.product - - - - - - - - - - - - - - diff --git a/purchase_last_price_info/views/product_views.xml b/purchase_last_price_info/views/product_views.xml new file mode 100644 index 00000000000..1d5500ceed6 --- /dev/null +++ b/purchase_last_price_info/views/product_views.xml @@ -0,0 +1,59 @@ + + + + + product.product.last.purchase.info.form + product.product + + + + + + + + + + + + + + product.template.form.last.purchase.info + product.template + + + + + + + + + + + + + + + product.product.tree + product.product + + + + + + + + + + product.template.product.tree + product.template + + + + + + + + + From a60d9825bdc161c91de78114e7b309cf5491eb8c Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 28 Aug 2019 15:44:46 +0000 Subject: [PATCH 06/57] [UPD] Update purchase_last_price_info.pot --- .../i18n/purchase_last_price_info.pot | 37 +++++++++++-------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/purchase_last_price_info/i18n/purchase_last_price_info.pot b/purchase_last_price_info/i18n/purchase_last_price_info.pot index efbc18f7466..c9569a6479c 100644 --- a/purchase_last_price_info/i18n/purchase_last_price_info.pot +++ b/purchase_last_price_info/i18n/purchase_last_price_info.pot @@ -4,10 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-06-19 12:16+0000\n" -"PO-Revision-Date: 2015-06-19 12:16+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,32 +14,41 @@ msgstr "" "Plural-Forms: \n" #. module: purchase_last_price_info -#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view -msgid "Last Price Info" +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model,name:purchase_last_price_info.model_product_product -msgid "Product" +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: view:product.product:purchase_last_price_info.product_last_purchase_info_form_view -msgid "Purchase" +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +msgid "Last Supplier" msgstr "" #. module: purchase_last_price_info -#: field:product.product,last_supplier:0 -msgid "Last Supplier" +#: model:ir.model,name:purchase_last_price_info.model_product_product +msgid "Product" msgstr "" #. module: purchase_last_price_info -#: field:product.product,last_purchase_price:0 -msgid "Last Purchase Price" +#: model:ir.model,name:purchase_last_price_info.model_product_template +msgid "Product Template" msgstr "" #. module: purchase_last_price_info -#: field:product.product,last_purchase_date:0 -msgid "Last Purchase Date" +#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +msgid "Purchase" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model,name:purchase_last_price_info.model_purchase_order +msgid "Purchase Order" msgstr "" From 684110d32ae7f5465b664541cdef49a609346a11 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 28 Aug 2019 16:24:06 +0000 Subject: [PATCH 07/57] [UPD] README.rst --- purchase_last_price_info/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 8a965d4586e..601ee7ed807 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -3,7 +3,7 @@ - + Product Last Price Info - Purchase -

-

Product Last Price Info - Purchase

+
+

Purchase Product Last Price Info

-

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

This module adds the last purchase info of the product.

Table of contents

@@ -388,14 +388,14 @@

Usage

  • Products -> Tab Purchase (see screenshot)
-Purchase Last Price Info +Purchase Last Price Info

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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -405,7 +405,7 @@

Authors

  • OdooMRP team
  • AvanzOSC
  • -
  • Serv. Tecnol. Avanzados - Pedro M. Baeza
  • +
  • Tecnativa - Pedro M. Baeza
@@ -413,10 +413,11 @@

Contributors

@@ -426,7 +427,9 @@

Maintainers

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/purchase-workflow project on GitHub.

+

Current maintainer:

+

lreficent

+

This module is part of the OCA/purchase-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/purchase_last_price_info/tests/__init__.py b/purchase_last_price_info/tests/__init__.py index 3bb1a32aa31..daa11570fb9 100644 --- a/purchase_last_price_info/tests/__init__.py +++ b/purchase_last_price_info/tests/__init__.py @@ -1,2 +1 @@ - from . import test_purchase_last_price_info diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py index a081f4697ac..43f8b8a0be9 100644 --- a/purchase_last_price_info/tests/test_purchase_last_price_info.py +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -1,3 +1,6 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2019 Eficent Business and IT Consulting Services S.L. +# (http://www.eficent.com) import odoo.tests.common as common from odoo import fields From 76d2e89bca523f0c52954159ae5ce91de239ef02 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 25 Sep 2019 08:26:32 +0000 Subject: [PATCH 11/57] [UPD] Update purchase_last_price_info.pot --- .../i18n/purchase_last_price_info.pot | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/purchase_last_price_info/i18n/purchase_last_price_info.pot b/purchase_last_price_info/i18n/purchase_last_price_info.pot index c9569a6479c..aea7ada9818 100644 --- a/purchase_last_price_info/i18n/purchase_last_price_info.pot +++ b/purchase_last_price_info/i18n/purchase_last_price_info.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,20 +14,20 @@ msgstr "" "Plural-Forms: \n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -42,8 +42,8 @@ msgid "Product Template" msgstr "" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" From 99938b2d5cfed8770fe9b09df5cfa784242be9e2 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Wed, 25 Sep 2019 22:17:23 +0000 Subject: [PATCH 12/57] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/ --- purchase_last_price_info/i18n/ca.po | 16 ++++++++-------- purchase_last_price_info/i18n/de.po | 16 ++++++++-------- purchase_last_price_info/i18n/el_GR.po | 16 ++++++++-------- purchase_last_price_info/i18n/es.po | 16 ++++++++-------- purchase_last_price_info/i18n/es_ES.po | 16 ++++++++-------- purchase_last_price_info/i18n/eu.po | 16 ++++++++-------- purchase_last_price_info/i18n/fi.po | 16 ++++++++-------- purchase_last_price_info/i18n/fr.po | 16 ++++++++-------- purchase_last_price_info/i18n/fr_CH.po | 16 ++++++++-------- purchase_last_price_info/i18n/fr_FR.po | 16 ++++++++-------- purchase_last_price_info/i18n/gl.po | 16 ++++++++-------- purchase_last_price_info/i18n/hr.po | 16 ++++++++-------- purchase_last_price_info/i18n/hr_HR.po | 16 ++++++++-------- purchase_last_price_info/i18n/it.po | 16 ++++++++-------- purchase_last_price_info/i18n/nl.po | 16 ++++++++-------- purchase_last_price_info/i18n/nl_NL.po | 16 ++++++++-------- purchase_last_price_info/i18n/pt.po | 16 ++++++++-------- purchase_last_price_info/i18n/pt_BR.po | 16 ++++++++-------- purchase_last_price_info/i18n/ro.po | 16 ++++++++-------- purchase_last_price_info/i18n/ru.po | 16 ++++++++-------- purchase_last_price_info/i18n/sk.po | 16 ++++++++-------- purchase_last_price_info/i18n/sl.po | 16 ++++++++-------- purchase_last_price_info/i18n/tr.po | 16 ++++++++-------- purchase_last_price_info/i18n/tr_TR.po | 16 ++++++++-------- purchase_last_price_info/i18n/vi_VN.po | 16 ++++++++-------- purchase_last_price_info/i18n/zh_CN.po | 16 ++++++++-------- 26 files changed, 208 insertions(+), 208 deletions(-) diff --git a/purchase_last_price_info/i18n/ca.po b/purchase_last_price_info/i18n/ca.po index 4bee0481fd3..23c88644c4f 100644 --- a/purchase_last_price_info/i18n/ca.po +++ b/purchase_last_price_info/i18n/ca.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Producte" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/de.po b/purchase_last_price_info/i18n/de.po index c415e7e384c..51627e5be03 100644 --- a/purchase_last_price_info/i18n/de.po +++ b/purchase_last_price_info/i18n/de.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produkt" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/el_GR.po b/purchase_last_price_info/i18n/el_GR.po index 6a82cf49e27..cf1b81b02f6 100644 --- a/purchase_last_price_info/i18n/el_GR.po +++ b/purchase_last_price_info/i18n/el_GR.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Προϊόν" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/es.po b/purchase_last_price_info/i18n/es.po index 171f7eca988..a9eee74a672 100644 --- a/purchase_last_price_info/i18n/es.po +++ b/purchase_last_price_info/i18n/es.po @@ -19,22 +19,22 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date #, fuzzy #| msgid "Purchase" msgid "Last Purchase Date" msgstr "Compra" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -51,8 +51,8 @@ msgid "Product Template" msgstr "Producto" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "Compra" diff --git a/purchase_last_price_info/i18n/es_ES.po b/purchase_last_price_info/i18n/es_ES.po index 1ae3405c5f5..15140ec69df 100644 --- a/purchase_last_price_info/i18n/es_ES.po +++ b/purchase_last_price_info/i18n/es_ES.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Producto" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/eu.po b/purchase_last_price_info/i18n/eu.po index 29b4cf57a69..bd81749664e 100644 --- a/purchase_last_price_info/i18n/eu.po +++ b/purchase_last_price_info/i18n/eu.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produktua" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/fi.po b/purchase_last_price_info/i18n/fi.po index f240944a504..f8380218987 100644 --- a/purchase_last_price_info/i18n/fi.po +++ b/purchase_last_price_info/i18n/fi.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Tuote" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/fr.po b/purchase_last_price_info/i18n/fr.po index 74656513764..d26c36bcb9e 100644 --- a/purchase_last_price_info/i18n/fr.po +++ b/purchase_last_price_info/i18n/fr.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produit" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/fr_CH.po b/purchase_last_price_info/i18n/fr_CH.po index be875ce5f82..0b99c8d511f 100644 --- a/purchase_last_price_info/i18n/fr_CH.po +++ b/purchase_last_price_info/i18n/fr_CH.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produit" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/fr_FR.po b/purchase_last_price_info/i18n/fr_FR.po index 4fb5bbb5eac..28deb9d52f8 100644 --- a/purchase_last_price_info/i18n/fr_FR.po +++ b/purchase_last_price_info/i18n/fr_FR.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produit" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/gl.po b/purchase_last_price_info/i18n/gl.po index e74662e1448..09b18020045 100644 --- a/purchase_last_price_info/i18n/gl.po +++ b/purchase_last_price_info/i18n/gl.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produto" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/hr.po b/purchase_last_price_info/i18n/hr.po index 0e9226c2a37..2c091e31ada 100644 --- a/purchase_last_price_info/i18n/hr.po +++ b/purchase_last_price_info/i18n/hr.po @@ -20,20 +20,20 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -50,8 +50,8 @@ msgid "Product Template" msgstr "Proizvod" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/hr_HR.po b/purchase_last_price_info/i18n/hr_HR.po index 7b3d0aac92e..8a14d5bb6c8 100644 --- a/purchase_last_price_info/i18n/hr_HR.po +++ b/purchase_last_price_info/i18n/hr_HR.po @@ -20,20 +20,20 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -50,8 +50,8 @@ msgid "Product Template" msgstr "Proizvod" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/it.po b/purchase_last_price_info/i18n/it.po index f7db892e0c9..42383ec7635 100644 --- a/purchase_last_price_info/i18n/it.po +++ b/purchase_last_price_info/i18n/it.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Prodotto" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/nl.po b/purchase_last_price_info/i18n/nl.po index cf969e37c63..35d7e6b50f5 100644 --- a/purchase_last_price_info/i18n/nl.po +++ b/purchase_last_price_info/i18n/nl.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Product" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/nl_NL.po b/purchase_last_price_info/i18n/nl_NL.po index 589e5438a99..6334df3232e 100644 --- a/purchase_last_price_info/i18n/nl_NL.po +++ b/purchase_last_price_info/i18n/nl_NL.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Product" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/pt.po b/purchase_last_price_info/i18n/pt.po index 9b3dab6dec7..72757126a7a 100644 --- a/purchase_last_price_info/i18n/pt.po +++ b/purchase_last_price_info/i18n/pt.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produto" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/pt_BR.po b/purchase_last_price_info/i18n/pt_BR.po index 06cc20e2922..eae98e07354 100644 --- a/purchase_last_price_info/i18n/pt_BR.po +++ b/purchase_last_price_info/i18n/pt_BR.po @@ -20,20 +20,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "Última Data de Compra" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "Último Preço de Compra" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "Último Fornecedor" @@ -50,8 +50,8 @@ msgid "Product Template" msgstr "Produto" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "Compra" diff --git a/purchase_last_price_info/i18n/ro.po b/purchase_last_price_info/i18n/ro.po index 2aff604bfb5..4f2fed06f55 100644 --- a/purchase_last_price_info/i18n/ro.po +++ b/purchase_last_price_info/i18n/ro.po @@ -20,20 +20,20 @@ msgstr "" "2:1));\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -50,8 +50,8 @@ msgid "Product Template" msgstr "Produs" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/ru.po b/purchase_last_price_info/i18n/ru.po index 2c810822de3..821bf9d45e2 100644 --- a/purchase_last_price_info/i18n/ru.po +++ b/purchase_last_price_info/i18n/ru.po @@ -21,20 +21,20 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -51,8 +51,8 @@ msgid "Product Template" msgstr "Товар/Услуга" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/sk.po b/purchase_last_price_info/i18n/sk.po index 22a8357cc08..9eb4ee1f331 100644 --- a/purchase_last_price_info/i18n/sk.po +++ b/purchase_last_price_info/i18n/sk.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Produkt" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/sl.po b/purchase_last_price_info/i18n/sl.po index 6fab399c6fa..51243cdbebf 100644 --- a/purchase_last_price_info/i18n/sl.po +++ b/purchase_last_price_info/i18n/sl.po @@ -30,20 +30,20 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "Datum zadnje nabave" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "Cena zadnje nabave" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "Zadnji dobavitelj" @@ -60,8 +60,8 @@ msgid "Product Template" msgstr "Proizvod" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "Nabava" diff --git a/purchase_last_price_info/i18n/tr.po b/purchase_last_price_info/i18n/tr.po index ab1ba5b6c1e..fe914005eed 100644 --- a/purchase_last_price_info/i18n/tr.po +++ b/purchase_last_price_info/i18n/tr.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Ürün" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/tr_TR.po b/purchase_last_price_info/i18n/tr_TR.po index 3275f239adc..5c363d42f68 100644 --- a/purchase_last_price_info/i18n/tr_TR.po +++ b/purchase_last_price_info/i18n/tr_TR.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Ürün" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/vi_VN.po b/purchase_last_price_info/i18n/vi_VN.po index 0b7207dbb53..a7267cc184b 100644 --- a/purchase_last_price_info/i18n/vi_VN.po +++ b/purchase_last_price_info/i18n/vi_VN.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "Sản phẩm" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" diff --git a/purchase_last_price_info/i18n/zh_CN.po b/purchase_last_price_info/i18n/zh_CN.po index 81e6fe8a535..87299fe9852 100644 --- a/purchase_last_price_info/i18n/zh_CN.po +++ b/purchase_last_price_info/i18n/zh_CN.po @@ -19,20 +19,20 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_date -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_purchase_price -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" msgstr "" #. module: purchase_last_price_info -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product_last_supplier_id -#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template_last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" msgstr "" @@ -49,8 +49,8 @@ msgid "Product Template" msgstr "产品" #. module: purchase_last_price_info -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view -#: model:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view +#: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" msgstr "" From b02211a5a6a00194cf687f0d602a584943320a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Fri, 18 Oct 2019 16:19:42 +0000 Subject: [PATCH 13/57] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/zh_CN/ --- purchase_last_price_info/i18n/zh_CN.po | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/purchase_last_price_info/i18n/zh_CN.po b/purchase_last_price_info/i18n/zh_CN.po index 87299fe9852..4d7d94ec455 100644 --- a/purchase_last_price_info/i18n/zh_CN.po +++ b/purchase_last_price_info/i18n/zh_CN.po @@ -8,33 +8,34 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-03-04 05:41+0000\n" -"PO-Revision-Date: 2016-03-08 10:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-purchase-" -"workflow-8-0/language/zh_CN/)\n" +"PO-Revision-Date: 2019-10-18 18:32+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/" +"OCA-purchase-workflow-8-0/language/zh_CN/)\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" -msgstr "" +msgstr "最后采购日期" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" -msgstr "" +msgstr "最后采购价格" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" -msgstr "" +msgstr "最后供应商" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product @@ -43,18 +44,16 @@ msgstr "产品" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template -#, fuzzy -#| msgid "Product" msgid "Product Template" -msgstr "产品" +msgstr "产品模版" #. module: purchase_last_price_info #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" -msgstr "" +msgstr "采购" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order msgid "Purchase Order" -msgstr "" +msgstr "采购订单" From 165d1bcd5bab9aa5633f247b8e7f9a44ec05ca15 Mon Sep 17 00:00:00 2001 From: Roodin Date: Thu, 21 Nov 2019 16:14:30 +0000 Subject: [PATCH 14/57] Translated using Weblate (Spanish) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/es/ --- purchase_last_price_info/i18n/es.po | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/purchase_last_price_info/i18n/es.po b/purchase_last_price_info/i18n/es.po index a9eee74a672..9e8830d11fc 100644 --- a/purchase_last_price_info/i18n/es.po +++ b/purchase_last_price_info/i18n/es.po @@ -8,35 +8,34 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-03-08 10:15+0000\n" -"PO-Revision-Date: 2016-03-08 10:16+0000\n" -"Last-Translator: OCA Transbot \n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-purchase-" -"workflow-8-0/language/es/)\n" +"PO-Revision-Date: 2019-12-29 12:50+0000\n" +"Last-Translator: Roodin \n" +"Language-Team: Spanish (http://www.transifex.com/oca/" +"OCA-purchase-workflow-8-0/language/es/)\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date -#, fuzzy -#| msgid "Purchase" msgid "Last Purchase Date" -msgstr "Compra" +msgstr "Última fecha de compra" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" -msgstr "" +msgstr "Último precio de compra" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" -msgstr "" +msgstr "Último proveedor" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product @@ -45,8 +44,6 @@ msgstr "Producto" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template -#, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Producto" @@ -58,8 +55,6 @@ msgstr "Compra" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order -#, fuzzy -#| msgid "Purchase" msgid "Purchase Order" msgstr "Compra" From 0f9dfcfd3b685b58ea7bef28f0dcce43ee6c9e97 Mon Sep 17 00:00:00 2001 From: Rodrigo Macedo Date: Sun, 24 Nov 2019 17:03:07 +0000 Subject: [PATCH 15/57] Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/pt_BR/ --- purchase_last_price_info/i18n/pt_BR.po | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/purchase_last_price_info/i18n/pt_BR.po b/purchase_last_price_info/i18n/pt_BR.po index eae98e07354..69289b63fd6 100644 --- a/purchase_last_price_info/i18n/pt_BR.po +++ b/purchase_last_price_info/i18n/pt_BR.po @@ -9,15 +9,16 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-05-15 09:24+0000\n" -"PO-Revision-Date: 2016-05-18 16:25+0000\n" -"Last-Translator: Paulo Ricardo \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-" -"purchase-workflow-8-0/language/pt_BR/)\n" +"PO-Revision-Date: 2019-11-24 19:58+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/" +"OCA-purchase-workflow-8-0/language/pt_BR/)\n" "Language: pt_BR\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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.8\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date @@ -44,10 +45,8 @@ msgstr "Produto" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template -#, fuzzy -#| msgid "Product" msgid "Product Template" -msgstr "Produto" +msgstr "Modelo do Produto" #. module: purchase_last_price_info #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view @@ -57,10 +56,8 @@ msgstr "Compra" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order -#, fuzzy -#| msgid "Purchase" msgid "Purchase Order" -msgstr "Compra" +msgstr "Pedido de compra" #~ msgid "Last Price Info" #~ msgstr "Informações Último Preço" From f1b2a24ec1683c0f99cdaf68e936fc3abba0e8af Mon Sep 17 00:00:00 2001 From: kongrattapong Date: Mon, 13 Jan 2020 11:34:37 +0700 Subject: [PATCH 16/57] [IMP] purchase_last_price_info; black, isort --- purchase_last_price_info/__manifest__.py | 16 ++-- purchase_last_price_info/hooks.py | 6 +- purchase_last_price_info/models/product.py | 75 +++++++++-------- purchase_last_price_info/models/purchase.py | 5 +- .../tests/test_purchase_last_price_info.py | 81 ++++++++++--------- 5 files changed, 95 insertions(+), 88 deletions(-) diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py index d1145b10365..d3dae463680 100644 --- a/purchase_last_price_info/__manifest__.py +++ b/purchase_last_price_info/__manifest__.py @@ -6,18 +6,14 @@ "category": "Purchase Management", "license": "AGPL-3", "author": "OdooMRP team, " - "AvanzOSC, " - "Tecnativa - Pedro M. Baeza, " - "Odoo Community Association (OCA)", + "AvanzOSC, " + "Tecnativa - Pedro M. Baeza, " + "Odoo Community Association (OCA)", "development_status": "Beta", - "maintainers": ['lreficent'], + "maintainers": ["lreficent"], "website": "https://github.com/OCA/purchase-workflow", - "depends": [ - "purchase", - ], - "data": [ - "views/product_views.xml", - ], + "depends": ["purchase"], + "data": ["views/product_views.xml"], "installable": True, "post_init_hook": "set_last_price_info", } diff --git a/purchase_last_price_info/hooks.py b/purchase_last_price_info/hooks.py index ddff29e0103..041587cdcaf 100644 --- a/purchase_last_price_info/hooks.py +++ b/purchase_last_price_info/hooks.py @@ -2,7 +2,7 @@ # (http://www.eficent.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, SUPERUSER_ID +from odoo import SUPERUSER_ID, api def set_last_price_info(cr, registry): @@ -10,6 +10,6 @@ def set_last_price_info(cr, registry): This post-init-hook will update last price information for all products """ env = api.Environment(cr, SUPERUSER_ID, dict()) - product_obj = env['product.product'] - products = product_obj.search([('purchase_ok', '=', True)]) + product_obj = env["product.product"] + products = product_obj.search([("purchase_ok", "=", True)]) products.set_product_last_purchase() diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py index 5016bfe105a..e4d66494d47 100644 --- a/purchase_last_price_info/models/product.py +++ b/purchase_last_price_info/models/product.py @@ -6,20 +6,19 @@ class ProductProduct(models.Model): - _inherit = 'product.product' + _inherit = "product.product" - last_purchase_price = fields.Float( - string='Last Purchase Price') - last_purchase_date = fields.Date( - string='Last Purchase Date') + last_purchase_price = fields.Float(string="Last Purchase Price") + last_purchase_date = fields.Date(string="Last Purchase Date") last_supplier_id = fields.Many2one( - comodel_name='res.partner', string='Last Supplier') + comodel_name="res.partner", string="Last Supplier" + ) @api.multi def set_product_last_purchase(self, order_id=False): """ Get last purchase price, last purchase date and last supplier """ - PurchaseOrderLine = self.env['purchase.order.line'] - if not self.check_access_rights('write', raise_exception=False): + PurchaseOrderLine = self.env["purchase.order.line"] + if not self.check_access_rights("write", raise_exception=False): return for product in self: date_order = False @@ -28,14 +27,17 @@ def set_product_last_purchase(self, order_id=False): # Check if Order ID was passed, to speed up the search if order_id: - lines = PurchaseOrderLine.search([ - ('order_id', '=', order_id), - ('product_id', '=', product.id)], limit=1) + lines = PurchaseOrderLine.search( + [("order_id", "=", order_id), ("product_id", "=", product.id)], + limit=1, + ) else: lines = PurchaseOrderLine.search( - [('product_id', '=', product.id), - ('state', 'in', ['purchase', 'done'])]).sorted( - key=lambda l: l.order_id.date_order, reverse=True) + [ + ("product_id", "=", product.id), + ("state", "in", ["purchase", "done"]), + ] + ).sorted(key=lambda l: l.order_id.date_order, reverse=True) if lines: # Get most recent Purchase Order Line @@ -44,35 +46,38 @@ def set_product_last_purchase(self, order_id=False): date_order = last_line.order_id.date_order # Compute Price Unit in the Product base UoM price_unit_uom = product.uom_id._compute_quantity( - last_line.price_unit, last_line.product_uom) + last_line.price_unit, last_line.product_uom + ) last_supplier = last_line.order_id.partner_id # Assign values to record - product.write({ - "last_purchase_date": date_order, - "last_purchase_price": price_unit_uom, - "last_supplier_id": last_supplier.id - if last_supplier else False, - }) + product.write( + { + "last_purchase_date": date_order, + "last_purchase_price": price_unit_uom, + "last_supplier_id": last_supplier.id if last_supplier else False, + } + ) # Set related product template values product.product_tmpl_id.set_product_template_last_purchase( - date_order, price_unit_uom, last_supplier) + date_order, price_unit_uom, last_supplier + ) class ProductTemplate(models.Model): - _inherit = 'product.template' + _inherit = "product.template" - last_purchase_price = fields.Float( - string='Last Purchase Price') - last_purchase_date = fields.Date( - string='Last Purchase Date') + last_purchase_price = fields.Float(string="Last Purchase Price") + last_purchase_date = fields.Date(string="Last Purchase Date") last_supplier_id = fields.Many2one( - comodel_name='res.partner', string='Last Supplier') + comodel_name="res.partner", string="Last Supplier" + ) - def set_product_template_last_purchase(self, date_order, price_unit, - partner_id): - return self.write({ - "last_purchase_date": date_order, - "last_purchase_price": price_unit, - "last_supplier_id": partner_id.id if partner_id else False, - }) + def set_product_template_last_purchase(self, date_order, price_unit, partner_id): + return self.write( + { + "last_purchase_date": date_order, + "last_purchase_price": price_unit, + "last_supplier_id": partner_id.id if partner_id else False, + } + ) diff --git a/purchase_last_price_info/models/purchase.py b/purchase_last_price_info/models/purchase.py index 0caecc97c83..0054da19e8e 100644 --- a/purchase_last_price_info/models/purchase.py +++ b/purchase_last_price_info/models/purchase.py @@ -12,13 +12,12 @@ class PurchaseOrder(models.Model): def button_approve(self, force=False): res = super().button_approve(force) for rec in self: - rec.order_line.mapped('product_id').set_product_last_purchase( - rec.id) + rec.order_line.mapped("product_id").set_product_last_purchase(rec.id) return res @api.multi def button_cancel(self): res = super().button_cancel() for rec in self: - rec.order_line.mapped('product_id').set_product_last_purchase() + rec.order_line.mapped("product_id").set_product_last_purchase() return res diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py index 43f8b8a0be9..1f44c5bb3fb 100644 --- a/purchase_last_price_info/tests/test_purchase_last_price_info.py +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -7,54 +7,61 @@ class TestPurchaseLastPriceInfo(common.TransactionCase): - def setUp(self): super(TestPurchaseLastPriceInfo, self).setUp() - self.purchase_model = self.env['purchase.order'] - self.purchase_line_model = self.env['purchase.order.line'] - self.product = self.env.ref('product.consu_delivery_01') - self.partner = self.env.ref('base.res_partner_1') - self.picking_type = self.env.ref('stock.picking_type_in') + self.purchase_model = self.env["purchase.order"] + self.purchase_line_model = self.env["purchase.order.line"] + self.product = self.env.ref("product.consu_delivery_01") + self.partner = self.env.ref("base.res_partner_1") + self.picking_type = self.env.ref("stock.picking_type_in") def test_purchase_last_price_info_demo(self): - purchase_order = self.env.ref('purchase.purchase_order_6') + purchase_order = self.env.ref("purchase.purchase_order_6") purchase_order.button_confirm() purchase_lines = self.purchase_line_model.search( - [('product_id', '=', self.product.id), - ('state', 'in', ['purchase', 'done'])]).sorted( - key=lambda l: l.order_id.date_order, reverse=True) + [ + ("product_id", "=", self.product.id), + ("state", "in", ["purchase", "done"]), + ] + ).sorted(key=lambda l: l.order_id.date_order, reverse=True) self.assertEqual( - fields.Datetime.from_string( - purchase_lines[:1].order_id.date_order).date(), - fields.Datetime.from_string( - self.product.last_purchase_date).date()) + fields.Datetime.from_string(purchase_lines[:1].order_id.date_order).date(), + fields.Datetime.from_string(self.product.last_purchase_date).date(), + ) self.assertEqual( - purchase_lines[:1].price_unit, self.product.last_purchase_price) + purchase_lines[:1].price_unit, self.product.last_purchase_price + ) self.assertEqual( - purchase_lines[:1].order_id.partner_id, - self.product.last_supplier_id) + purchase_lines[:1].order_id.partner_id, self.product.last_supplier_id + ) def test_purchase_last_price_info_new_order(self): - purchase_order = self.purchase_model.create({ - 'partner_id': self.partner.id, - 'picking_type_id': self.picking_type.id, - 'order_line': [(0, 0, { - 'product_id': self.product.id, - 'product_uom': self.product.uom_id.id, - 'price_unit': self.product.standard_price, - 'name': self.product.name, - 'date_planned': fields.Datetime.now(), - 'product_qty': 1, - })] - }) + purchase_order = self.purchase_model.create( + { + "partner_id": self.partner.id, + "picking_type_id": self.picking_type.id, + "order_line": [ + ( + 0, + 0, + { + "product_id": self.product.id, + "product_uom": self.product.uom_id.id, + "price_unit": self.product.standard_price, + "name": self.product.name, + "date_planned": fields.Datetime.now(), + "product_qty": 1, + }, + ) + ], + } + ) purchase_order.button_confirm() self.assertEqual( - fields.Datetime.from_string( - purchase_order.date_order).date(), - fields.Datetime.from_string( - self.product.last_purchase_date).date()) - self.assertEqual( - purchase_order.order_line[:1].price_unit, - self.product.last_purchase_price) + fields.Datetime.from_string(purchase_order.date_order).date(), + fields.Datetime.from_string(self.product.last_purchase_date).date(), + ) self.assertEqual( - self.partner, self.product.last_supplier_id) + purchase_order.order_line[:1].price_unit, self.product.last_purchase_price + ) + self.assertEqual(self.partner, self.product.last_supplier_id) From 646f45941519c6c17d771fa6f99897a157fb7540 Mon Sep 17 00:00:00 2001 From: kongrattapong Date: Mon, 13 Jan 2020 11:42:38 +0700 Subject: [PATCH 17/57] [MIG] purchase_last_price_info: Migration to 13.0 --- purchase_last_price_info/README.rst | 13 +-- purchase_last_price_info/__manifest__.py | 2 +- purchase_last_price_info/models/product.py | 3 +- purchase_last_price_info/models/purchase.py | 4 +- .../readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 9 +- .../tests/test_purchase_last_price_info.py | 4 +- .../views/product_views.xml | 91 +++++++++---------- 8 files changed, 63 insertions(+), 64 deletions(-) diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index d572087f71b..fc8b0e4cbe3 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -14,13 +14,13 @@ Purchase Product Last Price Info :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/purchase-workflow/tree/12.0/purchase_last_price_info + :target: https://github.com/OCA/purchase-workflow/tree/13.0-mig-purchase_last_price_info/purchase_last_price_info :alt: OCA/purchase-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info + :target: https://translation.odoo-community.org/projects/purchase-workflow-13-0-mig-purchase_last_price_info/purchase-workflow-13-0-mig-purchase_last_price_info-purchase_last_price_info :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/142/12.0 + :target: https://runbot.odoo-community.org/runbot/142/13.0-mig-purchase_last_price_info :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -39,7 +39,7 @@ In order to use this module, go to: * Products -> Tab Purchase (see screenshot) -.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/12.0/purchase_last_price_info/static/description/purchase_last_price.png +.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/13.0-mig-purchase_last_price_info/purchase_last_price_info/static/description/purchase_last_price.png :alt: Purchase Last Price Info :width: 400 px @@ -49,7 +49,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -73,6 +73,7 @@ Contributors * Carlos Lopez Mite * Adria Gil Sorribes * Lois Rilo +* Rattapong Chokmasermkul Maintainers ~~~~~~~~~~~ @@ -95,6 +96,6 @@ Current `maintainer `__: |maintainer-lreficent| -This module is part of the `OCA/purchase-workflow `_ project on GitHub. +This module is part of the `OCA/purchase-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py index d3dae463680..7c44ae1b047 100644 --- a/purchase_last_price_info/__manifest__.py +++ b/purchase_last_price_info/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Purchase Product Last Price Info", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "category": "Purchase Management", "license": "AGPL-3", "author": "OdooMRP team, " diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py index e4d66494d47..8f869314016 100644 --- a/purchase_last_price_info/models/product.py +++ b/purchase_last_price_info/models/product.py @@ -2,7 +2,7 @@ # Copyright 2019 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) -from odoo import api, fields, models +from odoo import fields, models class ProductProduct(models.Model): @@ -14,7 +14,6 @@ class ProductProduct(models.Model): comodel_name="res.partner", string="Last Supplier" ) - @api.multi def set_product_last_purchase(self, order_id=False): """ Get last purchase price, last purchase date and last supplier """ PurchaseOrderLine = self.env["purchase.order.line"] diff --git a/purchase_last_price_info/models/purchase.py b/purchase_last_price_info/models/purchase.py index 0054da19e8e..ade677ffb9f 100644 --- a/purchase_last_price_info/models/purchase.py +++ b/purchase_last_price_info/models/purchase.py @@ -2,20 +2,18 @@ # Copyright 2019 Eficent Business and IT Consulting Services S.L. # (http://www.eficent.com) -from odoo import api, models +from odoo import models class PurchaseOrder(models.Model): _inherit = "purchase.order" - @api.multi def button_approve(self, force=False): res = super().button_approve(force) for rec in self: rec.order_line.mapped("product_id").set_product_last_purchase(rec.id) return res - @api.multi def button_cancel(self): res = super().button_cancel() for rec in self: diff --git a/purchase_last_price_info/readme/CONTRIBUTORS.rst b/purchase_last_price_info/readme/CONTRIBUTORS.rst index fb98749e2c3..7a7f7f16641 100644 --- a/purchase_last_price_info/readme/CONTRIBUTORS.rst +++ b/purchase_last_price_info/readme/CONTRIBUTORS.rst @@ -5,3 +5,4 @@ * Carlos Lopez Mite * Adria Gil Sorribes * Lois Rilo +* Rattapong Chokmasermkul diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 78d13c4eadd..9dd2da0e76d 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -367,7 +367,7 @@

Purchase Product Last Price Info

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

This module adds the last purchase info of the product.

Table of contents

@@ -388,14 +388,14 @@

Usage

  • Products -> Tab Purchase (see screenshot)
-Purchase Last Price Info +Purchase Last Price Info

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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -418,6 +418,7 @@

Contributors

  • Carlos Lopez Mite <celm1990@hotmail.com>
  • Adria Gil Sorribes <adria.gil@eficent.com>
  • Lois Rilo <lois.rilo@eficent.com>
  • +
  • Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>
  • @@ -429,7 +430,7 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    lreficent

    -

    This module is part of the OCA/purchase-workflow project on GitHub.

    +

    This module is part of the OCA/purchase-workflow project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py index 1f44c5bb3fb..9d32a3d19db 100644 --- a/purchase_last_price_info/tests/test_purchase_last_price_info.py +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -13,7 +13,6 @@ def setUp(self): self.purchase_line_model = self.env["purchase.order.line"] self.product = self.env.ref("product.consu_delivery_01") self.partner = self.env.ref("base.res_partner_1") - self.picking_type = self.env.ref("stock.picking_type_in") def test_purchase_last_price_info_demo(self): purchase_order = self.env.ref("purchase.purchase_order_6") @@ -39,7 +38,6 @@ def test_purchase_last_price_info_new_order(self): purchase_order = self.purchase_model.create( { "partner_id": self.partner.id, - "picking_type_id": self.picking_type.id, "order_line": [ ( 0, @@ -65,3 +63,5 @@ def test_purchase_last_price_info_new_order(self): purchase_order.order_line[:1].price_unit, self.product.last_purchase_price ) self.assertEqual(self.partner, self.product.last_supplier_id) + purchase_order.button_cancel() + self.assertEqual(purchase_order.state, "cancel") diff --git a/purchase_last_price_info/views/product_views.xml b/purchase_last_price_info/views/product_views.xml index 1d5500ceed6..d60ee5cb03a 100644 --- a/purchase_last_price_info/views/product_views.xml +++ b/purchase_last_price_info/views/product_views.xml @@ -1,58 +1,57 @@ - - product.product.last.purchase.info.form - product.product - - - - - - - - - - - - - - product.template.form.last.purchase.info - product.template - - - - - - - - - - - + + product.product.last.purchase.info.form + product.product + + + + + + + + + + + + + product.template.form.last.purchase.info + product.template + + + + + + + + + + + - - product.product.tree - product.product - - - - - - - + + product.product.tree + product.product + + + + + + + - + product.template.product.tree product.template - + - - - + + + From 4279ed13c8afd50cb27cc1b99b2acf3a2de2abc2 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 6 Feb 2020 13:09:48 +0000 Subject: [PATCH 18/57] [UPD] Update purchase_last_price_info.pot --- purchase_last_price_info/i18n/purchase_last_price_info.pot | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/purchase_last_price_info/i18n/purchase_last_price_info.pot b/purchase_last_price_info/i18n/purchase_last_price_info.pot index aea7ada9818..c72fe635108 100644 --- a/purchase_last_price_info/i18n/purchase_last_price_info.pot +++ b/purchase_last_price_info/i18n/purchase_last_price_info.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * purchase_last_price_info +# * purchase_last_price_info # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -51,4 +51,3 @@ msgstr "" #: model:ir.model,name:purchase_last_price_info.model_purchase_order msgid "Purchase Order" msgstr "" - From 9e38492f069f823d7400d89845b5a385c326b869 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 6 Feb 2020 13:26:42 +0000 Subject: [PATCH 19/57] [UPD] README.rst --- purchase_last_price_info/README.rst | 12 ++++++------ .../static/description/index.html | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index fc8b0e4cbe3..01e522560f7 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -14,13 +14,13 @@ Purchase Product Last Price Info :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/purchase-workflow/tree/13.0-mig-purchase_last_price_info/purchase_last_price_info + :target: https://github.com/OCA/purchase-workflow/tree/13.0/purchase_last_price_info :alt: OCA/purchase-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/purchase-workflow-13-0-mig-purchase_last_price_info/purchase-workflow-13-0-mig-purchase_last_price_info-purchase_last_price_info + :target: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/142/13.0-mig-purchase_last_price_info + :target: https://runbot.odoo-community.org/runbot/142/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -39,7 +39,7 @@ In order to use this module, go to: * Products -> Tab Purchase (see screenshot) -.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/13.0-mig-purchase_last_price_info/purchase_last_price_info/static/description/purchase_last_price.png +.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/13.0/purchase_last_price_info/static/description/purchase_last_price.png :alt: Purchase Last Price Info :width: 400 px @@ -49,7 +49,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -96,6 +96,6 @@ Current `maintainer `__: |maintainer-lreficent| -This module is part of the `OCA/purchase-workflow `_ project on GitHub. +This module is part of the `OCA/purchase-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 9dd2da0e76d..4275b40eff7 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -367,7 +367,7 @@

    Purchase Product Last Price Info

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

    +

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

    This module adds the last purchase info of the product.

    Table of contents

    @@ -388,14 +388,14 @@

    Usage

    • Products -> Tab Purchase (see screenshot)
    -Purchase Last Price Info +Purchase Last Price Info

    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.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

    @@ -430,7 +430,7 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    lreficent

    -

    This module is part of the OCA/purchase-workflow project on GitHub.

    +

    This module is part of the OCA/purchase-workflow project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    From 84b1233755a72fac58962b6138cb40bd450a559b Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sat, 14 Mar 2020 12:18:45 +0100 Subject: [PATCH 20/57] pre-commit update --- .../views/product_views.xml | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/purchase_last_price_info/views/product_views.xml b/purchase_last_price_info/views/product_views.xml index d60ee5cb03a..393ad238ae2 100644 --- a/purchase_last_price_info/views/product_views.xml +++ b/purchase_last_price_info/views/product_views.xml @@ -1,58 +1,59 @@ - + - product.product.last.purchase.info.form product.product - + - - - - + + + + - product.template.form.last.purchase.info product.template - + - - - - + + + + - product.product.tree product.product - + - + - product.template.product.tree product.template - + - + - From 11b9cc8be59cc9065759961d2febfb0746ae25e8 Mon Sep 17 00:00:00 2001 From: Dong Date: Mon, 23 Mar 2020 11:13:38 +0000 Subject: [PATCH 21/57] Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/zh_CN/ --- purchase_last_price_info/i18n/zh_CN.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/purchase_last_price_info/i18n/zh_CN.po b/purchase_last_price_info/i18n/zh_CN.po index 4d7d94ec455..db7305cab93 100644 --- a/purchase_last_price_info/i18n/zh_CN.po +++ b/purchase_last_price_info/i18n/zh_CN.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-03-04 05:41+0000\n" -"PO-Revision-Date: 2019-10-18 18:32+0000\n" -"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"PO-Revision-Date: 2020-03-23 13:13+0000\n" +"Last-Translator: Dong \n" "Language-Team: Chinese (China) (http://www.transifex.com/oca/" "OCA-purchase-workflow-8-0/language/zh_CN/)\n" "Language: zh_CN\n" @@ -17,25 +17,25 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 3.8\n" +"X-Generator: Weblate 3.10\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" -msgstr "最后采购日期" +msgstr "最近采购日期" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" -msgstr "最后采购价格" +msgstr "最近采购价格" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" -msgstr "最后供应商" +msgstr "最近供应商" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product From ee925b0a99a98ca737a7bbf7fa3024ed927ba7e5 Mon Sep 17 00:00:00 2001 From: c2cdidier Date: Wed, 22 Jul 2020 10:03:16 +0000 Subject: [PATCH 22/57] Translated using Weblate (German) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/de/ --- purchase_last_price_info/i18n/de.po | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/purchase_last_price_info/i18n/de.po b/purchase_last_price_info/i18n/de.po index 51627e5be03..c475b44b744 100644 --- a/purchase_last_price_info/i18n/de.po +++ b/purchase_last_price_info/i18n/de.po @@ -8,33 +8,34 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-09-15 11:37+0000\n" -"PO-Revision-Date: 2016-03-08 10:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: German (http://www.transifex.com/oca/OCA-purchase-" -"workflow-8-0/language/de/)\n" +"PO-Revision-Date: 2020-07-22 12:19+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: German (http://www.transifex.com/oca/" +"OCA-purchase-workflow-8-0/language/de/)\n" "Language: de\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" -msgstr "" +msgstr "Letztes EInkaufsdatum" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" -msgstr "" +msgstr "Letzter Einkaufspreis" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" -msgstr "" +msgstr "Letzter Lieferant" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product @@ -43,18 +44,16 @@ msgstr "Produkt" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template -#, fuzzy -#| msgid "Product" msgid "Product Template" -msgstr "Produkt" +msgstr "Produktvorlage" #. module: purchase_last_price_info #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" -msgstr "" +msgstr "Einkauf" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order msgid "Purchase Order" -msgstr "" +msgstr "Bestellung" From 2c74f2541cb168caa1922c3d1d071bcacfadfa0d Mon Sep 17 00:00:00 2001 From: c2cdidier Date: Wed, 22 Jul 2020 10:01:13 +0000 Subject: [PATCH 23/57] Translated using Weblate (French) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/fr/ --- purchase_last_price_info/i18n/fr.po | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/purchase_last_price_info/i18n/fr.po b/purchase_last_price_info/i18n/fr.po index d26c36bcb9e..e20c1e8e6bf 100644 --- a/purchase_last_price_info/i18n/fr.po +++ b/purchase_last_price_info/i18n/fr.po @@ -8,53 +8,52 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-03-08 10:15+0000\n" -"PO-Revision-Date: 2016-03-08 10:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-purchase-" -"workflow-8-0/language/fr/)\n" +"PO-Revision-Date: 2020-07-22 12:19+0000\n" +"Last-Translator: c2cdidier \n" +"Language-Team: French (http://www.transifex.com/oca/" +"OCA-purchase-workflow-8-0/language/fr/)\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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 3.10\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" -msgstr "" +msgstr "Dernière date d'achat" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" -msgstr "" +msgstr "Dernier prix d'achat" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" -msgstr "" +msgstr "Dernier fournisseur" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product msgid "Product" -msgstr "Produit" +msgstr "Article" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template -#, fuzzy -#| msgid "Product" msgid "Product Template" -msgstr "Produit" +msgstr "Modèle de produit" #. module: purchase_last_price_info #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" -msgstr "" +msgstr "Achat" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order msgid "Purchase Order" -msgstr "" +msgstr "Commande d'achat" From 3834861a87d04182003b1c66d4d112520f1f0ba9 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 16 Aug 2020 11:28:59 +0000 Subject: [PATCH 24/57] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/ --- purchase_last_price_info/i18n/ca.po | 1 - purchase_last_price_info/i18n/el_GR.po | 1 - purchase_last_price_info/i18n/es_ES.po | 1 - purchase_last_price_info/i18n/eu.po | 1 - purchase_last_price_info/i18n/fi.po | 1 - purchase_last_price_info/i18n/fr_CH.po | 1 - purchase_last_price_info/i18n/fr_FR.po | 1 - purchase_last_price_info/i18n/gl.po | 1 - purchase_last_price_info/i18n/hr.po | 1 - purchase_last_price_info/i18n/hr_HR.po | 1 - purchase_last_price_info/i18n/it.po | 1 - purchase_last_price_info/i18n/nl.po | 1 - purchase_last_price_info/i18n/nl_NL.po | 1 - purchase_last_price_info/i18n/pt.po | 1 - purchase_last_price_info/i18n/ro.po | 1 - purchase_last_price_info/i18n/ru.po | 1 - purchase_last_price_info/i18n/sk.po | 1 - purchase_last_price_info/i18n/sl.po | 2 -- purchase_last_price_info/i18n/tr.po | 1 - purchase_last_price_info/i18n/tr_TR.po | 1 - purchase_last_price_info/i18n/vi_VN.po | 1 - 21 files changed, 22 deletions(-) diff --git a/purchase_last_price_info/i18n/ca.po b/purchase_last_price_info/i18n/ca.po index 23c88644c4f..22cdae3c78c 100644 --- a/purchase_last_price_info/i18n/ca.po +++ b/purchase_last_price_info/i18n/ca.po @@ -44,7 +44,6 @@ msgstr "Producte" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Producte" diff --git a/purchase_last_price_info/i18n/el_GR.po b/purchase_last_price_info/i18n/el_GR.po index cf1b81b02f6..c74f7aee268 100644 --- a/purchase_last_price_info/i18n/el_GR.po +++ b/purchase_last_price_info/i18n/el_GR.po @@ -44,7 +44,6 @@ msgstr "Προϊόν" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Προϊόν" diff --git a/purchase_last_price_info/i18n/es_ES.po b/purchase_last_price_info/i18n/es_ES.po index 15140ec69df..0da131d6653 100644 --- a/purchase_last_price_info/i18n/es_ES.po +++ b/purchase_last_price_info/i18n/es_ES.po @@ -44,7 +44,6 @@ msgstr "Producto" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Producto" diff --git a/purchase_last_price_info/i18n/eu.po b/purchase_last_price_info/i18n/eu.po index bd81749664e..796482b6d04 100644 --- a/purchase_last_price_info/i18n/eu.po +++ b/purchase_last_price_info/i18n/eu.po @@ -44,7 +44,6 @@ msgstr "Produktua" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produktua" diff --git a/purchase_last_price_info/i18n/fi.po b/purchase_last_price_info/i18n/fi.po index f8380218987..5174b95df11 100644 --- a/purchase_last_price_info/i18n/fi.po +++ b/purchase_last_price_info/i18n/fi.po @@ -44,7 +44,6 @@ msgstr "Tuote" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Tuote" diff --git a/purchase_last_price_info/i18n/fr_CH.po b/purchase_last_price_info/i18n/fr_CH.po index 0b99c8d511f..dae1ce0313a 100644 --- a/purchase_last_price_info/i18n/fr_CH.po +++ b/purchase_last_price_info/i18n/fr_CH.po @@ -44,7 +44,6 @@ msgstr "Produit" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produit" diff --git a/purchase_last_price_info/i18n/fr_FR.po b/purchase_last_price_info/i18n/fr_FR.po index 28deb9d52f8..f8e4435189f 100644 --- a/purchase_last_price_info/i18n/fr_FR.po +++ b/purchase_last_price_info/i18n/fr_FR.po @@ -44,7 +44,6 @@ msgstr "Produit" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produit" diff --git a/purchase_last_price_info/i18n/gl.po b/purchase_last_price_info/i18n/gl.po index 09b18020045..7f903c7b1c6 100644 --- a/purchase_last_price_info/i18n/gl.po +++ b/purchase_last_price_info/i18n/gl.po @@ -44,7 +44,6 @@ msgstr "Produto" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produto" diff --git a/purchase_last_price_info/i18n/hr.po b/purchase_last_price_info/i18n/hr.po index 2c091e31ada..b1143a0f19c 100644 --- a/purchase_last_price_info/i18n/hr.po +++ b/purchase_last_price_info/i18n/hr.po @@ -45,7 +45,6 @@ msgstr "Proizvod" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Proizvod" diff --git a/purchase_last_price_info/i18n/hr_HR.po b/purchase_last_price_info/i18n/hr_HR.po index 8a14d5bb6c8..147734697a4 100644 --- a/purchase_last_price_info/i18n/hr_HR.po +++ b/purchase_last_price_info/i18n/hr_HR.po @@ -45,7 +45,6 @@ msgstr "Proizvod" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Proizvod" diff --git a/purchase_last_price_info/i18n/it.po b/purchase_last_price_info/i18n/it.po index 42383ec7635..139b53d6bc1 100644 --- a/purchase_last_price_info/i18n/it.po +++ b/purchase_last_price_info/i18n/it.po @@ -44,7 +44,6 @@ msgstr "Prodotto" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Prodotto" diff --git a/purchase_last_price_info/i18n/nl.po b/purchase_last_price_info/i18n/nl.po index 35d7e6b50f5..37c4bcd2a79 100644 --- a/purchase_last_price_info/i18n/nl.po +++ b/purchase_last_price_info/i18n/nl.po @@ -44,7 +44,6 @@ msgstr "Product" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Product" diff --git a/purchase_last_price_info/i18n/nl_NL.po b/purchase_last_price_info/i18n/nl_NL.po index 6334df3232e..eadf1fd3710 100644 --- a/purchase_last_price_info/i18n/nl_NL.po +++ b/purchase_last_price_info/i18n/nl_NL.po @@ -44,7 +44,6 @@ msgstr "Product" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Product" diff --git a/purchase_last_price_info/i18n/pt.po b/purchase_last_price_info/i18n/pt.po index 72757126a7a..8fbf58573ce 100644 --- a/purchase_last_price_info/i18n/pt.po +++ b/purchase_last_price_info/i18n/pt.po @@ -44,7 +44,6 @@ msgstr "Produto" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produto" diff --git a/purchase_last_price_info/i18n/ro.po b/purchase_last_price_info/i18n/ro.po index 4f2fed06f55..0f8368f7d46 100644 --- a/purchase_last_price_info/i18n/ro.po +++ b/purchase_last_price_info/i18n/ro.po @@ -45,7 +45,6 @@ msgstr "Produs" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produs" diff --git a/purchase_last_price_info/i18n/ru.po b/purchase_last_price_info/i18n/ru.po index 821bf9d45e2..a8f78f982fb 100644 --- a/purchase_last_price_info/i18n/ru.po +++ b/purchase_last_price_info/i18n/ru.po @@ -46,7 +46,6 @@ msgstr "Товар/Услуга" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Товар/Услуга" diff --git a/purchase_last_price_info/i18n/sk.po b/purchase_last_price_info/i18n/sk.po index 9eb4ee1f331..2581bd4e1e2 100644 --- a/purchase_last_price_info/i18n/sk.po +++ b/purchase_last_price_info/i18n/sk.po @@ -44,7 +44,6 @@ msgstr "Produkt" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Produkt" diff --git a/purchase_last_price_info/i18n/sl.po b/purchase_last_price_info/i18n/sl.po index 51243cdbebf..2565a52f2fd 100644 --- a/purchase_last_price_info/i18n/sl.po +++ b/purchase_last_price_info/i18n/sl.po @@ -55,7 +55,6 @@ msgstr "Proizvod" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Proizvod" @@ -68,7 +67,6 @@ msgstr "Nabava" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order #, fuzzy -#| msgid "Purchase" msgid "Purchase Order" msgstr "Nabava" diff --git a/purchase_last_price_info/i18n/tr.po b/purchase_last_price_info/i18n/tr.po index fe914005eed..4f0c513a9a5 100644 --- a/purchase_last_price_info/i18n/tr.po +++ b/purchase_last_price_info/i18n/tr.po @@ -44,7 +44,6 @@ msgstr "Ürün" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Ürün" diff --git a/purchase_last_price_info/i18n/tr_TR.po b/purchase_last_price_info/i18n/tr_TR.po index 5c363d42f68..dcaa98ef9cc 100644 --- a/purchase_last_price_info/i18n/tr_TR.po +++ b/purchase_last_price_info/i18n/tr_TR.po @@ -44,7 +44,6 @@ msgstr "Ürün" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Ürün" diff --git a/purchase_last_price_info/i18n/vi_VN.po b/purchase_last_price_info/i18n/vi_VN.po index a7267cc184b..8fbf23de153 100644 --- a/purchase_last_price_info/i18n/vi_VN.po +++ b/purchase_last_price_info/i18n/vi_VN.po @@ -44,7 +44,6 @@ msgstr "Sản phẩm" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template #, fuzzy -#| msgid "Product" msgid "Product Template" msgstr "Sản phẩm" From 53acaff58975f40f4364986869edf3ff30b91717 Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 30 Sep 2020 11:47:21 +0200 Subject: [PATCH 25/57] [UPD] Eficent -> ForgeFlow --- purchase_last_price_info/README.rst | 14 +++++++------- purchase_last_price_info/__manifest__.py | 2 +- purchase_last_price_info/hooks.py | 4 ++-- purchase_last_price_info/models/product.py | 4 ++-- purchase_last_price_info/models/purchase.py | 4 ++-- purchase_last_price_info/readme/CONTRIBUTORS.rst | 4 ++-- .../static/description/index.html | 6 +++--- .../tests/test_purchase_last_price_info.py | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index 01e522560f7..8def7fa24f2 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -23,7 +23,7 @@ Purchase Product Last Price Info :target: https://runbot.odoo-community.org/runbot/142/13.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds the last purchase info of the product. @@ -71,8 +71,8 @@ Contributors * Pedro M. Baeza * Ana Juaristi * Carlos Lopez Mite -* Adria Gil Sorribes -* Lois Rilo +* Adria Gil Sorribes +* Lois Rilo * Rattapong Chokmasermkul Maintainers @@ -88,13 +88,13 @@ 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. -.. |maintainer-lreficent| image:: https://github.com/lreficent.png?size=40px - :target: https://github.com/lreficent - :alt: lreficent +.. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px + :target: https://github.com/LoisRForgeFlow + :alt: LoisRForgeFlow Current `maintainer `__: -|maintainer-lreficent| +|maintainer-LoisRForgeFlow| This module is part of the `OCA/purchase-workflow `_ project on GitHub. diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py index 7c44ae1b047..571f25afe85 100644 --- a/purchase_last_price_info/__manifest__.py +++ b/purchase_last_price_info/__manifest__.py @@ -10,7 +10,7 @@ "Tecnativa - Pedro M. Baeza, " "Odoo Community Association (OCA)", "development_status": "Beta", - "maintainers": ["lreficent"], + "maintainers": ["LoisRForgeFlow"], "website": "https://github.com/OCA/purchase-workflow", "depends": ["purchase"], "data": ["views/product_views.xml"], diff --git a/purchase_last_price_info/hooks.py b/purchase_last_price_info/hooks.py index 041587cdcaf..e939b0f3f89 100644 --- a/purchase_last_price_info/hooks.py +++ b/purchase_last_price_info/hooks.py @@ -1,5 +1,5 @@ -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2019 ForgeFlow S.L. +# (http://www.forgeflow.com) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import SUPERUSER_ID, api diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py index 8f869314016..32d12739b7b 100644 --- a/purchase_last_price_info/models/product.py +++ b/purchase_last_price_info/models/product.py @@ -1,6 +1,6 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2019 ForgeFlow S.L. +# (http://www.forgeflow.com) from odoo import fields, models diff --git a/purchase_last_price_info/models/purchase.py b/purchase_last_price_info/models/purchase.py index ade677ffb9f..a534a15f495 100644 --- a/purchase_last_price_info/models/purchase.py +++ b/purchase_last_price_info/models/purchase.py @@ -1,6 +1,6 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2019 ForgeFlow S.L. +# (http://www.forgeflow.com) from odoo import models diff --git a/purchase_last_price_info/readme/CONTRIBUTORS.rst b/purchase_last_price_info/readme/CONTRIBUTORS.rst index 7a7f7f16641..0425d331a5b 100644 --- a/purchase_last_price_info/readme/CONTRIBUTORS.rst +++ b/purchase_last_price_info/readme/CONTRIBUTORS.rst @@ -3,6 +3,6 @@ * Pedro M. Baeza * Ana Juaristi * Carlos Lopez Mite -* Adria Gil Sorribes -* Lois Rilo +* Adria Gil Sorribes +* Lois Rilo * Rattapong Chokmasermkul diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 4275b40eff7..67b1fb7c477 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -416,8 +416,8 @@

    Contributors

  • Pedro M. Baeza <pedro.baeza@tecnativa.com>
  • Ana Juaristi <anajuaristi@avanzosc.es>
  • Carlos Lopez Mite <celm1990@hotmail.com>
  • -
  • Adria Gil Sorribes <adria.gil@eficent.com>
  • -
  • Lois Rilo <lois.rilo@eficent.com>
  • +
  • Adria Gil Sorribes <adria.gil@forgeflow.com>
  • +
  • Lois Rilo <lois.rilo@forgeflow.com>
  • Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>
  • @@ -429,7 +429,7 @@

    Maintainers

    mission is to support the collaborative development of Odoo features and promote its widespread use.

    Current maintainer:

    -

    lreficent

    +

    LoisRForgeFlow

    This module is part of the OCA/purchase-workflow project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py index 9d32a3d19db..61fbf464543 100644 --- a/purchase_last_price_info/tests/test_purchase_last_price_info.py +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -1,6 +1,6 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2019 ForgeFlow S.L. +# (http://www.forgeflow.com) import odoo.tests.common as common from odoo import fields From ece1e03bcbec8f168e78bd1b1e2a957f4725e0ef Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Wed, 30 Sep 2020 11:57:20 +0000 Subject: [PATCH 26/57] [UPD] README.rst --- purchase_last_price_info/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index 8def7fa24f2..1ce4cd08267 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -23,7 +23,7 @@ Purchase Product Last Price Info :target: https://runbot.odoo-community.org/runbot/142/13.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds the last purchase info of the product. @@ -94,7 +94,7 @@ promote its widespread use. Current `maintainer `__: -|maintainer-LoisRForgeFlow| +|maintainer-LoisRForgeFlow| This module is part of the `OCA/purchase-workflow `_ project on GitHub. From 5728ec6eec91fdda693733d64898d9bbac95e4bd Mon Sep 17 00:00:00 2001 From: Vishnu Vanneri Date: Fri, 27 Nov 2020 15:20:49 +0530 Subject: [PATCH 27/57] [MIG] purchase_last_price_info: Migration to 14.0 --- purchase_last_price_info/README.rst | 15 ++++++++------- purchase_last_price_info/__manifest__.py | 2 +- .../i18n/purchase_last_price_info.pot | 2 +- purchase_last_price_info/readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 9 +++++---- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index 1ce4cd08267..3d2685a5db0 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -14,16 +14,16 @@ Purchase Product Last Price Info :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/purchase-workflow/tree/13.0/purchase_last_price_info + :target: https://github.com/OCA/purchase-workflow/tree/14.0/purchase_last_price_info :alt: OCA/purchase-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png :target: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/142/13.0 + :target: https://runbot.odoo-community.org/runbot/142/14.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds the last purchase info of the product. @@ -39,7 +39,7 @@ In order to use this module, go to: * Products -> Tab Purchase (see screenshot) -.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/13.0/purchase_last_price_info/static/description/purchase_last_price.png +.. image:: https://raw.githubusercontent.com/OCA/purchase-workflow/14.0/purchase_last_price_info/static/description/purchase_last_price.png :alt: Purchase Last Price Info :width: 400 px @@ -49,7 +49,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -74,6 +74,7 @@ Contributors * Adria Gil Sorribes * Lois Rilo * Rattapong Chokmasermkul +* Vishnu Vanneri Maintainers ~~~~~~~~~~~ @@ -94,8 +95,8 @@ promote its widespread use. Current `maintainer `__: -|maintainer-LoisRForgeFlow| +|maintainer-LoisRForgeFlow| -This module is part of the `OCA/purchase-workflow `_ project on GitHub. +This module is part of the `OCA/purchase-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py index 571f25afe85..9d5770abaa5 100644 --- a/purchase_last_price_info/__manifest__.py +++ b/purchase_last_price_info/__manifest__.py @@ -2,7 +2,7 @@ { "name": "Purchase Product Last Price Info", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Purchase Management", "license": "AGPL-3", "author": "OdooMRP team, " diff --git a/purchase_last_price_info/i18n/purchase_last_price_info.pot b/purchase_last_price_info/i18n/purchase_last_price_info.pot index c72fe635108..4426d440e0a 100644 --- a/purchase_last_price_info/i18n/purchase_last_price_info.pot +++ b/purchase_last_price_info/i18n/purchase_last_price_info.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/purchase_last_price_info/readme/CONTRIBUTORS.rst b/purchase_last_price_info/readme/CONTRIBUTORS.rst index 0425d331a5b..b959863f1c1 100644 --- a/purchase_last_price_info/readme/CONTRIBUTORS.rst +++ b/purchase_last_price_info/readme/CONTRIBUTORS.rst @@ -6,3 +6,4 @@ * Adria Gil Sorribes * Lois Rilo * Rattapong Chokmasermkul +* Vishnu Vanneri diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 67b1fb7c477..43aa6a74e45 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -367,7 +367,7 @@

    Purchase Product Last Price Info

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

    +

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

    This module adds the last purchase info of the product.

    Table of contents

    @@ -388,14 +388,14 @@

    Usage

    • Products -> Tab Purchase (see screenshot)
    -Purchase Last Price Info +Purchase Last Price Info

    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.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

    @@ -419,6 +419,7 @@

    Contributors

  • Adria Gil Sorribes <adria.gil@forgeflow.com>
  • Lois Rilo <lois.rilo@forgeflow.com>
  • Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>
  • +
  • Vishnu Vanneri <vanneri.odoodev@gmail.com>
  • @@ -430,7 +431,7 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    LoisRForgeFlow

    -

    This module is part of the OCA/purchase-workflow project on GitHub.

    +

    This module is part of the OCA/purchase-workflow project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    From 210afcdc0794e5beed4eb181b983ae197d7ccb1a Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 1 Dec 2020 08:48:32 +0000 Subject: [PATCH 28/57] [UPD] Update purchase_last_price_info.pot --- .../i18n/purchase_last_price_info.pot | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/purchase_last_price_info/i18n/purchase_last_price_info.pot b/purchase_last_price_info/i18n/purchase_last_price_info.pot index 4426d440e0a..60b3c9b07e0 100644 --- a/purchase_last_price_info/i18n/purchase_last_price_info.pot +++ b/purchase_last_price_info/i18n/purchase_last_price_info.pot @@ -13,6 +13,27 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: purchase_last_price_info +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__display_name +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__display_name +#: model:ir.model.fields,field_description:purchase_last_price_info.field_purchase_order__display_name +msgid "Display Name" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__id +#: model:ir.model.fields,field_description:purchase_last_price_info.field_purchase_order__id +msgid "ID" +msgstr "" + +#. module: purchase_last_price_info +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product____last_update +#: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template____last_update +#: model:ir.model.fields,field_description:purchase_last_price_info.field_purchase_order____last_update +msgid "Last Modified on" +msgstr "" + #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date From 7ef944f9db7e5cbcf59603207ebcca117342fad5 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Tue, 1 Dec 2020 09:04:20 +0000 Subject: [PATCH 29/57] [UPD] README.rst --- purchase_last_price_info/README.rst | 6 +++--- purchase_last_price_info/static/description/index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index 3d2685a5db0..e3ed50ca7cf 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -17,13 +17,13 @@ Purchase Product Last Price Info :target: https://github.com/OCA/purchase-workflow/tree/14.0/purchase_last_price_info :alt: OCA/purchase-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info + :target: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_last_price_info :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png :target: https://runbot.odoo-community.org/runbot/142/14.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module adds the last purchase info of the product. @@ -95,7 +95,7 @@ promote its widespread use. Current `maintainer `__: -|maintainer-LoisRForgeFlow| +|maintainer-LoisRForgeFlow| This module is part of the `OCA/purchase-workflow `_ project on GitHub. diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 43aa6a74e45..5fbdc25d902 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -367,7 +367,7 @@

    Purchase Product Last Price Info

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

    +

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

    This module adds the last purchase info of the product.

    Table of contents

    From aeea198644002387ca592ac4bedeab1ae7bd9420 Mon Sep 17 00:00:00 2001 From: Yves Le Doeuff Date: Thu, 18 Feb 2021 09:35:15 +0000 Subject: [PATCH 30/57] Translated using Weblate (French) Currently translated at 100.0% (7 of 7 strings) Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_last_price_info Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_last_price_info/fr_FR/ --- purchase_last_price_info/i18n/fr_FR.po | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/purchase_last_price_info/i18n/fr_FR.po b/purchase_last_price_info/i18n/fr_FR.po index f8e4435189f..4d5e432264b 100644 --- a/purchase_last_price_info/i18n/fr_FR.po +++ b/purchase_last_price_info/i18n/fr_FR.po @@ -8,33 +8,34 @@ msgstr "" "Project-Id-Version: purchase-workflow (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-07-01 10:08+0000\n" -"PO-Revision-Date: 2016-03-08 10:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (France) (http://www.transifex.com/oca/OCA-purchase-" -"workflow-8-0/language/fr_FR/)\n" +"PO-Revision-Date: 2021-02-18 11:45+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: French (France) (http://www.transifex.com/oca/" +"OCA-purchase-workflow-8-0/language/fr_FR/)\n" "Language: fr_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" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_date #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_date msgid "Last Purchase Date" -msgstr "" +msgstr "Dernière date d'achat" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_purchase_price #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_purchase_price msgid "Last Purchase Price" -msgstr "" +msgstr "Dernier prix d'achat" #. module: purchase_last_price_info #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_product__last_supplier_id #: model:ir.model.fields,field_description:purchase_last_price_info.field_product_template__last_supplier_id msgid "Last Supplier" -msgstr "" +msgstr "Dernier fournisseur" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_product @@ -43,17 +44,16 @@ msgstr "Produit" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_product_template -#, fuzzy msgid "Product Template" -msgstr "Produit" +msgstr "Modèle d'article" #. module: purchase_last_price_info #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_product_last_purchase_info_form_view #: model_terms:ir.ui.view,arch_db:purchase_last_price_info.product_template_last_purchase_info_form_view msgid "Purchase" -msgstr "" +msgstr "Achat" #. module: purchase_last_price_info #: model:ir.model,name:purchase_last_price_info.model_purchase_order msgid "Purchase Order" -msgstr "" +msgstr "Bon de commande" From bb09b0f91a6d139db45b044d9bdd8d837646297c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Fri, 17 Sep 2021 10:32:00 +0200 Subject: [PATCH 31/57] [IMP] purchase_last_price_info: Add last_purchase_currency and last_purchase_price_currency in products. Refactor code: Now used last_purchase_line_id field and is auto-set wit all info. When adding new purchase order lines last_purchase_line_ids field will be used to re-compute last_purchase_line_id field and change all information. TT30742 --- purchase_last_price_info/README.rst | 10 ++- purchase_last_price_info/__init__.py | 1 - purchase_last_price_info/__manifest__.py | 3 +- purchase_last_price_info/hooks.py | 15 ---- purchase_last_price_info/models/__init__.py | 4 +- purchase_last_price_info/models/product.py | 82 ----------------- .../models/product_product.py | 87 +++++++++++++++++++ .../models/product_template.py | 58 +++++++++++++ purchase_last_price_info/models/purchase.py | 21 ----- .../readme/CONTRIBUTORS.rst | 6 +- .../static/description/index.html | 10 ++- .../tests/test_purchase_last_price_info.py | 44 +++++++--- .../views/product_views.xml | 26 +++++- 13 files changed, 225 insertions(+), 142 deletions(-) delete mode 100644 purchase_last_price_info/hooks.py delete mode 100644 purchase_last_price_info/models/product.py create mode 100644 purchase_last_price_info/models/product_product.py create mode 100644 purchase_last_price_info/models/product_template.py delete mode 100644 purchase_last_price_info/models/purchase.py diff --git a/purchase_last_price_info/README.rst b/purchase_last_price_info/README.rst index e3ed50ca7cf..80a3f0fb8ee 100644 --- a/purchase_last_price_info/README.rst +++ b/purchase_last_price_info/README.rst @@ -7,9 +7,9 @@ Purchase Product Last Price Info !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 @@ -68,7 +68,6 @@ Contributors * Alfredo de la Fuente * Oihane Crucelaegui -* Pedro M. Baeza * Ana Juaristi * Carlos Lopez Mite * Adria Gil Sorribes @@ -76,6 +75,11 @@ Contributors * Rattapong Chokmasermkul * Vishnu Vanneri +* `Tecnativa `_: + + * Víctor Martínez + * Pedro M. Baeza + Maintainers ~~~~~~~~~~~ diff --git a/purchase_last_price_info/__init__.py b/purchase_last_price_info/__init__.py index da90975ddf3..0650744f6bc 100644 --- a/purchase_last_price_info/__init__.py +++ b/purchase_last_price_info/__init__.py @@ -1,2 +1 @@ from . import models -from .hooks import set_last_price_info diff --git a/purchase_last_price_info/__manifest__.py b/purchase_last_price_info/__manifest__.py index 9d5770abaa5..3e5bce9f029 100644 --- a/purchase_last_price_info/__manifest__.py +++ b/purchase_last_price_info/__manifest__.py @@ -9,11 +9,10 @@ "AvanzOSC, " "Tecnativa - Pedro M. Baeza, " "Odoo Community Association (OCA)", - "development_status": "Beta", + "development_status": "Production/Stable", "maintainers": ["LoisRForgeFlow"], "website": "https://github.com/OCA/purchase-workflow", "depends": ["purchase"], "data": ["views/product_views.xml"], "installable": True, - "post_init_hook": "set_last_price_info", } diff --git a/purchase_last_price_info/hooks.py b/purchase_last_price_info/hooks.py deleted file mode 100644 index e939b0f3f89..00000000000 --- a/purchase_last_price_info/hooks.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2019 ForgeFlow S.L. -# (http://www.forgeflow.com) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import SUPERUSER_ID, api - - -def set_last_price_info(cr, registry): - """ - This post-init-hook will update last price information for all products - """ - env = api.Environment(cr, SUPERUSER_ID, dict()) - product_obj = env["product.product"] - products = product_obj.search([("purchase_ok", "=", True)]) - products.set_product_last_purchase() diff --git a/purchase_last_price_info/models/__init__.py b/purchase_last_price_info/models/__init__.py index 695882d3557..18b37e85320 100644 --- a/purchase_last_price_info/models/__init__.py +++ b/purchase_last_price_info/models/__init__.py @@ -1,2 +1,2 @@ -from . import product -from . import purchase +from . import product_product +from . import product_template diff --git a/purchase_last_price_info/models/product.py b/purchase_last_price_info/models/product.py deleted file mode 100644 index 32d12739b7b..00000000000 --- a/purchase_last_price_info/models/product.py +++ /dev/null @@ -1,82 +0,0 @@ -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -# Copyright 2019 ForgeFlow S.L. -# (http://www.forgeflow.com) - -from odoo import fields, models - - -class ProductProduct(models.Model): - _inherit = "product.product" - - last_purchase_price = fields.Float(string="Last Purchase Price") - last_purchase_date = fields.Date(string="Last Purchase Date") - last_supplier_id = fields.Many2one( - comodel_name="res.partner", string="Last Supplier" - ) - - def set_product_last_purchase(self, order_id=False): - """ Get last purchase price, last purchase date and last supplier """ - PurchaseOrderLine = self.env["purchase.order.line"] - if not self.check_access_rights("write", raise_exception=False): - return - for product in self: - date_order = False - price_unit_uom = 0.0 - last_supplier = False - - # Check if Order ID was passed, to speed up the search - if order_id: - lines = PurchaseOrderLine.search( - [("order_id", "=", order_id), ("product_id", "=", product.id)], - limit=1, - ) - else: - lines = PurchaseOrderLine.search( - [ - ("product_id", "=", product.id), - ("state", "in", ["purchase", "done"]), - ] - ).sorted(key=lambda l: l.order_id.date_order, reverse=True) - - if lines: - # Get most recent Purchase Order Line - last_line = lines[:1] - - date_order = last_line.order_id.date_order - # Compute Price Unit in the Product base UoM - price_unit_uom = product.uom_id._compute_quantity( - last_line.price_unit, last_line.product_uom - ) - last_supplier = last_line.order_id.partner_id - - # Assign values to record - product.write( - { - "last_purchase_date": date_order, - "last_purchase_price": price_unit_uom, - "last_supplier_id": last_supplier.id if last_supplier else False, - } - ) - # Set related product template values - product.product_tmpl_id.set_product_template_last_purchase( - date_order, price_unit_uom, last_supplier - ) - - -class ProductTemplate(models.Model): - _inherit = "product.template" - - last_purchase_price = fields.Float(string="Last Purchase Price") - last_purchase_date = fields.Date(string="Last Purchase Date") - last_supplier_id = fields.Many2one( - comodel_name="res.partner", string="Last Supplier" - ) - - def set_product_template_last_purchase(self, date_order, price_unit, partner_id): - return self.write( - { - "last_purchase_date": date_order, - "last_purchase_price": price_unit, - "last_supplier_id": partner_id.id if partner_id else False, - } - ) diff --git a/purchase_last_price_info/models/product_product.py b/purchase_last_price_info/models/product_product.py new file mode 100644 index 00000000000..ea05a348642 --- /dev/null +++ b/purchase_last_price_info/models/product_product.py @@ -0,0 +1,87 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2019 ForgeFlow S.L. +# Copyright 2021 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class ProductProduct(models.Model): + _inherit = "product.product" + + last_purchase_line_ids = fields.One2many( + comodel_name="purchase.order.line", + inverse_name="product_id", + domain=[("state", "in", ["purchase", "done"])], + string="Last Purchase Order Lines", + ) + last_purchase_line_id = fields.Many2one( + comodel_name="purchase.order.line", + compute="_compute_last_purchase_line_id", + string="Last Purchase Line", + ) + last_purchase_price = fields.Float( + compute="_compute_last_purchase_line_id_info", string="Last Purchase Price" + ) + last_purchase_date = fields.Datetime( + compute="_compute_last_purchase_line_id_info", string="Last Purchase Date" + ) + last_purchase_supplier_id = fields.Many2one( + comodel_name="res.partner", + compute="_compute_last_purchase_line_id_info", + string="Last Supplier", + ) + last_purchase_currency_id = fields.Many2one( + comodel_name="res.currency", + compute="_compute_last_purchase_line_id_info", + string="Last Purchase Currency", + ) + show_last_purchase_price_currency = fields.Boolean( + compute="_compute_show_last_purchase_price_currency", + ) + last_purchase_price_currency = fields.Float( + string="Last currency purchase price", + compute="_compute_last_purchase_price_currency", + digits=0, + ) + + @api.depends("last_purchase_line_ids") + def _compute_last_purchase_line_id(self): + for item in self: + item.last_purchase_line_id = fields.first(item.last_purchase_line_ids) + + @api.depends("last_purchase_line_id") + def _compute_last_purchase_line_id_info(self): + for item in self: + item.last_purchase_price = item.last_purchase_line_id.price_unit + item.last_purchase_date = item.last_purchase_line_id.date_order + item.last_purchase_supplier_id = item.last_purchase_line_id.partner_id + item.last_purchase_currency_id = item.last_purchase_line_id.currency_id + + @api.depends("last_purchase_line_id", "last_purchase_currency_id") + def _compute_show_last_purchase_price_currency(self): + for item in self: + last_line = item.last_purchase_line_id + item.show_last_purchase_price_currency = ( + last_line + and item.last_purchase_currency_id + and item.last_purchase_currency_id != last_line.company_id.currency_id + ) + + @api.depends( + "last_purchase_line_id", + "show_last_purchase_price_currency", + "last_purchase_currency_id", + "last_purchase_date", + ) + def _compute_last_purchase_price_currency(self): + for item in self: + if item.show_last_purchase_price_currency: + rates = item.last_purchase_currency_id._get_rates( + item.last_purchase_line_id.company_id, item.last_purchase_date + ) + item.last_purchase_price_currency = rates.get( + item.last_purchase_currency_id.id + ) + else: + item.last_purchase_price_currency = 1 diff --git a/purchase_last_price_info/models/product_template.py b/purchase_last_price_info/models/product_template.py new file mode 100644 index 00000000000..13376fc9023 --- /dev/null +++ b/purchase_last_price_info/models/product_template.py @@ -0,0 +1,58 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2019 ForgeFlow S.L. +# Copyright 2021 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class ProductTemplate(models.Model): + _inherit = "product.template" + + last_purchase_line_ids = fields.One2many( + comodel_name="purchase.order.line", + related="product_variant_ids.last_purchase_line_ids", + string="Last Purchase Order Lines", + ) + last_purchase_line_id = fields.Many2one( + comodel_name="purchase.order.line", + compute="_compute_last_purchase_line_id", + string="Last Purchase Line", + ) + last_purchase_price = fields.Float( + compute="_compute_last_purchase_line_id_info", string="Last Purchase Price" + ) + last_purchase_date = fields.Datetime( + compute="_compute_last_purchase_line_id_info", string="Last Purchase Date" + ) + last_purchase_supplier_id = fields.Many2one( + comodel_name="res.partner", + compute="_compute_last_purchase_line_id_info", + string="Last Supplier", + ) + last_purchase_currency_id = fields.Many2one( + comodel_name="res.currency", + compute="_compute_last_purchase_line_id_info", + string="Last Purchase Currency", + ) + show_last_purchase_price_currency = fields.Boolean( + related="product_variant_ids.show_last_purchase_price_currency", + ) + last_purchase_price_currency = fields.Float( + string="Last currency purchase price", + related="product_variant_ids.last_purchase_price_currency", + digits=0, + ) + + @api.depends("last_purchase_line_ids") + def _compute_last_purchase_line_id(self): + for item in self: + item.last_purchase_line_id = fields.first(item.last_purchase_line_ids) + + @api.depends("last_purchase_line_id") + def _compute_last_purchase_line_id_info(self): + for item in self: + item.last_purchase_price = item.last_purchase_line_id.price_unit + item.last_purchase_date = item.last_purchase_line_id.date_order + item.last_purchase_supplier_id = item.last_purchase_line_id.partner_id + item.last_purchase_currency_id = item.last_purchase_line_id.currency_id diff --git a/purchase_last_price_info/models/purchase.py b/purchase_last_price_info/models/purchase.py deleted file mode 100644 index a534a15f495..00000000000 --- a/purchase_last_price_info/models/purchase.py +++ /dev/null @@ -1,21 +0,0 @@ -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -# Copyright 2019 ForgeFlow S.L. -# (http://www.forgeflow.com) - -from odoo import models - - -class PurchaseOrder(models.Model): - _inherit = "purchase.order" - - def button_approve(self, force=False): - res = super().button_approve(force) - for rec in self: - rec.order_line.mapped("product_id").set_product_last_purchase(rec.id) - return res - - def button_cancel(self): - res = super().button_cancel() - for rec in self: - rec.order_line.mapped("product_id").set_product_last_purchase() - return res diff --git a/purchase_last_price_info/readme/CONTRIBUTORS.rst b/purchase_last_price_info/readme/CONTRIBUTORS.rst index b959863f1c1..3802e9a8d35 100644 --- a/purchase_last_price_info/readme/CONTRIBUTORS.rst +++ b/purchase_last_price_info/readme/CONTRIBUTORS.rst @@ -1,9 +1,13 @@ * Alfredo de la Fuente * Oihane Crucelaegui -* Pedro M. Baeza * Ana Juaristi * Carlos Lopez Mite * Adria Gil Sorribes * Lois Rilo * Rattapong Chokmasermkul * Vishnu Vanneri + +* `Tecnativa `_: + + * Víctor Martínez + * Pedro M. Baeza diff --git a/purchase_last_price_info/static/description/index.html b/purchase_last_price_info/static/description/index.html index 5fbdc25d902..4eca7168a1f 100644 --- a/purchase_last_price_info/static/description/index.html +++ b/purchase_last_price_info/static/description/index.html @@ -3,7 +3,7 @@ - + Purchase Product Last Price Info -
    -

    Purchase Product Last Price Info

    +
    + + +Odoo Community Association + +
    +

    Purchase Product Last Price Info

    -

    Production/Stable License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

    +

    Production/Stable License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

    This module adds the last purchase info of the product. What is shown is the supplier, date of purchase, and price of the most recently confirmed purchase order.

    @@ -387,32 +392,32 @@

    Purchase Product Last Price Info

    -

    Usage

    +

    Usage

    In order to use this module, go to:

    • Products -> Tab Purchase (see screenshot)
    -

    Purchase Last Price Info

    +

    Purchase Last Price Info

    -

    Bug Tracker

    +

    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 to smash it by providing a detailed and welcomed -feedback.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

    -

    Credits

    +

    Credits

    -

    Authors

    +

    Authors

    • AvanzOSC
    • Tecnativa
    -

    Contributors

    +

    Contributors

    +
  • Apik: +
  • -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association @@ -444,10 +453,11 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    LoisRForgeFlow

    -

    This module is part of the OCA/purchase-workflow project on GitHub.

    +

    This module is part of the OCA/purchase-workflow project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    diff --git a/purchase_last_price_info/tests/test_purchase_last_price_info.py b/purchase_last_price_info/tests/test_purchase_last_price_info.py index dbe7fbd5637..fae995de43a 100644 --- a/purchase_last_price_info/tests/test_purchase_last_price_info.py +++ b/purchase_last_price_info/tests/test_purchase_last_price_info.py @@ -38,7 +38,7 @@ def test_purchase_last_price_info_demo(self): ("state", "in", ["purchase", "done"]), ] ).sorted(key=lambda line: line.order_id.date_order, reverse=True) - first_purchase_line = fields.first(purchase_lines) + first_purchase_line = purchase_lines[:1] self.assertEqual( fields.Datetime.from_string(first_purchase_line.order_id.date_order).date(), fields.Datetime.from_string(self.product.last_purchase_date).date(), @@ -68,7 +68,7 @@ def test_purchase_last_price_info_new_order(self): 0, { "product_id": self.product.id, - "product_uom": self.product.uom_id.id, + "product_uom_id": self.product.uom_id.id, "price_unit": self.product.standard_price, "name": self.product.name, "date_planned": fields.Datetime.now(), @@ -83,7 +83,7 @@ def test_purchase_last_price_info_new_order(self): fields.Datetime.from_string(purchase_order.date_order).date(), fields.Datetime.from_string(self.product.last_purchase_date).date(), ) - first_order_line = fields.first(purchase_order.order_line) + first_order_line = purchase_order.order_line[:1] self.assertEqual(first_order_line.price_unit, self.product.last_purchase_price) self.assertEqual( first_order_line.currency_id,