From 377499eea591dd95843eacb426ab18051b5a31e6 Mon Sep 17 00:00:00 2001 From: aheficent Date: Tue, 2 Aug 2016 16:19:53 +0200 Subject: [PATCH 01/19] Update code [FIX] Update readme to latest template --- sale_order_line_date/README.rst | 62 ++++++++++++ sale_order_line_date/__init__.py | 8 ++ sale_order_line_date/__openerp__.py | 25 +++++ sale_order_line_date/i18n/es.po | 39 ++++++++ sale_order_line_date/i18n/pt_BR.po | 39 ++++++++ sale_order_line_date/i18n/ro.po | 38 +++++++ sale_order_line_date/i18n/sl.po | 39 ++++++++ sale_order_line_date/models/__init__.py | 8 ++ sale_order_line_date/models/sale_order.py | 41 ++++++++ sale_order_line_date/tests/__init__.py | 8 ++ .../tests/test_sale_order_line_date.py | 98 +++++++++++++++++++ .../views/sale_order_view.xml | 31 ++++++ 12 files changed, 436 insertions(+) create mode 100644 sale_order_line_date/README.rst create mode 100644 sale_order_line_date/__init__.py create mode 100644 sale_order_line_date/__openerp__.py create mode 100644 sale_order_line_date/i18n/es.po create mode 100644 sale_order_line_date/i18n/pt_BR.po create mode 100644 sale_order_line_date/i18n/ro.po create mode 100644 sale_order_line_date/i18n/sl.po create mode 100644 sale_order_line_date/models/__init__.py create mode 100644 sale_order_line_date/models/sale_order.py create mode 100644 sale_order_line_date/tests/__init__.py create mode 100644 sale_order_line_date/tests/test_sale_order_line_date.py create mode 100644 sale_order_line_date/views/sale_order_view.xml diff --git a/sale_order_line_date/README.rst b/sale_order_line_date/README.rst new file mode 100644 index 00000000000..385698863b9 --- /dev/null +++ b/sale_order_line_date/README.rst @@ -0,0 +1,62 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +==================== +Sale order line date +==================== + +This module adds requested date to a sales order lines and propagate it to +stock moves and procurements. +When the requested date of the whole sale order is modified the requested date +of the lines change to match. + +Usage +===== + +Create a Quotation or a Sales Order and fill the requested date in the sale +order line + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/213/8.0 + +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. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ +* Oihane Crucelaegui +* Esther Martín +* Pedro M. Baeza +* Ana Juaristi +* Jordi Ballester +* Aaron Henriquez + +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 https://odoo-community.org. diff --git a/sale_order_line_date/__init__.py b/sale_order_line_date/__init__.py new file mode 100644 index 00000000000..e2f08a821de --- /dev/null +++ b/sale_order_line_date/__init__.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/sale_order_line_date/__openerp__.py b/sale_order_line_date/__openerp__.py new file mode 100644 index 00000000000..6f6bd16616c --- /dev/null +++ b/sale_order_line_date/__openerp__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +{ + "name": "Sale Order Line Date", + "version": "8.0.1.0.0", + "author": "OdooMRP team," + "AvanzOSC," + "Serv. Tecnol. Avanzados - Pedro M. Baeza," + "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/sale-workflow/", + "category": "Sales Management", + "license": "AGPL-3", + "depends": [ + "sale_order_dates", + ], + "data": [ + "views/sale_order_view.xml", + ], + "installable": True, +} diff --git a/sale_order_line_date/i18n/es.po b/sale_order_line_date/i18n/es.po new file mode 100644 index 00000000000..cf2d39a974d --- /dev/null +++ b/sale_order_line_date/i18n/es.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# Pedro M. Baeza , 2015 +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-wip (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-07 10:45+0000\n" +"PO-Revision-Date: 2015-10-09 10:59+0000\n" +"Last-Translator: Pedro M. Baeza \n" +"Language-Team: Spanish (http://www.transifex.com/oca/odoomrp-wip-8-0/language/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "Fecha solicitada" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Pedidos de venta" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea pedido de venta" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "" diff --git a/sale_order_line_date/i18n/pt_BR.po b/sale_order_line_date/i18n/pt_BR.po new file mode 100644 index 00000000000..a14a111191d --- /dev/null +++ b/sale_order_line_date/i18n/pt_BR.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# danimaribeiro , 2015 +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-wip (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-07 10:45+0000\n" +"PO-Revision-Date: 2015-10-09 03:29+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/odoomrp-wip-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: sale_order_line_date +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "Data requisitada" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venda" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linha pedido de venda" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/ro.po b/sale_order_line_date/i18n/ro.po new file mode 100644 index 00000000000..d4949535827 --- /dev/null +++ b/sale_order_line_date/i18n/ro.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-wip (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-11-20 18:11+0000\n" +"PO-Revision-Date: 2015-09-10 16:42+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/odoomrp-wip-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: sale_order_line_date +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Comandă vânzare" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linie comandă vânzare" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "" diff --git a/sale_order_line_date/i18n/sl.po b/sale_order_line_date/i18n/sl.po new file mode 100644 index 00000000000..8466e63b5d8 --- /dev/null +++ b/sale_order_line_date/i18n/sl.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# Matjaž Mozetič , 2015 +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-wip (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-07 10:45+0000\n" +"PO-Revision-Date: 2015-09-20 19:05+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-wip-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: sale_order_line_date +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "Zahtevani datum" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Postavka prodajnega naloga" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/models/__init__.py b/sale_order_line_date/models/__init__.py new file mode 100644 index 00000000000..9fe48df70fa --- /dev/null +++ b/sale_order_line_date/models/__init__.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import sale_order diff --git a/sale_order_line_date/models/sale_order.py b/sale_order_line_date/models/sale_order.py new file mode 100644 index 00000000000..6fd9e172750 --- /dev/null +++ b/sale_order_line_date/models/sale_order.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from openerp import models, fields, api + + +class SaleOrder(models.Model): + _inherit = 'sale.order' + + @api.multi + def onchange_requested_date(self, requested_date, commitment_date): + """Warn if the requested dates is sooner than the commitment date""" + result = super(SaleOrder, self).onchange_requested_date( + requested_date, commitment_date) + if not self: + return result + self.ensure_one() + if 'warning' not in result: + lines = [] + for line in self.order_line: + lines.append((1, line.id, {'requested_date': requested_date})) + result['value'] = {'order_line': lines} + return result + + @api.model + def _get_date_planned(self, order, line, start_date): + if line.requested_date: + return line.requested_date + else: + return super(SaleOrder, self)._get_date_planned( + order, line, start_date) + + +class SaleOrderLine(models.Model): + _inherit = 'sale.order.line' + + requested_date = fields.Datetime(string='Requested Date') diff --git a/sale_order_line_date/tests/__init__.py b/sale_order_line_date/tests/__init__.py new file mode 100644 index 00000000000..5e9e9799026 --- /dev/null +++ b/sale_order_line_date/tests/__init__.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from . import test_sale_order_line_date diff --git a/sale_order_line_date/tests/test_sale_order_line_date.py b/sale_order_line_date/tests/test_sale_order_line_date.py new file mode 100644 index 00000000000..09b4b5d1a89 --- /dev/null +++ b/sale_order_line_date/tests/test_sale_order_line_date.py @@ -0,0 +1,98 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from openerp.tests.common import TransactionCase +from openerp import fields +import datetime + + +class TestSaleOrderLineDates(TransactionCase): + """Check the _get_shipped method of Sale Order. """ + + def setUp(self): + """Setup a Sale Order with 4 lines. + And prepare procurements + """ + super(TestSaleOrderLineDates, self).setUp() + customer = self.env.ref('base.res_partner_3') + price = 100.0 + p1 = self._create_product(price) + qty = 1000 + self._update_qty(p1, qty) + today = datetime.datetime.now() + dt1 = today + datetime.timedelta(days=1) + dt2 = today + datetime.timedelta(days=7) + self.dt3 = today + datetime.timedelta(days=3) + self.sale1 = self._create_sale_order(customer, dt2) + self.sale_line1 = self._create_sale_order_line( + self.sale1, p1, qty, price, dt1 + ) + self.sale_line2 = self._create_sale_order_line( + self.sale1, p1, qty, price, dt2 + ) + + def _create_product(self, price): + category = self.env.ref('product.product_category_1') + product = self.env['product.product'].create({ + 'name': 'test_product', + 'type': 'product', + 'standard_price': price, + 'list_price': price, + 'categ_id': category.id, + 'valuation': 'real_time', + }) + return product + + def _create_sale_order(self, customer, date): + sale = self.env['sale.order'].create({ + 'partner_id': customer.id, + 'partner_invoice_id': customer.id, + 'partner_shipping_id': customer.id, + 'requested_date': date + }) + return sale + + def _create_sale_order_line(self, sale, product, qty, price, date): + sale_line = self.env['sale.order.line'].create({ + 'product_id': product.id, + 'name': 'cool product', + 'order_id': sale.id, + 'price_unit': price, + 'product_uom_qty': qty, + 'requested_date': date}) + return sale_line + + def _update_qty(self, product, qty): + location_stock = self.env.ref('stock.stock_location_stock') + wiz_obj = self.env['stock.change.product.qty'] + wiz = wiz_obj.create({'product_id': product.id, + 'new_quantity': qty, + 'location_id': location_stock.id, + }) + wiz.change_product_qty() + + def test_procurement_scheduled_date(self): + """True when matches the requested date in the sale_order_line""" + self.sale1.action_button_confirm() + procurements = self.env['procurement.order'].search([ + ('origin', '=', self.sale1.name), + ('date_planned', '=', self.sale_line1.requested_date)]) + self.assertEqual(len(procurements), 1) + procurements = self.env['procurement.order'].search([ + ('origin', '=', self.sale1.name), + ('date_planned', '=', self.sale_line2.requested_date)]) + self.assertEqual(len(procurements), 1) + + def test_on_change_requested_date(self): + """True when the requested date in the sale_order_line + matches the requested date in the sale order""" + req_date = fields.Datetime.to_string(self.dt3) + self.sale1.write({'requested_date': self.dt3}) + result = self.sale1.onchange_requested_date(self.sale1.requested_date, + self.sale1.commitment_date) + for line in result['value']['order_line']: + self.assertEqual(line[2]['requested_date'], req_date) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml new file mode 100644 index 00000000000..5203705c7de --- /dev/null +++ b/sale_order_line_date/views/sale_order_view.xml @@ -0,0 +1,31 @@ + + + + + sale.order.requested.date.form + sale.order + + + + {'default_requested_date':requested_date} + + + + + + + + + + + sale.order.line.ext.tree + sale.order.line + + + + + + + + + From c464db0c6f6ee05c2ace1dada072e58f068c6fac Mon Sep 17 00:00:00 2001 From: Darshan Patel Date: Mon, 22 May 2017 14:14:47 +0530 Subject: [PATCH 02/19] sale_order_line_date v9 --- sale_order_line_date/README.rst | 5 +-- sale_order_line_date/__openerp__.py | 4 +-- sale_order_line_date/models/sale_order.py | 35 +++++++++++++------ .../tests/test_sale_order_line_date.py | 11 +++--- .../views/sale_order_view.xml | 4 +-- 5 files changed, 38 insertions(+), 21 deletions(-) diff --git a/sale_order_line_date/README.rst b/sale_order_line_date/README.rst index 385698863b9..23bf73be105 100644 --- a/sale_order_line_date/README.rst +++ b/sale_order_line_date/README.rst @@ -14,12 +14,12 @@ of the lines change to match. Usage ===== -Create a Quotation or a Sales Order and fill the requested date in the sale +Create a Quotation or a Sales Order and it fills the requested date in the sale order line .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/213/8.0 + :target: https://runbot.odoo-community.org/runbot/167/9.0 Bug Tracker =========== @@ -45,6 +45,7 @@ Contributors * Ana Juaristi * Jordi Ballester * Aaron Henriquez +* Serpent Consulting Services Pvt. Ltd. Maintainer ---------- diff --git a/sale_order_line_date/__openerp__.py b/sale_order_line_date/__openerp__.py index 6f6bd16616c..41110981546 100644 --- a/sale_order_line_date/__openerp__.py +++ b/sale_order_line_date/__openerp__.py @@ -7,12 +7,12 @@ { "name": "Sale Order Line Date", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "author": "OdooMRP team," "AvanzOSC," "Serv. Tecnol. Avanzados - Pedro M. Baeza," "Odoo Community Association (OCA)", - "website": "https://github.com/OCA/sale-workflow/", + "website": "https://odoo-community.org/", "category": "Sales Management", "license": "AGPL-3", "depends": [ diff --git a/sale_order_line_date/models/sale_order.py b/sale_order_line_date/models/sale_order.py index 6fd9e172750..0cf97ee55f2 100644 --- a/sale_order_line_date/models/sale_order.py +++ b/sale_order_line_date/models/sale_order.py @@ -5,7 +5,7 @@ # © 2016 Eficent Business and IT Consulting Services, S.L. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from openerp import models, fields, api +from openerp import api, fields, models class SaleOrder(models.Model): @@ -26,16 +26,31 @@ def onchange_requested_date(self, requested_date, commitment_date): result['value'] = {'order_line': lines} return result - @api.model - def _get_date_planned(self, order, line, start_date): - if line.requested_date: - return line.requested_date - else: - return super(SaleOrder, self)._get_date_planned( - order, line, start_date) - class SaleOrderLine(models.Model): _inherit = 'sale.order.line' - requested_date = fields.Datetime(string='Requested Date') + requested_date = fields.Datetime() + + @api.multi + def write(self, vals): + for line in self: + if not line.requested_date and line.order_id.requested_date: + vals.update({'requested_date': line.order_id.requested_date}) + return super(SaleOrderLine, self).write(vals) + + @api.model + def create(self, vals): + res = super(SaleOrderLine, self).create(vals) + if res.order_id.requested_date and not res.requested_date: + res.write({'requested_date': res.order_id.requested_date}) + return res + + @api.multi + def _prepare_order_line_procurement(self, group_id=False): + self.ensure_one() + vals = super(SaleOrderLine, self).\ + _prepare_order_line_procurement(group_id) + if self.requested_date: + vals.update({'date_planned': self.requested_date}) + return vals diff --git a/sale_order_line_date/tests/test_sale_order_line_date.py b/sale_order_line_date/tests/test_sale_order_line_date.py index 09b4b5d1a89..6913e94c2c3 100644 --- a/sale_order_line_date/tests/test_sale_order_line_date.py +++ b/sale_order_line_date/tests/test_sale_order_line_date.py @@ -19,13 +19,15 @@ def setUp(self): """ super(TestSaleOrderLineDates, self).setUp() customer = self.env.ref('base.res_partner_3') + self.product_ctg_model = self.env['product.category'] + self.company = self.env.ref('base.main_company') price = 100.0 - p1 = self._create_product(price) qty = 1000 + p1 = self._create_product(price) self._update_qty(p1, qty) today = datetime.datetime.now() - dt1 = today + datetime.timedelta(days=1) - dt2 = today + datetime.timedelta(days=7) + dt1 = today + datetime.timedelta(days=9) + dt2 = today + datetime.timedelta(days=10) self.dt3 = today + datetime.timedelta(days=3) self.sale1 = self._create_sale_order(customer, dt2) self.sale_line1 = self._create_sale_order_line( @@ -43,7 +45,6 @@ def _create_product(self, price): 'standard_price': price, 'list_price': price, 'categ_id': category.id, - 'valuation': 'real_time', }) return product @@ -77,7 +78,7 @@ def _update_qty(self, product, qty): def test_procurement_scheduled_date(self): """True when matches the requested date in the sale_order_line""" - self.sale1.action_button_confirm() + self.sale1.action_confirm() procurements = self.env['procurement.order'].search([ ('origin', '=', self.sale1.name), ('date_planned', '=', self.sale_line1.requested_date)]) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index 5203705c7de..b0e9ec2add3 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -4,7 +4,7 @@ sale.order.requested.date.form sale.order - + {'default_requested_date':requested_date} @@ -22,7 +22,7 @@ sale.order.line - + From 3994b2aaf2b0f1874ed02505a3914d181b664d2f Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 24 Jun 2017 09:36:14 +0200 Subject: [PATCH 03/19] OCA Transbot updated translations from Transifex --- sale_order_line_date/i18n/ca.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/de.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/el_GR.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/es.po | 23 ++++++++------------ sale_order_line_date/i18n/es_ES.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/es_VE.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/fi.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/fr.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/hr.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/hr_HR.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/hu.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/it.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/nl.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/pt.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/pt_BR.po | 23 ++++++++------------ sale_order_line_date/i18n/sl.po | 23 ++++++++------------ sale_order_line_date/i18n/tr.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/tr_TR.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/vi_VN.po | 34 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/zh_CN.po | 34 ++++++++++++++++++++++++++++++ 20 files changed, 605 insertions(+), 42 deletions(-) create mode 100644 sale_order_line_date/i18n/ca.po create mode 100644 sale_order_line_date/i18n/de.po create mode 100644 sale_order_line_date/i18n/el_GR.po create mode 100644 sale_order_line_date/i18n/es_ES.po create mode 100644 sale_order_line_date/i18n/es_VE.po create mode 100644 sale_order_line_date/i18n/fi.po create mode 100644 sale_order_line_date/i18n/fr.po create mode 100644 sale_order_line_date/i18n/hr.po create mode 100644 sale_order_line_date/i18n/hr_HR.po create mode 100644 sale_order_line_date/i18n/hu.po create mode 100644 sale_order_line_date/i18n/it.po create mode 100644 sale_order_line_date/i18n/nl.po create mode 100644 sale_order_line_date/i18n/pt.po create mode 100644 sale_order_line_date/i18n/tr.po create mode 100644 sale_order_line_date/i18n/tr_TR.po create mode 100644 sale_order_line_date/i18n/vi_VN.po create mode 100644 sale_order_line_date/i18n/zh_CN.po diff --git a/sale_order_line_date/i18n/ca.po b/sale_order_line_date/i18n/ca.po new file mode 100644 index 00000000000..de937ad5b76 --- /dev/null +++ b/sale_order_line_date/i18n/ca.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Comandes de venda" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línia de comanda de vendes" diff --git a/sale_order_line_date/i18n/de.po b/sale_order_line_date/i18n/de.po new file mode 100644 index 00000000000..9b4105fbff5 --- /dev/null +++ b/sale_order_line_date/i18n/de.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Verkaufsauftrag" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Auftragsposition" diff --git a/sale_order_line_date/i18n/el_GR.po b/sale_order_line_date/i18n/el_GR.po new file mode 100644 index 00000000000..881d9ad9884 --- /dev/null +++ b/sale_order_line_date/i18n/el_GR.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# Kostas Goutoudis , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: Kostas Goutoudis , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Εντολή Πώλησης" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/es.po b/sale_order_line_date/i18n/es.po index cf2d39a974d..37de833bab7 100644 --- a/sale_order_line_date/i18n/es.po +++ b/sale_order_line_date/i18n/es.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# Pedro M. Baeza , 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: odoomrp-wip (8.0)\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-07 10:45+0000\n" -"PO-Revision-Date: 2015-10-09 10:59+0000\n" -"Last-Translator: Pedro M. Baeza \n" -"Language-Team: Spanish (http://www.transifex.com/oca/odoomrp-wip-8-0/language/es/)\n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" -msgstr "Fecha solicitada" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,8 +32,3 @@ msgstr "Pedidos de venta" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Línea pedido de venta" - -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "" diff --git a/sale_order_line_date/i18n/es_ES.po b/sale_order_line_date/i18n/es_ES.po new file mode 100644 index 00000000000..97ec0664379 --- /dev/null +++ b/sale_order_line_date/i18n/es_ES.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/es_VE.po b/sale_order_line_date/i18n/es_VE.po new file mode 100644 index 00000000000..303ec1c57fa --- /dev/null +++ b/sale_order_line_date/i18n/es_VE.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Pedidos de venta" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" diff --git a/sale_order_line_date/i18n/fi.po b/sale_order_line_date/i18n/fi.po new file mode 100644 index 00000000000..67fa0728749 --- /dev/null +++ b/sale_order_line_date/i18n/fi.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Myyntitilaus" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Myyntitilausrivi" diff --git a/sale_order_line_date/i18n/fr.po b/sale_order_line_date/i18n/fr.po new file mode 100644 index 00000000000..659cc0fe97b --- /dev/null +++ b/sale_order_line_date/i18n/fr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Bon de commande" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sales Order Line" diff --git a/sale_order_line_date/i18n/hr.po b/sale_order_line_date/i18n/hr.po new file mode 100644 index 00000000000..dc896e88ec3 --- /dev/null +++ b/sale_order_line_date/i18n/hr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/hr_HR.po b/sale_order_line_date/i18n/hr_HR.po new file mode 100644 index 00000000000..a237a3f3642 --- /dev/null +++ b/sale_order_line_date/i18n/hr_HR.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Prodjani nalog" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/hu.po b/sale_order_line_date/i18n/hu.po new file mode 100644 index 00000000000..32ded5b21b3 --- /dev/null +++ b/sale_order_line_date/i18n/hu.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Vevői megrendelés" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/it.po b/sale_order_line_date/i18n/it.po new file mode 100644 index 00000000000..94907668177 --- /dev/null +++ b/sale_order_line_date/i18n/it.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Ordini vendita" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linea d'ordine di vendita" diff --git a/sale_order_line_date/i18n/nl.po b/sale_order_line_date/i18n/nl.po new file mode 100644 index 00000000000..4ba9fff7aa9 --- /dev/null +++ b/sale_order_line_date/i18n/nl.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Verkooporderregel" diff --git a/sale_order_line_date/i18n/pt.po b/sale_order_line_date/i18n/pt.po new file mode 100644 index 00000000000..a50501204e0 --- /dev/null +++ b/sale_order_line_date/i18n/pt.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# Daniel Reis , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: Daniel Reis , 2017\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Ordem de Venda" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/pt_BR.po b/sale_order_line_date/i18n/pt_BR.po index a14a111191d..a3311a6daec 100644 --- a/sale_order_line_date/i18n/pt_BR.po +++ b/sale_order_line_date/i18n/pt_BR.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# danimaribeiro , 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: odoomrp-wip (8.0)\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-07 10:45+0000\n" -"PO-Revision-Date: 2015-10-09 03:29+0000\n" -"Last-Translator: danimaribeiro \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/odoomrp-wip-8-0/language/pt_BR/)\n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" -msgstr "Data requisitada" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,8 +32,3 @@ msgstr "Pedido de venda" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Linha pedido de venda" - -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/sl.po b/sale_order_line_date/i18n/sl.po index 8466e63b5d8..d736a47ca34 100644 --- a/sale_order_line_date/i18n/sl.po +++ b/sale_order_line_date/i18n/sl.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# Matjaž Mozetič , 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: odoomrp-wip (8.0)\n" +"Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-07 10:45+0000\n" -"PO-Revision-Date: 2015-09-20 19:05+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/sl/)\n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" -msgstr "Zahtevani datum" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,8 +32,3 @@ msgstr "Prodajni nalog" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Postavka prodajnega naloga" - -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/tr.po b/sale_order_line_date/i18n/tr.po new file mode 100644 index 00000000000..b50e1ac1ced --- /dev/null +++ b/sale_order_line_date/i18n/tr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Sipariş Emri" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sipariş Kalemi" diff --git a/sale_order_line_date/i18n/tr_TR.po b/sale_order_line_date/i18n/tr_TR.po new file mode 100644 index 00000000000..f9fdc233869 --- /dev/null +++ b/sale_order_line_date/i18n/tr_TR.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Satış emri" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sipariş emri satırı " diff --git a/sale_order_line_date/i18n/vi_VN.po b/sale_order_line_date/i18n/vi_VN.po new file mode 100644 index 00000000000..10a64c3bc7a --- /dev/null +++ b/sale_order_line_date/i18n/vi_VN.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Đơn hàng Bán" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/zh_CN.po b/sale_order_line_date/i18n/zh_CN.po new file mode 100644 index 00000000000..41e8c5a0215 --- /dev/null +++ b/sale_order_line_date/i18n/zh_CN.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-24 01:09+0000\n" +"PO-Revision-Date: 2017-06-24 01:09+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "销售订单" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" From 58ceeec76a71fd2768a6aa96b61b2c3ec3f37786 Mon Sep 17 00:00:00 2001 From: Nikul Chaudhary Date: Wed, 26 Jul 2017 13:51:00 +0530 Subject: [PATCH 04/19] [MIG] sale_order_line_date v10 --- sale_order_line_date/README.rst | 2 +- sale_order_line_date/__init__.py | 1 + .../{__openerp__.py => __manifest__.py} | 3 +- sale_order_line_date/i18n/ca.po | 34 ----------- sale_order_line_date/i18n/de.po | 34 ----------- sale_order_line_date/i18n/el_GR.po | 34 ----------- sale_order_line_date/i18n/es.po | 23 ++++--- sale_order_line_date/i18n/es_ES.po | 34 ----------- sale_order_line_date/i18n/es_VE.po | 34 ----------- sale_order_line_date/i18n/fi.po | 34 ----------- sale_order_line_date/i18n/fr.po | 34 ----------- sale_order_line_date/i18n/hr.po | 34 ----------- sale_order_line_date/i18n/hr_HR.po | 34 ----------- sale_order_line_date/i18n/hu.po | 34 ----------- sale_order_line_date/i18n/it.po | 34 ----------- sale_order_line_date/i18n/nl.po | 34 ----------- sale_order_line_date/i18n/pt.po | 34 ----------- sale_order_line_date/i18n/pt_BR.po | 23 ++++--- sale_order_line_date/i18n/sl.po | 23 ++++--- sale_order_line_date/i18n/tr.po | 34 ----------- sale_order_line_date/i18n/tr_TR.po | 34 ----------- sale_order_line_date/i18n/vi_VN.po | 34 ----------- sale_order_line_date/i18n/zh_CN.po | 34 ----------- sale_order_line_date/models/__init__.py | 2 + sale_order_line_date/models/sale_order.py | 43 +++---------- .../models/sale_order_line.py | 41 +++++++++++++ sale_order_line_date/tests/__init__.py | 1 + .../tests/test_sale_order_line_date.py | 60 ++++--------------- .../views/sale_order_view.xml | 56 ++++++++--------- 29 files changed, 139 insertions(+), 717 deletions(-) rename sale_order_line_date/{__openerp__.py => __manifest__.py} (89%) delete mode 100644 sale_order_line_date/i18n/ca.po delete mode 100644 sale_order_line_date/i18n/de.po delete mode 100644 sale_order_line_date/i18n/el_GR.po delete mode 100644 sale_order_line_date/i18n/es_ES.po delete mode 100644 sale_order_line_date/i18n/es_VE.po delete mode 100644 sale_order_line_date/i18n/fi.po delete mode 100644 sale_order_line_date/i18n/fr.po delete mode 100644 sale_order_line_date/i18n/hr.po delete mode 100644 sale_order_line_date/i18n/hr_HR.po delete mode 100644 sale_order_line_date/i18n/hu.po delete mode 100644 sale_order_line_date/i18n/it.po delete mode 100644 sale_order_line_date/i18n/nl.po delete mode 100644 sale_order_line_date/i18n/pt.po delete mode 100644 sale_order_line_date/i18n/tr.po delete mode 100644 sale_order_line_date/i18n/tr_TR.po delete mode 100644 sale_order_line_date/i18n/vi_VN.po delete mode 100644 sale_order_line_date/i18n/zh_CN.po create mode 100644 sale_order_line_date/models/sale_order_line.py diff --git a/sale_order_line_date/README.rst b/sale_order_line_date/README.rst index 23bf73be105..955d3971608 100644 --- a/sale_order_line_date/README.rst +++ b/sale_order_line_date/README.rst @@ -19,7 +19,7 @@ order line .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/167/9.0 + :target: https://runbot.odoo-community.org/runbot/167/10.0 Bug Tracker =========== diff --git a/sale_order_line_date/__init__.py b/sale_order_line_date/__init__.py index e2f08a821de..24b2bd7b745 100644 --- a/sale_order_line_date/__init__.py +++ b/sale_order_line_date/__init__.py @@ -3,6 +3,7 @@ # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import models diff --git a/sale_order_line_date/__openerp__.py b/sale_order_line_date/__manifest__.py similarity index 89% rename from sale_order_line_date/__openerp__.py rename to sale_order_line_date/__manifest__.py index 41110981546..b92adc80b40 100644 --- a/sale_order_line_date/__openerp__.py +++ b/sale_order_line_date/__manifest__.py @@ -3,11 +3,12 @@ # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Sale Order Line Date", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "author": "OdooMRP team," "AvanzOSC," "Serv. Tecnol. Avanzados - Pedro M. Baeza," diff --git a/sale_order_line_date/i18n/ca.po b/sale_order_line_date/i18n/ca.po deleted file mode 100644 index de937ad5b76..00000000000 --- a/sale_order_line_date/i18n/ca.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Comandes de venda" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Línia de comanda de vendes" diff --git a/sale_order_line_date/i18n/de.po b/sale_order_line_date/i18n/de.po deleted file mode 100644 index 9b4105fbff5..00000000000 --- a/sale_order_line_date/i18n/de.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: German (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Verkaufsauftrag" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Auftragsposition" diff --git a/sale_order_line_date/i18n/el_GR.po b/sale_order_line_date/i18n/el_GR.po deleted file mode 100644 index 881d9ad9884..00000000000 --- a/sale_order_line_date/i18n/el_GR.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# Kostas Goutoudis , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: Kostas Goutoudis , 2017\n" -"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Εντολή Πώλησης" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/es.po b/sale_order_line_date/i18n/es.po index 37de833bab7..cf2d39a974d 100644 --- a/sale_order_line_date/i18n/es.po +++ b/sale_order_line_date/i18n/es.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# OCA Transbot , 2017 +# Pedro M. Baeza , 2015 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: odoomrp-wip (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"POT-Creation-Date: 2015-10-07 10:45+0000\n" +"PO-Revision-Date: 2015-10-09 10:59+0000\n" +"Last-Translator: Pedro M. Baeza \n" +"Language-Team: Spanish (http://www.transifex.com/oca/odoomrp-wip-8-0/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "Fecha solicitada" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,3 +32,8 @@ msgstr "Pedidos de venta" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Línea pedido de venta" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "" diff --git a/sale_order_line_date/i18n/es_ES.po b/sale_order_line_date/i18n/es_ES.po deleted file mode 100644 index 97ec0664379..00000000000 --- a/sale_order_line_date/i18n/es_ES.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Pedido de venta" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/es_VE.po b/sale_order_line_date/i18n/es_VE.po deleted file mode 100644 index 303ec1c57fa..00000000000 --- a/sale_order_line_date/i18n/es_VE.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es_VE\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Pedidos de venta" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Línea de pedido de venta" diff --git a/sale_order_line_date/i18n/fi.po b/sale_order_line_date/i18n/fi.po deleted file mode 100644 index 67fa0728749..00000000000 --- a/sale_order_line_date/i18n/fi.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Myyntitilaus" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Myyntitilausrivi" diff --git a/sale_order_line_date/i18n/fr.po b/sale_order_line_date/i18n/fr.po deleted file mode 100644 index 659cc0fe97b..00000000000 --- a/sale_order_line_date/i18n/fr.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: French (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Bon de commande" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Sales Order Line" diff --git a/sale_order_line_date/i18n/hr.po b/sale_order_line_date/i18n/hr.po deleted file mode 100644 index dc896e88ec3..00000000000 --- a/sale_order_line_date/i18n/hr.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/hr_HR.po b/sale_order_line_date/i18n/hr_HR.po deleted file mode 100644 index a237a3f3642..00000000000 --- a/sale_order_line_date/i18n/hr_HR.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# Bole , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: Bole , 2017\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Prodjani nalog" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/hu.po b/sale_order_line_date/i18n/hu.po deleted file mode 100644 index 32ded5b21b3..00000000000 --- a/sale_order_line_date/i18n/hu.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: hu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Vevői megrendelés" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/it.po b/sale_order_line_date/i18n/it.po deleted file mode 100644 index 94907668177..00000000000 --- a/sale_order_line_date/i18n/it.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Ordini vendita" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Linea d'ordine di vendita" diff --git a/sale_order_line_date/i18n/nl.po b/sale_order_line_date/i18n/nl.po deleted file mode 100644 index 4ba9fff7aa9..00000000000 --- a/sale_order_line_date/i18n/nl.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Verkooporder" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Verkooporderregel" diff --git a/sale_order_line_date/i18n/pt.po b/sale_order_line_date/i18n/pt.po deleted file mode 100644 index a50501204e0..00000000000 --- a/sale_order_line_date/i18n/pt.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# Daniel Reis , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: Daniel Reis , 2017\n" -"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Ordem de Venda" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/pt_BR.po b/sale_order_line_date/i18n/pt_BR.po index a3311a6daec..a14a111191d 100644 --- a/sale_order_line_date/i18n/pt_BR.po +++ b/sale_order_line_date/i18n/pt_BR.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# OCA Transbot , 2017 +# danimaribeiro , 2015 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: odoomrp-wip (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"POT-Creation-Date: 2015-10-07 10:45+0000\n" +"PO-Revision-Date: 2015-10-09 03:29+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/odoomrp-wip-8-0/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "Data requisitada" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,3 +32,8 @@ msgstr "Pedido de venda" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Linha pedido de venda" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/sl.po b/sale_order_line_date/i18n/sl.po index d736a47ca34..8466e63b5d8 100644 --- a/sale_order_line_date/i18n/sl.po +++ b/sale_order_line_date/i18n/sl.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# OCA Transbot , 2017 +# Matjaž Mozetič , 2015 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: odoomrp-wip (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"POT-Creation-Date: 2015-10-07 10:45+0000\n" +"PO-Revision-Date: 2015-09-20 19:05+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" +#: field:sale.order.line,requested_date:0 +msgid "Requested Date" +msgstr "Zahtevani datum" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,3 +32,8 @@ msgstr "Prodajni nalog" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Postavka prodajnega naloga" + +#. module: sale_order_line_date +#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view +msgid "{'default_requested_date':requested_date}" +msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/tr.po b/sale_order_line_date/i18n/tr.po deleted file mode 100644 index b50e1ac1ced..00000000000 --- a/sale_order_line_date/i18n/tr.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Sipariş Emri" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Sipariş Kalemi" diff --git a/sale_order_line_date/i18n/tr_TR.po b/sale_order_line_date/i18n/tr_TR.po deleted file mode 100644 index f9fdc233869..00000000000 --- a/sale_order_line_date/i18n/tr_TR.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Satış emri" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "Sipariş emri satırı " diff --git a/sale_order_line_date/i18n/vi_VN.po b/sale_order_line_date/i18n/vi_VN.po deleted file mode 100644 index 10a64c3bc7a..00000000000 --- a/sale_order_line_date/i18n/vi_VN.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Đơn hàng Bán" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/i18n/zh_CN.po b/sale_order_line_date/i18n/zh_CN.po deleted file mode 100644 index 41e8c5a0215..00000000000 --- a/sale_order_line_date/i18n/zh_CN.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_date -# -# Translators: -# OCA Transbot , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-24 01:09+0000\n" -"PO-Revision-Date: 2017-06-24 01:09+0000\n" -"Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" -msgstr "" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "销售订单" - -#. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/sale_order_line_date/models/__init__.py b/sale_order_line_date/models/__init__.py index 9fe48df70fa..70cae41745d 100644 --- a/sale_order_line_date/models/__init__.py +++ b/sale_order_line_date/models/__init__.py @@ -3,6 +3,8 @@ # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import sale_order +from . import sale_order_line diff --git a/sale_order_line_date/models/sale_order.py b/sale_order_line_date/models/sale_order.py index 0cf97ee55f2..1c4ece49a82 100644 --- a/sale_order_line_date/models/sale_order.py +++ b/sale_order_line_date/models/sale_order.py @@ -3,54 +3,29 @@ # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from openerp import api, fields, models +from odoo import api, models class SaleOrder(models.Model): _inherit = 'sale.order' @api.multi - def onchange_requested_date(self, requested_date, commitment_date): + @api.onchange('requested_date') + def onchange_requested_date(self): """Warn if the requested dates is sooner than the commitment date""" - result = super(SaleOrder, self).onchange_requested_date( - requested_date, commitment_date) + result = super(SaleOrder, self).onchange_requested_date() + if not result: + result = {} if not self: return result self.ensure_one() if 'warning' not in result: lines = [] for line in self.order_line: - lines.append((1, line.id, {'requested_date': requested_date})) + lines.append((1, line.id, {'requested_date': + self.requested_date})) result['value'] = {'order_line': lines} return result - - -class SaleOrderLine(models.Model): - _inherit = 'sale.order.line' - - requested_date = fields.Datetime() - - @api.multi - def write(self, vals): - for line in self: - if not line.requested_date and line.order_id.requested_date: - vals.update({'requested_date': line.order_id.requested_date}) - return super(SaleOrderLine, self).write(vals) - - @api.model - def create(self, vals): - res = super(SaleOrderLine, self).create(vals) - if res.order_id.requested_date and not res.requested_date: - res.write({'requested_date': res.order_id.requested_date}) - return res - - @api.multi - def _prepare_order_line_procurement(self, group_id=False): - self.ensure_one() - vals = super(SaleOrderLine, self).\ - _prepare_order_line_procurement(group_id) - if self.requested_date: - vals.update({'date_planned': self.requested_date}) - return vals diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py new file mode 100644 index 00000000000..14f76412fa1 --- /dev/null +++ b/sale_order_line_date/models/sale_order_line.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# © 2016 OdooMRP team +# © 2016 AvanzOSC +# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza +# © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models + + +class SaleOrderLine(models.Model): + _inherit = 'sale.order.line' + + requested_date = fields.Datetime() + + @api.multi + def write(self, vals): + for line in self: + if not line.requested_date and line.order_id.requested_date and\ + 'requested_date' not in vals: + vals.update({ + 'requested_date': line.order_id.requested_date + }) + return super(SaleOrderLine, self).write(vals) + + @api.model + def create(self, vals): + res = super(SaleOrderLine, self).create(vals) + if res.order_id.requested_date and not res.requested_date: + res.write({'requested_date': res.order_id.requested_date}) + return res + + @api.multi + def _prepare_order_line_procurement(self, group_id=False): + self.ensure_one() + vals = super(SaleOrderLine, self).\ + _prepare_order_line_procurement(group_id) + if self.requested_date: + vals.update({'date_planned': self.requested_date}) + return vals diff --git a/sale_order_line_date/tests/__init__.py b/sale_order_line_date/tests/__init__.py index 5e9e9799026..084224fd9eb 100644 --- a/sale_order_line_date/tests/__init__.py +++ b/sale_order_line_date/tests/__init__.py @@ -3,6 +3,7 @@ # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import test_sale_order_line_date diff --git a/sale_order_line_date/tests/test_sale_order_line_date.py b/sale_order_line_date/tests/test_sale_order_line_date.py index 6913e94c2c3..1f08c773590 100644 --- a/sale_order_line_date/tests/test_sale_order_line_date.py +++ b/sale_order_line_date/tests/test_sale_order_line_date.py @@ -3,10 +3,11 @@ # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. +# Copyright 2017 Serpent Consulting Services Pvt. Ltd. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from openerp.tests.common import TransactionCase -from openerp import fields +from odoo.tests.common import TransactionCase +from odoo import fields import datetime @@ -15,38 +16,23 @@ class TestSaleOrderLineDates(TransactionCase): def setUp(self): """Setup a Sale Order with 4 lines. - And prepare procurements """ super(TestSaleOrderLineDates, self).setUp() customer = self.env.ref('base.res_partner_3') - self.product_ctg_model = self.env['product.category'] - self.company = self.env.ref('base.main_company') price = 100.0 - qty = 1000 - p1 = self._create_product(price) - self._update_qty(p1, qty) + qty = 5 + product_id = self.env.ref('product.product_product_7') today = datetime.datetime.now() dt1 = today + datetime.timedelta(days=9) dt2 = today + datetime.timedelta(days=10) self.dt3 = today + datetime.timedelta(days=3) self.sale1 = self._create_sale_order(customer, dt2) - self.sale_line1 = self._create_sale_order_line( - self.sale1, p1, qty, price, dt1 - ) - self.sale_line2 = self._create_sale_order_line( - self.sale1, p1, qty, price, dt2 - ) - - def _create_product(self, price): - category = self.env.ref('product.product_category_1') - product = self.env['product.product'].create({ - 'name': 'test_product', - 'type': 'product', - 'standard_price': price, - 'list_price': price, - 'categ_id': category.id, - }) - return product + self.sale_line1 = self._create_sale_order_line(self.sale1, product_id, + qty, price, dt1) + self.sale_line2 = self._create_sale_order_line(self.sale1, product_id, + qty, price, dt2) + self.sale_line2.write({'requested_date': dt2}) + self.sale1.action_confirm() def _create_sale_order(self, customer, date): sale = self.env['sale.order'].create({ @@ -67,33 +53,11 @@ def _create_sale_order_line(self, sale, product, qty, price, date): 'requested_date': date}) return sale_line - def _update_qty(self, product, qty): - location_stock = self.env.ref('stock.stock_location_stock') - wiz_obj = self.env['stock.change.product.qty'] - wiz = wiz_obj.create({'product_id': product.id, - 'new_quantity': qty, - 'location_id': location_stock.id, - }) - wiz.change_product_qty() - - def test_procurement_scheduled_date(self): - """True when matches the requested date in the sale_order_line""" - self.sale1.action_confirm() - procurements = self.env['procurement.order'].search([ - ('origin', '=', self.sale1.name), - ('date_planned', '=', self.sale_line1.requested_date)]) - self.assertEqual(len(procurements), 1) - procurements = self.env['procurement.order'].search([ - ('origin', '=', self.sale1.name), - ('date_planned', '=', self.sale_line2.requested_date)]) - self.assertEqual(len(procurements), 1) - def test_on_change_requested_date(self): """True when the requested date in the sale_order_line matches the requested date in the sale order""" req_date = fields.Datetime.to_string(self.dt3) self.sale1.write({'requested_date': self.dt3}) - result = self.sale1.onchange_requested_date(self.sale1.requested_date, - self.sale1.commitment_date) + result = self.sale1.onchange_requested_date() for line in result['value']['order_line']: self.assertEqual(line[2]['requested_date'], req_date) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index b0e9ec2add3..c5c1bf17665 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -1,31 +1,31 @@ - - - - sale.order.requested.date.form - sale.order - - - - {'default_requested_date':requested_date} - - - - - - - + + + + sale.order.requested.date.form + sale.order + + + + {'default_requested_date':requested_date} - - - sale.order.line.ext.tree - sale.order.line - - - - - + + + + + + + + + + sale.order.line.ext.tree + sale.order.line + + + + - - - + + + + From 1a3812811e72c7768826881f6ad9f91b9949120b Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 27 Jan 2018 11:44:51 +0100 Subject: [PATCH 05/19] OCA Transbot updated translations from Transifex --- sale_order_line_date/i18n/ca.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/de.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/el_GR.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/es.po | 23 ++++++++------------ sale_order_line_date/i18n/es_ES.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/es_VE.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/fi.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/fr.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/hr.po | 35 ++++++++++++++++++++++++++++++ sale_order_line_date/i18n/hr_HR.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/hu.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/it.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/nl.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/nl_NL.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/pt.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/pt_BR.po | 23 ++++++++------------ sale_order_line_date/i18n/sk.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/sl.po | 23 ++++++++------------ sale_order_line_date/i18n/tr.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/tr_TR.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/vi_VN.po | 34 +++++++++++++++++++++++++++++ sale_order_line_date/i18n/zh_CN.po | 34 +++++++++++++++++++++++++++++ 22 files changed, 674 insertions(+), 42 deletions(-) create mode 100644 sale_order_line_date/i18n/ca.po create mode 100644 sale_order_line_date/i18n/de.po create mode 100644 sale_order_line_date/i18n/el_GR.po create mode 100644 sale_order_line_date/i18n/es_ES.po create mode 100644 sale_order_line_date/i18n/es_VE.po create mode 100644 sale_order_line_date/i18n/fi.po create mode 100644 sale_order_line_date/i18n/fr.po create mode 100644 sale_order_line_date/i18n/hr.po create mode 100644 sale_order_line_date/i18n/hr_HR.po create mode 100644 sale_order_line_date/i18n/hu.po create mode 100644 sale_order_line_date/i18n/it.po create mode 100644 sale_order_line_date/i18n/nl.po create mode 100644 sale_order_line_date/i18n/nl_NL.po create mode 100644 sale_order_line_date/i18n/pt.po create mode 100644 sale_order_line_date/i18n/sk.po create mode 100644 sale_order_line_date/i18n/tr.po create mode 100644 sale_order_line_date/i18n/tr_TR.po create mode 100644 sale_order_line_date/i18n/vi_VN.po create mode 100644 sale_order_line_date/i18n/zh_CN.po diff --git a/sale_order_line_date/i18n/ca.po b/sale_order_line_date/i18n/ca.po new file mode 100644 index 00000000000..98e1a3afff4 --- /dev/null +++ b/sale_order_line_date/i18n/ca.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Comandes de venda" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línia de comanda de vendes" diff --git a/sale_order_line_date/i18n/de.po b/sale_order_line_date/i18n/de.po new file mode 100644 index 00000000000..216027a5a21 --- /dev/null +++ b/sale_order_line_date/i18n/de.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Verkaufsauftrag" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Auftragsposition" diff --git a/sale_order_line_date/i18n/el_GR.po b/sale_order_line_date/i18n/el_GR.po new file mode 100644 index 00000000000..b8eea2055d7 --- /dev/null +++ b/sale_order_line_date/i18n/el_GR.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Εντολή Πώλησης" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/es.po b/sale_order_line_date/i18n/es.po index cf2d39a974d..6a0d0d58c1c 100644 --- a/sale_order_line_date/i18n/es.po +++ b/sale_order_line_date/i18n/es.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# Pedro M. Baeza , 2015 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: odoomrp-wip (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-07 10:45+0000\n" -"PO-Revision-Date: 2015-10-09 10:59+0000\n" -"Last-Translator: Pedro M. Baeza \n" -"Language-Team: Spanish (http://www.transifex.com/oca/odoomrp-wip-8-0/language/es/)\n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" -msgstr "Fecha solicitada" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,8 +32,3 @@ msgstr "Pedidos de venta" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Línea pedido de venta" - -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "" diff --git a/sale_order_line_date/i18n/es_ES.po b/sale_order_line_date/i18n/es_ES.po new file mode 100644 index 00000000000..ec9b4f8493a --- /dev/null +++ b/sale_order_line_date/i18n/es_ES.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/es_VE.po b/sale_order_line_date/i18n/es_VE.po new file mode 100644 index 00000000000..740bba49a0a --- /dev/null +++ b/sale_order_line_date/i18n/es_VE.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Pedidos de venta" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Línea de pedido de venta" diff --git a/sale_order_line_date/i18n/fi.po b/sale_order_line_date/i18n/fi.po new file mode 100644 index 00000000000..1b671a67f38 --- /dev/null +++ b/sale_order_line_date/i18n/fi.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Myyntitilaus" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/fr.po b/sale_order_line_date/i18n/fr.po new file mode 100644 index 00000000000..a8142e1d401 --- /dev/null +++ b/sale_order_line_date/i18n/fr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Bon de commande" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sales Order Line" diff --git a/sale_order_line_date/i18n/hr.po b/sale_order_line_date/i18n/hr.po new file mode 100644 index 00000000000..f6cefa71d2e --- /dev/null +++ b/sale_order_line_date/i18n/hr.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: Bole , 2018\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Stavka ponude" diff --git a/sale_order_line_date/i18n/hr_HR.po b/sale_order_line_date/i18n/hr_HR.po new file mode 100644 index 00000000000..14e1169607d --- /dev/null +++ b/sale_order_line_date/i18n/hr_HR.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Prodjani nalog" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/hu.po b/sale_order_line_date/i18n/hu.po new file mode 100644 index 00000000000..82a30f003cd --- /dev/null +++ b/sale_order_line_date/i18n/hu.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Vevői megrendelés" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/it.po b/sale_order_line_date/i18n/it.po new file mode 100644 index 00000000000..61e332b9586 --- /dev/null +++ b/sale_order_line_date/i18n/it.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Ordini vendita" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Linea d'ordine di vendita" diff --git a/sale_order_line_date/i18n/nl.po b/sale_order_line_date/i18n/nl.po new file mode 100644 index 00000000000..5e09165cc81 --- /dev/null +++ b/sale_order_line_date/i18n/nl.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/nl_NL.po b/sale_order_line_date/i18n/nl_NL.po new file mode 100644 index 00000000000..1f1f334a89c --- /dev/null +++ b/sale_order_line_date/i18n/nl_NL.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# Peter Hageman , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: Peter Hageman , 2018\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Verkooporderregel" diff --git a/sale_order_line_date/i18n/pt.po b/sale_order_line_date/i18n/pt.po new file mode 100644 index 00000000000..f29c5a2d651 --- /dev/null +++ b/sale_order_line_date/i18n/pt.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Ordem de Venda" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/pt_BR.po b/sale_order_line_date/i18n/pt_BR.po index a14a111191d..3b2f9b2a0d2 100644 --- a/sale_order_line_date/i18n/pt_BR.po +++ b/sale_order_line_date/i18n/pt_BR.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# danimaribeiro , 2015 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: odoomrp-wip (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-07 10:45+0000\n" -"PO-Revision-Date: 2015-10-09 03:29+0000\n" -"Last-Translator: danimaribeiro \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/odoomrp-wip-8-0/language/pt_BR/)\n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" -msgstr "Data requisitada" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,8 +32,3 @@ msgstr "Pedido de venda" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Linha pedido de venda" - -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/sk.po b/sale_order_line_date/i18n/sk.po new file mode 100644 index 00000000000..41cfc26e680 --- /dev/null +++ b/sale_order_line_date/i18n/sk.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Objednávka predaja" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/sl.po b/sale_order_line_date/i18n/sl.po index 8466e63b5d8..ab8ef30c5f8 100644 --- a/sale_order_line_date/i18n/sl.po +++ b/sale_order_line_date/i18n/sl.po @@ -3,15 +3,15 @@ # * sale_order_line_date # # Translators: -# Matjaž Mozetič , 2015 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: odoomrp-wip (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-10-07 10:45+0000\n" -"PO-Revision-Date: 2015-09-20 19:05+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/sl/)\n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,9 +19,9 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" -msgstr "Zahtevani datum" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order @@ -32,8 +32,3 @@ msgstr "Prodajni nalog" #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Postavka prodajnega naloga" - -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "{'default_requested_date':requested_date}" diff --git a/sale_order_line_date/i18n/tr.po b/sale_order_line_date/i18n/tr.po new file mode 100644 index 00000000000..2801d5f73ea --- /dev/null +++ b/sale_order_line_date/i18n/tr.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Sipariş Emri" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Satış Siparişi Hattı" diff --git a/sale_order_line_date/i18n/tr_TR.po b/sale_order_line_date/i18n/tr_TR.po new file mode 100644 index 00000000000..04f59319025 --- /dev/null +++ b/sale_order_line_date/i18n/tr_TR.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Satış emri" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sipariş emri satırı " diff --git a/sale_order_line_date/i18n/vi_VN.po b/sale_order_line_date/i18n/vi_VN.po new file mode 100644 index 00000000000..bdf3faf6e01 --- /dev/null +++ b/sale_order_line_date/i18n/vi_VN.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "Đơn hàng Bán" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" diff --git a/sale_order_line_date/i18n/zh_CN.po b/sale_order_line_date/i18n/zh_CN.po new file mode 100644 index 00000000000..58a4254e991 --- /dev/null +++ b/sale_order_line_date/i18n/zh_CN.po @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-27 03:53+0000\n" +"PO-Revision-Date: 2018-01-27 03:53+0000\n" +"Last-Translator: OCA Transbot , 2018\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/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: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sales Order" +msgstr "销售订单" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" From 9df1ec6e2a734dfeed44cafe0aa7fdc9eb91f658 Mon Sep 17 00:00:00 2001 From: Francesco Apruzzese Date: Tue, 30 Jan 2018 15:17:59 +0100 Subject: [PATCH 06/19] [MIG] sale_order_line_date: Migration to 11.0 --- sale_order_line_date/README.rst | 3 ++- sale_order_line_date/__init__.py | 1 - sale_order_line_date/__manifest__.py | 3 +-- sale_order_line_date/models/__init__.py | 1 - sale_order_line_date/models/sale_order.py | 1 - sale_order_line_date/models/sale_order_line.py | 1 - sale_order_line_date/tests/__init__.py | 1 - sale_order_line_date/tests/test_sale_order_line_date.py | 1 - sale_order_line_date/views/sale_order_view.xml | 1 + 9 files changed, 4 insertions(+), 9 deletions(-) diff --git a/sale_order_line_date/README.rst b/sale_order_line_date/README.rst index 955d3971608..fa8ac20a4fb 100644 --- a/sale_order_line_date/README.rst +++ b/sale_order_line_date/README.rst @@ -19,7 +19,7 @@ order line .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/167/10.0 + :target: https://runbot.odoo-community.org/runbot/167/11.0 Bug Tracker =========== @@ -46,6 +46,7 @@ Contributors * Jordi Ballester * Aaron Henriquez * Serpent Consulting Services Pvt. Ltd. +* Francesco Apruzzese Maintainer ---------- diff --git a/sale_order_line_date/__init__.py b/sale_order_line_date/__init__.py index 24b2bd7b745..2378d92783c 100644 --- a/sale_order_line_date/__init__.py +++ b/sale_order_line_date/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza diff --git a/sale_order_line_date/__manifest__.py b/sale_order_line_date/__manifest__.py index b92adc80b40..e45834e2657 100644 --- a/sale_order_line_date/__manifest__.py +++ b/sale_order_line_date/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza @@ -8,7 +7,7 @@ { "name": "Sale Order Line Date", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "author": "OdooMRP team," "AvanzOSC," "Serv. Tecnol. Avanzados - Pedro M. Baeza," diff --git a/sale_order_line_date/models/__init__.py b/sale_order_line_date/models/__init__.py index 70cae41745d..ad285cf9660 100644 --- a/sale_order_line_date/models/__init__.py +++ b/sale_order_line_date/models/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza diff --git a/sale_order_line_date/models/sale_order.py b/sale_order_line_date/models/sale_order.py index 1c4ece49a82..e09a5fcbc06 100644 --- a/sale_order_line_date/models/sale_order.py +++ b/sale_order_line_date/models/sale_order.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index 14f76412fa1..7f26ca7748c 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza diff --git a/sale_order_line_date/tests/__init__.py b/sale_order_line_date/tests/__init__.py index 084224fd9eb..57c2ccc1dad 100644 --- a/sale_order_line_date/tests/__init__.py +++ b/sale_order_line_date/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza diff --git a/sale_order_line_date/tests/test_sale_order_line_date.py b/sale_order_line_date/tests/test_sale_order_line_date.py index 1f08c773590..bc643f05bdb 100644 --- a/sale_order_line_date/tests/test_sale_order_line_date.py +++ b/sale_order_line_date/tests/test_sale_order_line_date.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2016 OdooMRP team # © 2016 AvanzOSC # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index c5c1bf17665..d6e01111763 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -17,6 +17,7 @@ + sale.order.line.ext.tree sale.order.line From 01a8fddd9a03eea1daa98d072fbec7e690fa5b57 Mon Sep 17 00:00:00 2001 From: Francesco Apruzzese Date: Tue, 3 Jul 2018 09:37:15 +0200 Subject: [PATCH 07/19] [FIX] Function name to prepare procurement values --- sale_order_line_date/models/sale_order_line.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index 7f26ca7748c..d18e2263dbc 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -31,10 +31,9 @@ def create(self, vals): return res @api.multi - def _prepare_order_line_procurement(self, group_id=False): - self.ensure_one() + def _prepare_procurement_values(self, group_id=False): vals = super(SaleOrderLine, self).\ - _prepare_order_line_procurement(group_id) + _prepare_procurement_values(group_id) if self.requested_date: vals.update({'date_planned': self.requested_date}) return vals From 62c5fba837ae272006f1f6dca7886a81adf3f22a Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 3 Jul 2018 11:20:12 +0000 Subject: [PATCH 08/19] [UPD] Update sale_order_line_date.pot --- sale_order_line_date/i18n/ca.po | 17 ++++++----- sale_order_line_date/i18n/de.po | 17 ++++++----- sale_order_line_date/i18n/el_GR.po | 20 ++++++++----- sale_order_line_date/i18n/es.po | 17 ++++++----- sale_order_line_date/i18n/es_ES.po | 20 ++++++++----- sale_order_line_date/i18n/es_VE.po | 20 ++++++++----- sale_order_line_date/i18n/fi.po | 17 ++++++----- sale_order_line_date/i18n/fr.po | 17 ++++++----- sale_order_line_date/i18n/hr.po | 20 ++++++++----- sale_order_line_date/i18n/hr_HR.po | 23 ++++++++------ sale_order_line_date/i18n/hu.po | 17 ++++++----- sale_order_line_date/i18n/it.po | 17 ++++++----- sale_order_line_date/i18n/nl.po | 17 ++++++----- sale_order_line_date/i18n/nl_NL.po | 20 ++++++++----- sale_order_line_date/i18n/pt.po | 17 ++++++----- sale_order_line_date/i18n/pt_BR.po | 20 ++++++++----- sale_order_line_date/i18n/ro.po | 26 ++++++++-------- .../i18n/sale_order_line_date.pot | 30 +++++++++++++++++++ sale_order_line_date/i18n/sk.po | 17 ++++++----- sale_order_line_date/i18n/sl.po | 20 ++++++++----- sale_order_line_date/i18n/tr.po | 17 ++++++----- sale_order_line_date/i18n/tr_TR.po | 20 ++++++++----- sale_order_line_date/i18n/vi_VN.po | 20 ++++++++----- sale_order_line_date/i18n/zh_CN.po | 20 ++++++++----- 24 files changed, 287 insertions(+), 179 deletions(-) create mode 100644 sale_order_line_date/i18n/sale_order_line_date.pot diff --git a/sale_order_line_date/i18n/ca.po b/sale_order_line_date/i18n/ca.po index 98e1a3afff4..4f903e57d5d 100644 --- a/sale_order_line_date/i18n/ca.po +++ b/sale_order_line_date/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Comandes de venda" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Línia de comanda de vendes" + +#~ msgid "Sales Order" +#~ msgstr "Comandes de venda" diff --git a/sale_order_line_date/i18n/de.po b/sale_order_line_date/i18n/de.po index 216027a5a21..2b095069a7c 100644 --- a/sale_order_line_date/i18n/de.po +++ b/sale_order_line_date/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Verkaufsauftrag" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Auftragsposition" + +#~ msgid "Sales Order" +#~ msgstr "Verkaufsauftrag" diff --git a/sale_order_line_date/i18n/el_GR.po b/sale_order_line_date/i18n/el_GR.po index b8eea2055d7..62fd2ffd0ee 100644 --- a/sale_order_line_date/i18n/el_GR.po +++ b/sale_order_line_date/i18n/el_GR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Εντολή Πώλησης" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Εντολή Πώλησης" diff --git a/sale_order_line_date/i18n/es.po b/sale_order_line_date/i18n/es.po index 6a0d0d58c1c..b4a013d2a81 100644 --- a/sale_order_line_date/i18n/es.po +++ b/sale_order_line_date/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Pedidos de venta" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Línea pedido de venta" + +#~ msgid "Sales Order" +#~ msgstr "Pedidos de venta" diff --git a/sale_order_line_date/i18n/es_ES.po b/sale_order_line_date/i18n/es_ES.po index ec9b4f8493a..6ad116b4358 100644 --- a/sale_order_line_date/i18n/es_ES.po +++ b/sale_order_line_date/i18n/es_ES.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/es_ES/)\n" +"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" +"es_ES/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Pedido de venta" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Pedido de venta" diff --git a/sale_order_line_date/i18n/es_VE.po b/sale_order_line_date/i18n/es_VE.po index 740bba49a0a..ae7bf954525 100644 --- a/sale_order_line_date/i18n/es_VE.po +++ b/sale_order_line_date/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Pedidos de venta" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Línea de pedido de venta" + +#~ msgid "Sales Order" +#~ msgstr "Pedidos de venta" diff --git a/sale_order_line_date/i18n/fi.po b/sale_order_line_date/i18n/fi.po index 1b671a67f38..4a7004cdb3c 100644 --- a/sale_order_line_date/i18n/fi.po +++ b/sale_order_line_date/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Myyntitilaus" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Myyntitilaus" diff --git a/sale_order_line_date/i18n/fr.po b/sale_order_line_date/i18n/fr.po index a8142e1d401..c4e40c38a8c 100644 --- a/sale_order_line_date/i18n/fr.po +++ b/sale_order_line_date/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Bon de commande" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Sales Order Line" + +#~ msgid "Sales Order" +#~ msgstr "Bon de commande" diff --git a/sale_order_line_date/i18n/hr.po b/sale_order_line_date/i18n/hr.po index f6cefa71d2e..043ba9e8ab4 100644 --- a/sale_order_line_date/i18n/hr.po +++ b/sale_order_line_date/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 # Bole , 2018 @@ -13,23 +13,27 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: Bole , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"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" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Stavka ponude" + +#~ msgid "Sales Order" +#~ msgstr "Prodajni nalog" diff --git a/sale_order_line_date/i18n/hr_HR.po b/sale_order_line_date/i18n/hr_HR.po index 14e1169607d..cf59a6a3f3c 100644 --- a/sale_order_line_date/i18n/hr_HR.po +++ b/sale_order_line_date/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,29 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"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" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Prodjani nalog" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Prodjani nalog" diff --git a/sale_order_line_date/i18n/hu.po b/sale_order_line_date/i18n/hu.po index 82a30f003cd..9e2d9552bf0 100644 --- a/sale_order_line_date/i18n/hu.po +++ b/sale_order_line_date/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Vevői megrendelés" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Vevői megrendelés" diff --git a/sale_order_line_date/i18n/it.po b/sale_order_line_date/i18n/it.po index 61e332b9586..c251fc2b1ec 100644 --- a/sale_order_line_date/i18n/it.po +++ b/sale_order_line_date/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Ordini vendita" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Linea d'ordine di vendita" + +#~ msgid "Sales Order" +#~ msgstr "Ordini vendita" diff --git a/sale_order_line_date/i18n/nl.po b/sale_order_line_date/i18n/nl.po index 5e09165cc81..0698236b1d8 100644 --- a/sale_order_line_date/i18n/nl.po +++ b/sale_order_line_date/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Verkooporder" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Verkooporder" diff --git a/sale_order_line_date/i18n/nl_NL.po b/sale_order_line_date/i18n/nl_NL.po index 1f1f334a89c..8674353d0d7 100644 --- a/sale_order_line_date/i18n/nl_NL.po +++ b/sale_order_line_date/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # Peter Hageman , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: Peter Hageman , 2018\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Verkooporder" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Verkooporderregel" + +#~ msgid "Sales Order" +#~ msgstr "Verkooporder" diff --git a/sale_order_line_date/i18n/pt.po b/sale_order_line_date/i18n/pt.po index f29c5a2d651..ea76911827f 100644 --- a/sale_order_line_date/i18n/pt.po +++ b/sale_order_line_date/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Ordem de Venda" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Ordem de Venda" diff --git a/sale_order_line_date/i18n/pt_BR.po b/sale_order_line_date/i18n/pt_BR.po index 3b2f9b2a0d2..6bf088a2651 100644 --- a/sale_order_line_date/i18n/pt_BR.po +++ b/sale_order_line_date/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Pedido de venda" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Linha pedido de venda" + +#~ msgid "Sales Order" +#~ msgstr "Pedido de venda" diff --git a/sale_order_line_date/i18n/ro.po b/sale_order_line_date/i18n/ro.po index d4949535827..e40d4fca12c 100644 --- a/sale_order_line_date/i18n/ro.po +++ b/sale_order_line_date/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: msgid "" msgstr "" @@ -10,29 +10,29 @@ msgstr "" "POT-Creation-Date: 2015-11-20 18:11+0000\n" "PO-Revision-Date: 2015-09-10 16:42+0000\n" "Last-Translator: <>\n" -"Language-Team: Romanian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/ro/)\n" +"Language-Team: Romanian (http://www.transifex.com/oca/odoomrp-wip-8-0/" +"language/ro/)\n" +"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" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: sale_order_line_date -#: field:sale.order.line,requested_date:0 -msgid "Requested Date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Comandă vânzare" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Linie comandă vânzare" -#. module: sale_order_line_date -#: view:sale.order:sale_order_line_date.sale_order_requested_date_form_view -msgid "{'default_requested_date':requested_date}" -msgstr "" +#~ msgid "Sales Order" +#~ msgstr "Comandă vânzare" diff --git a/sale_order_line_date/i18n/sale_order_line_date.pot b/sale_order_line_date/i18n/sale_order_line_date.pot new file mode 100644 index 00000000000..52eb615fc4f --- /dev/null +++ b/sale_order_line_date/i18n/sale_order_line_date.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_line_date +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \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: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order_line +msgid "Sales Order Line" +msgstr "" + diff --git a/sale_order_line_date/i18n/sk.po b/sale_order_line_date/i18n/sk.po index 41cfc26e680..d268c29ade2 100644 --- a/sale_order_line_date/i18n/sk.po +++ b/sale_order_line_date/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Objednávka predaja" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Objednávka predaja" diff --git a/sale_order_line_date/i18n/sl.po b/sale_order_line_date/i18n/sl.po index ab8ef30c5f8..1a2b21b4314 100644 --- a/sale_order_line_date/i18n/sl.po +++ b/sale_order_line_date/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,27 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"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" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Postavka prodajnega naloga" + +#~ msgid "Sales Order" +#~ msgstr "Prodajni nalog" diff --git a/sale_order_line_date/i18n/tr.po b/sale_order_line_date/i18n/tr.po index 2801d5f73ea..dbdaf2247b9 100644 --- a/sale_order_line_date/i18n/tr.po +++ b/sale_order_line_date/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,23 +12,26 @@ msgstr "" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Sipariş Emri" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Satış Siparişi Hattı" + +#~ msgid "Sales Order" +#~ msgstr "Sipariş Emri" diff --git a/sale_order_line_date/i18n/tr_TR.po b/sale_order_line_date/i18n/tr_TR.po index 04f59319025..fbc1e6e855f 100644 --- a/sale_order_line_date/i18n/tr_TR.po +++ b/sale_order_line_date/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Satış emri" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "Sipariş emri satırı " + +#~ msgid "Sales Order" +#~ msgstr "Satış emri" diff --git a/sale_order_line_date/i18n/vi_VN.po b/sale_order_line_date/i18n/vi_VN.po index bdf3faf6e01..4d6a4a4c2cd 100644 --- a/sale_order_line_date/i18n/vi_VN.po +++ b/sale_order_line_date/i18n/vi_VN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/vi_VN/)\n" +"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/" +"teams/23907/vi_VN/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "Đơn hàng Bán" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "Đơn hàng Bán" diff --git a/sale_order_line_date/i18n/zh_CN.po b/sale_order_line_date/i18n/zh_CN.po index 58a4254e991..65ae7037e57 100644 --- a/sale_order_line_date/i18n/zh_CN.po +++ b/sale_order_line_date/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_order_line_date -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,24 +11,28 @@ msgstr "" "POT-Creation-Date: 2018-01-27 03:53+0000\n" "PO-Revision-Date: 2018-01-27 03:53+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"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: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested date" +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order -msgid "Sales Order" -msgstr "销售订单" +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date +msgid "Requested Date" +msgstr "" #. module: sale_order_line_date #: model:ir.model,name:sale_order_line_date.model_sale_order_line msgid "Sales Order Line" msgstr "" + +#~ msgid "Sales Order" +#~ msgstr "销售订单" From c6512ea617a0984076884ab3df7fc1439e2dfafe Mon Sep 17 00:00:00 2001 From: mpanarin Date: Mon, 1 Oct 2018 18:42:24 +0300 Subject: [PATCH 09/19] [MIG] 12.0 sale_order_line_date --- sale_order_line_date/README.rst | 64 -- sale_order_line_date/__manifest__.py | 9 +- .../i18n/sale_order_line_date.pot | 810 +++++++++++++++++- sale_order_line_date/models/__init__.py | 4 +- sale_order_line_date/models/sale_order.py | 28 +- .../models/sale_order_line.py | 33 +- sale_order_line_date/readme/CONTRIBUTORS.rst | 9 + sale_order_line_date/readme/DESCRIPTION.rst | 4 + sale_order_line_date/readme/USAGE.rst | 2 + .../tests/test_sale_order_line_date.py | 14 +- .../views/sale_order_view.xml | 52 +- setup/.setuptools-odoo-make-default-ignore | 2 + setup/README | 2 + .../odoo/addons/sale_order_line_date | 1 + setup/sale_order_line_date/setup.cfg | 2 + setup/sale_order_line_date/setup.py | 6 + 16 files changed, 904 insertions(+), 138 deletions(-) delete mode 100644 sale_order_line_date/README.rst create mode 100644 sale_order_line_date/readme/CONTRIBUTORS.rst create mode 100644 sale_order_line_date/readme/DESCRIPTION.rst create mode 100644 sale_order_line_date/readme/USAGE.rst create mode 100644 setup/.setuptools-odoo-make-default-ignore create mode 100644 setup/README create mode 120000 setup/sale_order_line_date/odoo/addons/sale_order_line_date create mode 100644 setup/sale_order_line_date/setup.cfg create mode 100644 setup/sale_order_line_date/setup.py diff --git a/sale_order_line_date/README.rst b/sale_order_line_date/README.rst deleted file mode 100644 index fa8ac20a4fb..00000000000 --- a/sale_order_line_date/README.rst +++ /dev/null @@ -1,64 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -==================== -Sale order line date -==================== - -This module adds requested date to a sales order lines and propagate it to -stock moves and procurements. -When the requested date of the whole sale order is modified the requested date -of the lines change to match. - -Usage -===== - -Create a Quotation or a Sales Order and it fills the requested date in the sale -order line - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/167/11.0 - -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. - -Credits -======= - -Images ------- - -* Odoo Community Association: `Icon `_. - -Contributors ------------- -* Oihane Crucelaegui -* Esther Martín -* Pedro M. Baeza -* Ana Juaristi -* Jordi Ballester -* Aaron Henriquez -* Serpent Consulting Services Pvt. Ltd. -* Francesco Apruzzese - -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 https://odoo-community.org. diff --git a/sale_order_line_date/__manifest__.py b/sale_order_line_date/__manifest__.py index e45834e2657..9b89dfd5695 100644 --- a/sale_order_line_date/__manifest__.py +++ b/sale_order_line_date/__manifest__.py @@ -3,11 +3,12 @@ # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. # Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2018 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) { "name": "Sale Order Line Date", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "author": "OdooMRP team," "AvanzOSC," "Serv. Tecnol. Avanzados - Pedro M. Baeza," @@ -15,11 +16,11 @@ "website": "https://odoo-community.org/", "category": "Sales Management", "license": "AGPL-3", + # sale_order_dates became part of the sale module in 12.0 "depends": [ - "sale_order_dates", + "sale", ], "data": [ "views/sale_order_view.xml", ], - "installable": True, } diff --git a/sale_order_line_date/i18n/sale_order_line_date.pot b/sale_order_line_date/i18n/sale_order_line_date.pot index 52eb615fc4f..05638e2f63d 100644 --- a/sale_order_line_date/i18n/sale_order_line_date.pot +++ b/sale_order_line_date/i18n/sale_order_line_date.pot @@ -4,8 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-10-01 15:49+0000\n" +"PO-Revision-Date: 2018-10-01 15:49+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,13 +16,593 @@ msgstr "" "Plural-Forms: \n" #. module: sale_order_line_date -#: model:ir.model,name:sale_order_line_date.model_sale_order +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__access_warning +msgid "Access warning" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__qty_delivered_method +msgid "According to product configuration, the delivered quantity can be automatically computed by mechanism :\n" +" - Manual: the quantity is set manually on the line\n" +" - Analytic From expenses: the quantity is the quantity sum from posted expenses\n" +" - Timesheet: the quantity is the sum of hours recorded on tasks linked to this sale line\n" +" - Stock Moves: the quantity comes from confirmed pickings\n" +"" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__activity_ids +msgid "Activities" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__activity_state +msgid "Activity State" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__amount_undiscounted +msgid "Amount Before Discount" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__analytic_account_id +msgid "Analytic Account" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order.line,qty_delivered_method:0 +msgid "Analytic From Expenses" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__analytic_tag_ids +msgid "Analytic Tags" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__analytic_line_ids +msgid "Analytic lines" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__authorized_transaction_ids +msgid "Authorized Transactions" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_updatable +msgid "Can Edit Product" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,state:0 +msgid "Cancelled" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__commitment_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__commitment_date +msgid "Commitment Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__company_id +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__company_id +msgid "Company" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__confirmation_date +msgid "Confirmation Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__create_uid +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__create_uid +msgid "Created by" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__create_date +msgid "Created on" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__create_date +msgid "Creation Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__currency_id +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__currency_id +msgid "Currency" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__currency_rate +msgid "Currency Rate" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__partner_id +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__order_partner_id +msgid "Customer" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__access_url +msgid "Customer Portal URL" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__client_order_ref +msgid "Customer Reference" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__create_date +msgid "Date on which sales order is created." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__confirmation_date +msgid "Date on which the sales order is confirmed." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__qty_delivered_manual +msgid "Delivered Manually" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__qty_delivered +msgid "Delivered Quantity" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__partner_shipping_id +msgid "Delivery Address" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__customer_lead +msgid "Delivery Lead Time" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__partner_shipping_id +msgid "Delivery address for current sales order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__expected_date +msgid "Delivery date you can promise to the customer, computed from product lead times and from the shipping policy of the order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__name +msgid "Description" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__discount +msgid "Discount (%)" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__display_name +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__display_type +msgid "Display Type" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__is_downpayment +msgid "Down payments are made when creating invoices from a sales order. They are not copied when duplicating a sales order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__expected_date +msgid "Expected Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__fiscal_position_id +msgid "Fiscal Position" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,invoice_status:0 +#: selection:sale.order.line,invoice_status:0 +msgid "Fully Invoiced" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__id +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__id +msgid "ID" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__message_unread +msgid "If checked new messages require your attention." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__message_needaction +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__message_has_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__product_image +msgid "Image of the product variant (Big-sized image of product template if false). It is automatically resized as a 1024x1024px image, with aspect ratio preserved." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__partner_invoice_id +msgid "Invoice Address" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__invoice_count +msgid "Invoice Count" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__invoice_lines +msgid "Invoice Lines" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__invoice_status +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__invoice_status +msgid "Invoice Status" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__partner_invoice_id +msgid "Invoice address for current sales order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__qty_invoiced +msgid "Invoiced Quantity" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__invoice_ids +msgid "Invoices" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__is_downpayment +msgid "Is a down payment" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__is_expense +msgid "Is expense" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__is_expired +msgid "Is expired" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__is_expense +msgid "Is true if the sales order line comes from an expense or a vendor bills" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order____last_update +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__write_uid +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__write_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__write_date +msgid "Last Updated on" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,state:0 +msgid "Locked" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order.line,qty_delivered_method:0 +msgid "Manual" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_ids +msgid "Messages" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__qty_delivered_method +msgid "Method to update delivered qty" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__signed_by +msgid "Name of the person that signed the SO." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order.line,display_type:0 +msgid "Note" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,invoice_status:0 +#: selection:sale.order.line,invoice_status:0 +msgid "Nothing to Invoice" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__customer_lead +msgid "Number of days between the order confirmation and the shipping of the products to the customer" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_has_error_counter +msgid "Number of error" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__require_payment +msgid "Online Payment" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__require_signature +msgid "Online Signature" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__sale_order_option_ids +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__sale_order_option_ids +msgid "Optional Products Lines" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__date_order +msgid "Order Date" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__order_line +msgid "Order Lines" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__name +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__order_id +msgid "Order Reference" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__state +msgid "Order Status" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_uom_qty +msgid "Ordered Quantity" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,activity_state:0 +msgid "Overdue" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__reference +msgid "Payment Ref." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__payment_term_id +msgid "Payment Terms" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,activity_state:0 +msgid "Planned" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__access_url +msgid "Portal Access URL" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_reduce +msgid "Price Reduce" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_reduce_taxexcl +msgid "Price Reduce Tax excl" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_reduce_taxinc +msgid "Price Reduce Tax inc" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__pricelist_id +msgid "Pricelist" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__pricelist_id_id +msgid "Pricelist ID" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__pricelist_id +msgid "Pricelist for current sales order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_id +msgid "Product" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_image +msgid "Product Image" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_no_variant_attribute_values +msgid "Product attribute values that do not create variants" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,state:0 msgid "Quotation" msgstr "" #. module: sale_order_line_date -#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line_requested_date -msgid "Requested Date" +#: selection:sale.order,state:0 +msgid "Quotation Sent" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__sale_order_template_id +msgid "Quotation Template" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__origin +msgid "Reference of the document that generated this sales order request." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__remaining_validity_days +msgid "Remaining Validity Days" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__require_signature +msgid "Request a online signature to the customer in order to confirm orders automatically." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__require_payment +msgid "Request an online payment to the customer in order to confirm orders automatically." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model,name:sale_order_line_date.model_sale_order +msgid "Sale Order" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,state:0 +msgid "Sales Order" msgstr "" #. module: sale_order_line_date @@ -28,3 +610,223 @@ msgstr "" msgid "Sales Order Line" msgstr "" +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__team_id +msgid "Sales Team" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__user_id +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__salesman_id +msgid "Salesperson" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order.line,display_type:0 +msgid "Section" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__access_token +msgid "Security Token" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__sequence +msgid "Sequence" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__signature +msgid "Signature" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__signature +msgid "Signature received through the portal." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__signed_by +msgid "Signed by" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__origin +msgid "Source Document" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__state +msgid "Status" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__activity_state +msgid "Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_subtotal +msgid "Subtotal" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__amount_by_group +msgid "Tax amount by group" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__amount_tax +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__tax_id +msgid "Taxes" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__display_type +msgid "Technical field for UX purpose." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__note +msgid "Terms and conditions" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__analytic_account_id +msgid "The analytic account related to a sales order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__reference +msgid "The payment communication of this sale order." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__currency_rate +msgid "The rate of the currency to the currency of rate 1 applicable at the date of the order" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__commitment_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__commitment_date +msgid "This is the delivery date promised to the customer. If set, the delivery order will be scheduled based on this date rather than product lead times." +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,invoice_status:0 +#: selection:sale.order.line,invoice_status:0 +msgid "To Invoice" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__qty_to_invoice +msgid "To Invoice Quantity" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,activity_state:0 +msgid "Today" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__amount_total +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_total +msgid "Total" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_tax +msgid "Total Tax" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__transaction_ids +msgid "Transactions" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__type_name +msgid "Type Name" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__price_unit +msgid "Unit Price" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_uom +msgid "Unit of Measure" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__amount_untaxed +msgid "Untaxed Amount" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__untaxed_amount_to_invoice +msgid "Untaxed Amount To Invoice" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__untaxed_amount_invoiced +msgid "Untaxed Invoiced Amount" +msgstr "" + +#. module: sale_order_line_date +#: selection:sale.order,invoice_status:0 +#: selection:sale.order.line,invoice_status:0 +msgid "Upselling Opportunity" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order_line__product_custom_attribute_value_ids +msgid "User entered custom product attribute values" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__validity_date +msgid "Validity" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__validity_date +msgid "Validity date of the quotation, after this date, the customer won't be able to validate the quotation online." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,field_description:sale_order_line_date.field_sale_order__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__website_message_ids +msgid "Website communication history" +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__partner_id +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order_line__order_partner_id +msgid "You can find a customer by its Name, TIN, Email or Internal Reference." +msgstr "" + +#. module: sale_order_line_date +#: model:ir.model.fields,help:sale_order_line_date.field_sale_order__amount_by_group +msgid "type: [(name, amount, base, formated amount, formated base)]" +msgstr "" + diff --git a/sale_order_line_date/models/__init__.py b/sale_order_line_date/models/__init__.py index ad285cf9660..4530e471432 100644 --- a/sale_order_line_date/models/__init__.py +++ b/sale_order_line_date/models/__init__.py @@ -3,7 +3,9 @@ # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. # Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2018 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + from . import sale_order from . import sale_order_line diff --git a/sale_order_line_date/models/sale_order.py b/sale_order_line_date/models/sale_order.py index e09a5fcbc06..2abfac348a0 100644 --- a/sale_order_line_date/models/sale_order.py +++ b/sale_order_line_date/models/sale_order.py @@ -3,28 +3,36 @@ # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. # Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2018 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) -from odoo import api, models + +from odoo import api, models, fields class SaleOrder(models.Model): _inherit = 'sale.order' @api.multi - @api.onchange('requested_date') - def onchange_requested_date(self): + # requested_date was renamed to commitment_date + @api.onchange('commitment_date') + def _onchange_commitment_date(self): """Warn if the requested dates is sooner than the commitment date""" - result = super(SaleOrder, self).onchange_requested_date() - if not result: - result = {} + result = super()._onchange_commitment_date() or {} if not self: return result self.ensure_one() if 'warning' not in result: lines = [] for line in self.order_line: - lines.append((1, line.id, {'requested_date': - self.requested_date})) - result['value'] = {'order_line': lines} + lines.append((1, line.id, { + 'commitment_date': fields.Datetime.to_string( + self.commitment_date + ), + })) + result.update({ + "value": { + 'order_line': lines, + }, + }) return result diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index d18e2263dbc..ed42bdccd06 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -3,7 +3,9 @@ # © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza # © 2016 Eficent Business and IT Consulting Services, S.L. # Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +# Copyright 2018 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + from odoo import api, fields, models @@ -11,29 +13,16 @@ class SaleOrderLine(models.Model): _inherit = 'sale.order.line' - requested_date = fields.Datetime() - - @api.multi - def write(self, vals): - for line in self: - if not line.requested_date and line.order_id.requested_date and\ - 'requested_date' not in vals: - vals.update({ - 'requested_date': line.order_id.requested_date - }) - return super(SaleOrderLine, self).write(vals) - - @api.model - def create(self, vals): - res = super(SaleOrderLine, self).create(vals) - if res.order_id.requested_date and not res.requested_date: - res.write({'requested_date': res.order_id.requested_date}) - return res + commitment_date = fields.Datetime( + related="order_id.commitment_date", + readonly=True, + ) @api.multi def _prepare_procurement_values(self, group_id=False): - vals = super(SaleOrderLine, self).\ - _prepare_procurement_values(group_id) + vals = super()._prepare_procurement_values(group_id) if self.requested_date: - vals.update({'date_planned': self.requested_date}) + vals.update({ + 'date_planned': self.requested_date, + }) return vals diff --git a/sale_order_line_date/readme/CONTRIBUTORS.rst b/sale_order_line_date/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..adf338a4178 --- /dev/null +++ b/sale_order_line_date/readme/CONTRIBUTORS.rst @@ -0,0 +1,9 @@ +* Oihane Crucelaegui +* Esther Martín +* Pedro M. Baeza +* Ana Juaristi +* Jordi Ballester +* Aaron Henriquez +* Serpent Consulting Services Pvt. Ltd. +* Francesco Apruzzese +* Mykhailo Panarin diff --git a/sale_order_line_date/readme/DESCRIPTION.rst b/sale_order_line_date/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..0a2d9bb39fb --- /dev/null +++ b/sale_order_line_date/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +This module adds requested date to a sales order lines and propagate it to +stock moves and procurements. +When the requested date of the whole sale order is modified the requested date +of the lines change to match. diff --git a/sale_order_line_date/readme/USAGE.rst b/sale_order_line_date/readme/USAGE.rst new file mode 100644 index 00000000000..e04db23ee5c --- /dev/null +++ b/sale_order_line_date/readme/USAGE.rst @@ -0,0 +1,2 @@ +Create a Quotation or a Sales Order and it fills the requested date in the sale +order line diff --git a/sale_order_line_date/tests/test_sale_order_line_date.py b/sale_order_line_date/tests/test_sale_order_line_date.py index bc643f05bdb..ececc4a97ac 100644 --- a/sale_order_line_date/tests/test_sale_order_line_date.py +++ b/sale_order_line_date/tests/test_sale_order_line_date.py @@ -30,7 +30,7 @@ def setUp(self): qty, price, dt1) self.sale_line2 = self._create_sale_order_line(self.sale1, product_id, qty, price, dt2) - self.sale_line2.write({'requested_date': dt2}) + self.sale_line2.write({'commitment_date': dt2}) self.sale1.action_confirm() def _create_sale_order(self, customer, date): @@ -38,7 +38,7 @@ def _create_sale_order(self, customer, date): 'partner_id': customer.id, 'partner_invoice_id': customer.id, 'partner_shipping_id': customer.id, - 'requested_date': date + 'commitment_date': date }) return sale @@ -49,14 +49,14 @@ def _create_sale_order_line(self, sale, product, qty, price, date): 'order_id': sale.id, 'price_unit': price, 'product_uom_qty': qty, - 'requested_date': date}) + 'commitment_date': date}) return sale_line - def test_on_change_requested_date(self): + def test_on_change_commitment_date(self): """True when the requested date in the sale_order_line matches the requested date in the sale order""" req_date = fields.Datetime.to_string(self.dt3) - self.sale1.write({'requested_date': self.dt3}) - result = self.sale1.onchange_requested_date() + self.sale1.write({'commitment_date': self.dt3}) + result = self.sale1._onchange_commitment_date() for line in result['value']['order_line']: - self.assertEqual(line[2]['requested_date'], req_date) + self.assertEqual(line[2]['commitment_date'], req_date) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index d6e01111763..0f0a805cb22 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -1,32 +1,32 @@ - - sale.order.requested.date.form - sale.order - - - - {'default_requested_date':requested_date} - - - - - - - - - + + sale.order.commitment.date.form + sale.order + + + + {'default_commitment_date':commitment_date} + + + + + + + + + - - sale.order.line.ext.tree - sale.order.line - - - - - - - + + sale.order.line.ext.tree + sale.order.line + + + + + + + diff --git a/setup/.setuptools-odoo-make-default-ignore b/setup/.setuptools-odoo-make-default-ignore new file mode 100644 index 00000000000..207e615334b --- /dev/null +++ b/setup/.setuptools-odoo-make-default-ignore @@ -0,0 +1,2 @@ +# addons listed in this file are ignored by +# setuptools-odoo-make-default (one addon per line) diff --git a/setup/README b/setup/README new file mode 100644 index 00000000000..a63d633e863 --- /dev/null +++ b/setup/README @@ -0,0 +1,2 @@ +To learn more about this directory, please visit +https://pypi.python.org/pypi/setuptools-odoo diff --git a/setup/sale_order_line_date/odoo/addons/sale_order_line_date b/setup/sale_order_line_date/odoo/addons/sale_order_line_date new file mode 120000 index 00000000000..07f780a436b --- /dev/null +++ b/setup/sale_order_line_date/odoo/addons/sale_order_line_date @@ -0,0 +1 @@ +../../../../sale_order_line_date \ No newline at end of file diff --git a/setup/sale_order_line_date/setup.cfg b/setup/sale_order_line_date/setup.cfg new file mode 100644 index 00000000000..3c6e79cf31d --- /dev/null +++ b/setup/sale_order_line_date/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup/sale_order_line_date/setup.py b/setup/sale_order_line_date/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/sale_order_line_date/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) From 7b4a38a979a4a065a1fd2a02927250b6e30f14bf Mon Sep 17 00:00:00 2001 From: mpanarin Date: Tue, 2 Oct 2018 12:35:18 +0300 Subject: [PATCH 10/19] fixup! [MIG] 12.0 sale_order_line_date --- sale_order_line_date/__init__.py | 7 ------- sale_order_line_date/__manifest__.py | 2 +- sale_order_line_date/models/__init__.py | 9 --------- sale_order_line_date/tests/__init__.py | 7 ------- 4 files changed, 1 insertion(+), 24 deletions(-) diff --git a/sale_order_line_date/__init__.py b/sale_order_line_date/__init__.py index 2378d92783c..0650744f6bc 100644 --- a/sale_order_line_date/__init__.py +++ b/sale_order_line_date/__init__.py @@ -1,8 +1 @@ -# © 2016 OdooMRP team -# © 2016 AvanzOSC -# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza -# © 2016 Eficent Business and IT Consulting Services, S.L. -# Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - from . import models diff --git a/sale_order_line_date/__manifest__.py b/sale_order_line_date/__manifest__.py index 9b89dfd5695..d1824bbb663 100644 --- a/sale_order_line_date/__manifest__.py +++ b/sale_order_line_date/__manifest__.py @@ -18,7 +18,7 @@ "license": "AGPL-3", # sale_order_dates became part of the sale module in 12.0 "depends": [ - "sale", + "sale_management", ], "data": [ "views/sale_order_view.xml", diff --git a/sale_order_line_date/models/__init__.py b/sale_order_line_date/models/__init__.py index 4530e471432..2d7ee6c3dc7 100644 --- a/sale_order_line_date/models/__init__.py +++ b/sale_order_line_date/models/__init__.py @@ -1,11 +1,2 @@ -# © 2016 OdooMRP team -# © 2016 AvanzOSC -# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza -# © 2016 Eficent Business and IT Consulting Services, S.L. -# Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# Copyright 2018 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) - - from . import sale_order from . import sale_order_line diff --git a/sale_order_line_date/tests/__init__.py b/sale_order_line_date/tests/__init__.py index 57c2ccc1dad..96149d2f9fb 100644 --- a/sale_order_line_date/tests/__init__.py +++ b/sale_order_line_date/tests/__init__.py @@ -1,8 +1 @@ -# © 2016 OdooMRP team -# © 2016 AvanzOSC -# © 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza -# © 2016 Eficent Business and IT Consulting Services, S.L. -# Copyright 2017 Serpent Consulting Services Pvt. Ltd. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - from . import test_sale_order_line_date From ebca60056be33074254cd91d4c0aca58d880285d Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Fri, 8 Mar 2019 16:00:15 +0200 Subject: [PATCH 11/19] Update sale_order_line_date/models/sale_order_line.py Co-Authored-By: mpanarin <31699470+mpanarin@users.noreply.github.com> --- sale_order_line_date/models/sale_order_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index ed42bdccd06..69e2249d104 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -23,6 +23,6 @@ def _prepare_procurement_values(self, group_id=False): vals = super()._prepare_procurement_values(group_id) if self.requested_date: vals.update({ - 'date_planned': self.requested_date, + 'date_planned': self.commitment_date, }) return vals From d860032ae9efc70c75c7ddad69726dbcb0a1d2e2 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Fri, 8 Mar 2019 16:00:35 +0200 Subject: [PATCH 12/19] Update sale_order_line_date/models/sale_order_line.py Co-Authored-By: mpanarin <31699470+mpanarin@users.noreply.github.com> --- sale_order_line_date/models/sale_order_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index 69e2249d104..ecccb8785ab 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -21,7 +21,7 @@ class SaleOrderLine(models.Model): @api.multi def _prepare_procurement_values(self, group_id=False): vals = super()._prepare_procurement_values(group_id) - if self.requested_date: + if self.commitment_date: vals.update({ 'date_planned': self.commitment_date, }) From 5bf24740fa067a1b300e9c0c3b583f7656ca3a9d Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Fri, 8 Mar 2019 16:00:47 +0200 Subject: [PATCH 13/19] Update sale_order_line_date/views/sale_order_view.xml Co-Authored-By: mpanarin <31699470+mpanarin@users.noreply.github.com> --- sale_order_line_date/views/sale_order_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index 0f0a805cb22..0359e4011ff 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -24,7 +24,7 @@ - + From c17bce11329b9b0081a30d6c21b2bb1cf3affabf Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Fri, 8 Mar 2019 16:00:55 +0200 Subject: [PATCH 14/19] Update sale_order_line_date/views/sale_order_view.xml Co-Authored-By: mpanarin <31699470+mpanarin@users.noreply.github.com> --- sale_order_line_date/views/sale_order_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index 0359e4011ff..467748603b7 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -13,7 +13,7 @@ - + From a5100b05248185178a8e5fb5892e3762f238ede5 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Fri, 8 Mar 2019 16:01:13 +0200 Subject: [PATCH 15/19] Update sale_order_line_date/views/sale_order_view.xml Co-Authored-By: mpanarin <31699470+mpanarin@users.noreply.github.com> --- sale_order_line_date/views/sale_order_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_line_date/views/sale_order_view.xml b/sale_order_line_date/views/sale_order_view.xml index 467748603b7..45f2cd8b148 100644 --- a/sale_order_line_date/views/sale_order_view.xml +++ b/sale_order_line_date/views/sale_order_view.xml @@ -10,7 +10,7 @@ {'default_commitment_date':commitment_date} - + From 243d3932ec8ad43ddbba0f34fba5fcb4e7d0fbd0 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Fri, 8 Mar 2019 16:09:16 +0100 Subject: [PATCH 16/19] Restore sale.order.line commitment_date as unrelated to sale.order --- sale_order_line_date/models/sale_order.py | 3 +- .../models/sale_order_line.py | 28 ++++++++++++++++--- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/sale_order_line_date/models/sale_order.py b/sale_order_line_date/models/sale_order.py index 2abfac348a0..6237c99a10f 100644 --- a/sale_order_line_date/models/sale_order.py +++ b/sale_order_line_date/models/sale_order.py @@ -17,11 +17,10 @@ class SaleOrder(models.Model): # requested_date was renamed to commitment_date @api.onchange('commitment_date') def _onchange_commitment_date(self): - """Warn if the requested dates is sooner than the commitment date""" + """Update order lines with commitment date from sale order""" result = super()._onchange_commitment_date() or {} if not self: return result - self.ensure_one() if 'warning' not in result: lines = [] for line in self.order_line: diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index ecccb8785ab..e570fb25afb 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -13,10 +13,30 @@ class SaleOrderLine(models.Model): _inherit = 'sale.order.line' - commitment_date = fields.Datetime( - related="order_id.commitment_date", - readonly=True, - ) + commitment_date = fields.Datetime() + + @api.multi + def write(self, vals): + # Force commitment date only if all the lines are on the same sale.order + if len(self.mapped('order_id')) == 1: + for line in self: + if ( + not line.commitment_date + and line.order_id.commitment_date + and 'commitment_date' not in vals + ): + vals.update({ + 'commitment_date': line.order_id.commitment_date + }) + break + return super(SaleOrderLine, self).write(vals) + + @api.model + def create(self, vals): + res = super(SaleOrderLine, self).create(vals) + if res.order_id.commitment_date and not res.commitment_date: + res.write({'commitment_date': res.order_id.commitment_date}) + return res @api.multi def _prepare_procurement_values(self, group_id=False): From 43ad67f88371e5108e4bce3df8a37544b3c6ab1d Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Thu, 20 Jun 2019 12:23:15 +0200 Subject: [PATCH 17/19] fix category in the manifest --- sale_order_line_date/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_order_line_date/__manifest__.py b/sale_order_line_date/__manifest__.py index d1824bbb663..49ad0161aff 100644 --- a/sale_order_line_date/__manifest__.py +++ b/sale_order_line_date/__manifest__.py @@ -14,7 +14,7 @@ "Serv. Tecnol. Avanzados - Pedro M. Baeza," "Odoo Community Association (OCA)", "website": "https://odoo-community.org/", - "category": "Sales Management", + "category": "Sale", "license": "AGPL-3", # sale_order_dates became part of the sale module in 12.0 "depends": [ From 4f2ec662254331638ff114d45550aebf88dd1b5d Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Thu, 20 Jun 2019 12:24:16 +0200 Subject: [PATCH 18/19] split long line to please flake8 --- sale_order_line_date/models/sale_order_line.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sale_order_line_date/models/sale_order_line.py b/sale_order_line_date/models/sale_order_line.py index e570fb25afb..714077165db 100644 --- a/sale_order_line_date/models/sale_order_line.py +++ b/sale_order_line_date/models/sale_order_line.py @@ -17,7 +17,8 @@ class SaleOrderLine(models.Model): @api.multi def write(self, vals): - # Force commitment date only if all the lines are on the same sale.order + # Force commitment date only if all the lines + # are on the same sale.order if len(self.mapped('order_id')) == 1: for line in self: if ( From c16badff1c69e286afb8eeaac609b538621365db Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Thu, 20 Jun 2019 12:55:57 +0200 Subject: [PATCH 19/19] [UPD] README.rst --- sale_order_line_date/README.rst | 92 ++++ .../static/description/index.html | 438 ++++++++++++++++++ 2 files changed, 530 insertions(+) create mode 100644 sale_order_line_date/README.rst create mode 100644 sale_order_line_date/static/description/index.html diff --git a/sale_order_line_date/README.rst b/sale_order_line_date/README.rst new file mode 100644 index 00000000000..758faec81f0 --- /dev/null +++ b/sale_order_line_date/README.rst @@ -0,0 +1,92 @@ +==================== +Sale Order Line Date +==================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fsale--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/sale-workflow/tree/12.0/sale_order_line_date + :alt: OCA/sale-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_order_line_date + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/167/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds requested date to a sales order lines and propagate it to +stock moves and procurements. +When the requested date of the whole sale order is modified the requested date +of the lines change to match. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Create a Quotation or a Sales Order and it fills the requested date in the sale +order line + +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 +~~~~~~~~~~~~ + +* Oihane Crucelaegui +* Esther Martín +* Pedro M. Baeza +* Ana Juaristi +* Jordi Ballester +* Aaron Henriquez +* Serpent Consulting Services Pvt. Ltd. +* Francesco Apruzzese +* Mykhailo Panarin + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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/sale-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_line_date/static/description/index.html b/sale_order_line_date/static/description/index.html new file mode 100644 index 00000000000..1a10d084590 --- /dev/null +++ b/sale_order_line_date/static/description/index.html @@ -0,0 +1,438 @@ + + + + + + +Sale Order Line Date + + + +
+

Sale Order Line Date

+ + +

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

+

This module adds requested date to a sales order lines and propagate it to +stock moves and procurements. +When the requested date of the whole sale order is modified the requested date +of the lines change to match.

+

Table of contents

+ +
+

Usage

+

Create a Quotation or a Sales Order and it fills the requested date in the sale +order line

+
+
+

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

+

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

+
+
+
+ +