diff --git a/sale_quotation_number/README.rst b/sale_quotation_number/README.rst new file mode 100644 index 00000000000..20e29f32fbf --- /dev/null +++ b/sale_quotation_number/README.rst @@ -0,0 +1,134 @@ +========================= +Sale Quotation Numeration +========================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/15.0/sale_quotation_number + :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-15-0/sale-workflow-15-0-sale_quotation_number + :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/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +* Sale Quotation: + + * Sale process in draft stage just informing prices and element of communication. + +* Sale Order: + + * Sale process confirmed, the customer already have a compromise with us in terms of pay an invoice and receive our product or service. + +Originally Odoo manage only 1 sequence for this 2 documents, then the sales order won and lost manage the same sequence losing +almost all lost quotations in terms of sequences, making so difficult understand with a quick view if we are good or bad in terms of +logistic and sale process already confirmed. + + +**Technical Explanation** + +When you create a quotation, it is numbered using the 'sale.quotation' +sequence. When you confirm a quotation, its orginal number is saved in the +'origin' field and the sale order gets a new number, retrieving it from +'sale.order' sequence. + +* With Odoo Base: + + Sale Quotation 1 Number = SO001 + + Sale Quotation 2 Number = SO002 + + Sale Quotation 3 Number = SO003 + + Sale Quotation 4 Number = SO004 + +* With Odoo + This Module: + + Sale Quotation 1 Number = SQ001 + + Sale Quotation 2 Number = SQ002 + + Sale Quotation 3 Number = SQ003 + + Sale Quotation 4 Number = SQ004 + + Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation SQ002 + + Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation SQ001 + + Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation SQ004 + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module you need to go to Sales -> Configuration and uncheck 'Use same enumeration for quotations and sale orders'. + +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 +~~~~~~~ + +* Elico Corp +* Agile Business Group +* Qubiq + +Contributors +~~~~~~~~~~~~ + +* Andy Lu +* Lorenzo Battistini +* Valentin Vinagre Urteaga +* Serpent Consulting Services Pvt. Ltd. +* Manuel Regidor +* Vishnu Vanneri + +Other credits +~~~~~~~~~~~~~ + +* Odoo Community Association: `Icon `_. + +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_quotation_number/__init__.py b/sale_quotation_number/__init__.py new file mode 100644 index 00000000000..21101d3490d --- /dev/null +++ b/sale_quotation_number/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from . import models diff --git a/sale_quotation_number/__manifest__.py b/sale_quotation_number/__manifest__.py new file mode 100644 index 00000000000..f222ffc9cda --- /dev/null +++ b/sale_quotation_number/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2010-2012 Andy Lu (Elico Corp) +# Copyright 2013 Agile Business Group sagl () +# Copyright 2017 valentin vinagre (QubiQ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +{ + "name": "Sale Quotation Numeration", + "summary": "Different sequence for sale quotations", + "version": "15.0.1.0.0", + "category": "Sales Management", + "website": "https://github.com/OCA/sale-workflow", + "author": "Elico Corp, " + "Agile Business Group, " + "Qubiq, " + "Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": ["sale_management"], + "data": ["data/data.xml", "views/sales_config.xml"], +} diff --git a/sale_quotation_number/data/data.xml b/sale_quotation_number/data/data.xml new file mode 100644 index 00000000000..5076cd92847 --- /dev/null +++ b/sale_quotation_number/data/data.xml @@ -0,0 +1,17 @@ + + + + + + Sales Quotation + sale.quotation + SQ + 3 + + + diff --git a/sale_quotation_number/i18n/ca.po b/sale_quotation_number/i18n/ca.po new file mode 100644 index 00000000000..b49220fe362 --- /dev/null +++ b/sale_quotation_number/i18n/ca.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-14 06:38+0000\n" +"PO-Revision-Date: 2021-01-20 12:44+0000\n" +"Last-Translator: Daniel Martinez Vila \n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/ca/)\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "Empreses" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "Config. de la Configuració" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" +"Si no es marca aquesta opció, els presupostos utilitzen una seqüència " +"diferent de les comandes de venda" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Comandes de venda" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "Utilitzeu la mateixa enumeració" diff --git a/sale_quotation_number/i18n/de.po b/sale_quotation_number/i18n/de.po new file mode 100644 index 00000000000..532d6234586 --- /dev/null +++ b/sale_quotation_number/i18n/de.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2021-07-09 15:48+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: German (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "Unternehmen" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurationseinstellungen" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" +"Wenn das Häkchen nicht aktiviert ist, werden Angebote anders als Aufträge " +"nummeriert, da sie eine andere Sequenz verwenden." + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Verkaufsauftrag" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "Dieselbe Nummerierung verwenden" + +#~ msgid "Quotation" +#~ msgstr "Angebot" diff --git a/sale_quotation_number/i18n/es.po b/sale_quotation_number/i18n/es.po new file mode 100644 index 00000000000..4fa14513b05 --- /dev/null +++ b/sale_quotation_number/i18n/es.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2020-10-26 12:08+0000\n" +"Last-Translator: Daniel Martinez Vila \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "Config Ajustes" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" +"Si no está marcado, las cotizaciones utilizan una secuencia diferente a las " +"órdenes de venta" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "Usar la misma enumeración" diff --git a/sale_quotation_number/i18n/es_ES.po b/sale_quotation_number/i18n/es_ES.po new file mode 100644 index 00000000000..0b123102b5f --- /dev/null +++ b/sale_quotation_number/i18n/es_ES.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-10-04 13:41+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Spain) (http://www.transifex.com/oca/OCA-sale-" +"workflow-8-0/language/es_ES/)\n" +"Language: es_ES\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Pedido de venta" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/fi.po b/sale_quotation_number/i18n/fi.po new file mode 100644 index 00000000000..d3e6a6447e6 --- /dev/null +++ b/sale_quotation_number/i18n/fi.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Myyntitilaus" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/fr.po b/sale_quotation_number/i18n/fr.po new file mode 100644 index 00000000000..424c06ab3f3 --- /dev/null +++ b/sale_quotation_number/i18n/fr.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Bon de commande" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/hr.po b/sale_quotation_number/i18n/hr.po new file mode 100644 index 00000000000..2e138ce786e --- /dev/null +++ b/sale_quotation_number/i18n/hr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-22 23:35+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/hu.po b/sale_quotation_number/i18n/hu.po new file mode 100644 index 00000000000..62430ca6711 --- /dev/null +++ b/sale_quotation_number/i18n/hu.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-10 05:55+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/hu/)\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Vevői megrendelés" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/it.po b/sale_quotation_number/i18n/it.po new file mode 100644 index 00000000000..abd76d27c88 --- /dev/null +++ b/sale_quotation_number/i18n/it.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-22 10:25+0000\n" +"PO-Revision-Date: 2018-01-22 10:25+0000\n" +"Last-Translator: Simone Rubino \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +#, fuzzy +msgid "Config Settings" +msgstr "sale.config.settings" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" +"Se disattivato, i preventivi utilizzano una sequenza diversa dagli ordini di " +"vendita" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Ordine di vendita" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +#, fuzzy +msgid "Use Same Enumeration" +msgstr "Utilizza la stessa sequenza" diff --git a/sale_quotation_number/i18n/nl.po b/sale_quotation_number/i18n/nl.po new file mode 100644 index 00000000000..8da1cd0d50b --- /dev/null +++ b/sale_quotation_number/i18n/nl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-23 08:14+0000\n" +"PO-Revision-Date: 2021-01-26 00:06+0000\n" +"Last-Translator: Bosd \n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "Bedrijven" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/nl_NL.po b/sale_quotation_number/i18n/nl_NL.po new file mode 100644 index 00000000000..f9df44bab69 --- /dev/null +++ b/sale_quotation_number/i18n/nl_NL.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-29 03:52+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-sale-" +"workflow-8-0/language/nl_NL/)\n" +"Language: nl_NL\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Verkooporder" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/pt_BR.po b/sale_quotation_number/i18n/pt_BR.po new file mode 100644 index 00000000000..1b687ddfd8b --- /dev/null +++ b/sale_quotation_number/i18n/pt_BR.po @@ -0,0 +1,51 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-10 05:55+0000\n" +"PO-Revision-Date: 2021-02-14 22:45+0000\n" +"Last-Translator: Eder Brito \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/" +"OCA-sale-workflow-8-0/language/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "Definições de Configuração" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" +"Se for desmarcado, as cotações usarão uma sequencia diferente dos pedidos de " +"venda" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Pedidos de Venda" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "Use a Mesma Numeração" diff --git a/sale_quotation_number/i18n/ro.po b/sale_quotation_number/i18n/ro.po new file mode 100644 index 00000000000..3bf56dd8487 --- /dev/null +++ b/sale_quotation_number/i18n/ro.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-22 12:41+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-sale-workflow-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" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Comandă vânzare" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/sale_quotation_number.pot b/sale_quotation_number/i18n/sale_quotation_number.pot new file mode 100644 index 00000000000..e9e0ef13f40 --- /dev/null +++ b/sale_quotation_number/i18n/sale_quotation_number.pot @@ -0,0 +1,64 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__display_name +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__display_name +#: model:ir.model.fields,field_description:sale_quotation_number.field_sale_order__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__id +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__id +#: model:ir.model.fields,field_description:sale_quotation_number.field_sale_order__id +msgid "ID" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company____last_update +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings____last_update +#: model:ir.model.fields,field_description:sale_quotation_number.field_sale_order____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/sk.po b/sale_quotation_number/i18n/sk.po new file mode 100644 index 00000000000..78558df87bc --- /dev/null +++ b/sale_quotation_number/i18n/sk.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-09-26 08:15+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Slovak (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/sk/)\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Objednávka predaja" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/sl.po b/sale_quotation_number/i18n/sl.po new file mode 100644 index 00000000000..db650c71291 --- /dev/null +++ b/sale_quotation_number/i18n/sl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-07 14:32+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Prodajni nalog" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/tr.po b/sale_quotation_number/i18n/tr.po new file mode 100644 index 00000000000..12e2523eb21 --- /dev/null +++ b/sale_quotation_number/i18n/tr.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-12-05 23:35+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-sale-workflow-8-0/" +"language/tr/)\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Sipariş Emri" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/tr_TR.po b/sale_quotation_number/i18n/tr_TR.po new file mode 100644 index 00000000000..558feb17a8d --- /dev/null +++ b/sale_quotation_number/i18n/tr_TR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-04 10:48+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-sale-" +"workflow-8-0/language/tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "Satış emri" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/i18n/zh_CN.po b/sale_quotation_number/i18n/zh_CN.po new file mode 100644 index 00000000000..21a42c4f4cd --- /dev/null +++ b/sale_quotation_number/i18n/zh_CN.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_quotation_number +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: sale-workflow (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-09 12:27+0000\n" +"PO-Revision-Date: 2015-09-03 07:10+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-sale-" +"workflow-8-0/language/zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_company +msgid "Companies" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model.fields,help:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,help:sale_quotation_number.field_res_config_settings__keep_name_so +#: model_terms:ir.ui.view,arch_db:sale_quotation_number.res_config_settings_view_form_quotation_number +msgid "" +"If this is unchecked, quotations use a different sequence from sale orders" +msgstr "" + +#. module: sale_quotation_number +#: model:ir.model,name:sale_quotation_number.model_sale_order +msgid "Sales Order" +msgstr "销售订单" + +#. module: sale_quotation_number +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_company__keep_name_so +#: model:ir.model.fields,field_description:sale_quotation_number.field_res_config_settings__keep_name_so +msgid "Use Same Enumeration" +msgstr "" diff --git a/sale_quotation_number/models/__init__.py b/sale_quotation_number/models/__init__.py new file mode 100644 index 00000000000..797c5acfc60 --- /dev/null +++ b/sale_quotation_number/models/__init__.py @@ -0,0 +1,4 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from . import res_company +from . import sale_order diff --git a/sale_quotation_number/models/res_company.py b/sale_quotation_number/models/res_company.py new file mode 100644 index 00000000000..bef9d39b643 --- /dev/null +++ b/sale_quotation_number/models/res_company.py @@ -0,0 +1,24 @@ +# © 2010-2012 Andy Lu (Elico Corp) +# © 2013 Agile Business Group sagl () +# © 2017 valentin vinagre (QubiQ) +# © 2020 Manuel Regidor +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + keep_name_so = fields.Boolean( + string="Use Same Enumeration", + help="If this is unchecked, quotations use a different sequence from " + "sale orders", + default=True, + ) + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + keep_name_so = fields.Boolean(related="company_id.keep_name_so", readonly=False) diff --git a/sale_quotation_number/models/sale_order.py b/sale_quotation_number/models/sale_order.py new file mode 100644 index 00000000000..cc371cb6e56 --- /dev/null +++ b/sale_quotation_number/models/sale_order.py @@ -0,0 +1,48 @@ +# © 2010-2012 Andy Lu (Elico Corp) +# © 2013 Agile Business Group sagl () +# © 2017 valentin vinagre (QubiQ) +# © 2020 Manuel Regidor +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import api, models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + @api.model + def create(self, vals): + company = False + if "company_id" in vals: + company = self.env["res.company"].browse(vals.get("company_id")) + else: + company = self.env.company + if not company.keep_name_so: + vals["name"] = self.env["ir.sequence"].next_by_code("sale.quotation") or "/" + return super(SaleOrder, self).create(vals) + + def copy(self, default=None): + self.ensure_one() + if default is None: + default = {} + default["name"] = "/" + if self.origin and self.origin != "": + default["origin"] = self.origin + ", " + self.name + else: + default["origin"] = self.name + return super(SaleOrder, self).copy(default) + + def action_confirm(self): + for order in self: + if order.state in ("draft", "sent") and not order.company_id.keep_name_so: + if order.origin and order.origin != "": + quo = order.origin + ", " + order.name + else: + quo = order.name + order.write( + { + "origin": quo, + "name": self.env["ir.sequence"].next_by_code("sale.order"), + } + ) + return super().action_confirm() diff --git a/sale_quotation_number/readme/CONFIGURE.rst b/sale_quotation_number/readme/CONFIGURE.rst new file mode 100644 index 00000000000..75860dd11b9 --- /dev/null +++ b/sale_quotation_number/readme/CONFIGURE.rst @@ -0,0 +1 @@ +To configure this module you need to go to Sales -> Configuration and uncheck 'Use same enumeration for quotations and sale orders'. diff --git a/sale_quotation_number/readme/CONTRIBUTORS.rst b/sale_quotation_number/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..952fb7f91af --- /dev/null +++ b/sale_quotation_number/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Andy Lu +* Lorenzo Battistini +* Valentin Vinagre Urteaga +* Serpent Consulting Services Pvt. Ltd. +* Manuel Regidor +* Vishnu Vanneri diff --git a/sale_quotation_number/readme/CREDITS.rst b/sale_quotation_number/readme/CREDITS.rst new file mode 100644 index 00000000000..cc056a80d6d --- /dev/null +++ b/sale_quotation_number/readme/CREDITS.rst @@ -0,0 +1 @@ +* Odoo Community Association: `Icon `_. diff --git a/sale_quotation_number/readme/DESCRIPTION.rst b/sale_quotation_number/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..4b763fe044a --- /dev/null +++ b/sale_quotation_number/readme/DESCRIPTION.rst @@ -0,0 +1,45 @@ +* Sale Quotation: + + * Sale process in draft stage just informing prices and element of communication. + +* Sale Order: + + * Sale process confirmed, the customer already have a compromise with us in terms of pay an invoice and receive our product or service. + +Originally Odoo manage only 1 sequence for this 2 documents, then the sales order won and lost manage the same sequence losing +almost all lost quotations in terms of sequences, making so difficult understand with a quick view if we are good or bad in terms of +logistic and sale process already confirmed. + + +**Technical Explanation** + +When you create a quotation, it is numbered using the 'sale.quotation' +sequence. When you confirm a quotation, its orginal number is saved in the +'origin' field and the sale order gets a new number, retrieving it from +'sale.order' sequence. + +* With Odoo Base: + + Sale Quotation 1 Number = SO001 + + Sale Quotation 2 Number = SO002 + + Sale Quotation 3 Number = SO003 + + Sale Quotation 4 Number = SO004 + +* With Odoo + This Module: + + Sale Quotation 1 Number = SQ001 + + Sale Quotation 2 Number = SQ002 + + Sale Quotation 3 Number = SQ003 + + Sale Quotation 4 Number = SQ004 + + Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation SQ002 + + Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation SQ001 + + Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation SQ004 diff --git a/sale_quotation_number/static/description/icon.png b/sale_quotation_number/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/sale_quotation_number/static/description/icon.png differ diff --git a/sale_quotation_number/static/description/index.html b/sale_quotation_number/static/description/index.html new file mode 100644 index 00000000000..a7e2a0d8d83 --- /dev/null +++ b/sale_quotation_number/static/description/index.html @@ -0,0 +1,476 @@ + + + + + + +Sale Quotation Numeration + + + +
+

Sale Quotation Numeration

+ + +

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

+
    +
  • Sale Quotation:
      +
    • Sale process in draft stage just informing prices and element of communication.
    • +
    +
  • +
  • Sale Order:
      +
    • Sale process confirmed, the customer already have a compromise with us in terms of pay an invoice and receive our product or service.
    • +
    +
  • +
+

Originally Odoo manage only 1 sequence for this 2 documents, then the sales order won and lost manage the same sequence losing +almost all lost quotations in terms of sequences, making so difficult understand with a quick view if we are good or bad in terms of +logistic and sale process already confirmed.

+

Technical Explanation

+

When you create a quotation, it is numbered using the ‘sale.quotation’ +sequence. When you confirm a quotation, its orginal number is saved in the +‘origin’ field and the sale order gets a new number, retrieving it from +‘sale.order’ sequence.

+
    +
  • With Odoo Base:

    +
    +

    Sale Quotation 1 Number = SO001

    +

    Sale Quotation 2 Number = SO002

    +

    Sale Quotation 3 Number = SO003

    +

    Sale Quotation 4 Number = SO004

    +
    +
  • +
  • With Odoo + This Module:

    +
    +

    Sale Quotation 1 Number = SQ001

    +

    Sale Quotation 2 Number = SQ002

    +

    Sale Quotation 3 Number = SQ003

    +

    Sale Quotation 4 Number = SQ004

    +

    Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation SQ002

    +

    Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation SQ001

    +

    Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation SQ004

    +
    +
  • +
+

Table of contents

+ +
+

Configuration

+

To configure this module you need to go to Sales -> Configuration and uncheck ‘Use same enumeration for quotations and sale orders’.

+
+
+

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

+
    +
  • Elico Corp
  • +
  • Agile Business Group
  • +
  • Qubiq
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+
    +
  • Odoo Community Association: Icon.
  • +
+
+
+

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.

+
+
+
+ + diff --git a/sale_quotation_number/tests/__init__.py b/sale_quotation_number/tests/__init__.py new file mode 100644 index 00000000000..87308782dcf --- /dev/null +++ b/sale_quotation_number/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from . import test_sale_order diff --git a/sale_quotation_number/tests/test_sale_order.py b/sale_quotation_number/tests/test_sale_order.py new file mode 100644 index 00000000000..47bbc5ee39b --- /dev/null +++ b/sale_quotation_number/tests/test_sale_order.py @@ -0,0 +1,88 @@ +# Copyright 2018 Simone Rubino - Agile Business Group +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import logging + +from odoo.tests.common import TransactionCase + +_logger = logging.getLogger(__name__) + + +class TestSaleOrder(TransactionCase): + def setUp(self, *args, **kwargs): + super(TestSaleOrder, self).setUp() + self.sale_order_model = self.env["sale.order"] + company = self.env.company + company.keep_name_so = False + + def test_enumeration(self): + order1 = self.sale_order_model.create( + {"partner_id": self.env.ref("base.res_partner_1").id} + ) + quotation1_name = order1.name + order2 = self.sale_order_model.create( + {"partner_id": self.env.ref("base.res_partner_1").id} + ) + quotation2_name = order2.name + + self.assertRegex(quotation1_name, "SQ") + self.assertRegex(quotation2_name, "SQ") + self.assertLess(int(quotation1_name[2:]), int(quotation2_name[2:])) + + order2.action_confirm() + order1.action_confirm() + + self.assertRegex(order1.name, "S") + self.assertEqual(order1.origin, quotation1_name) + + self.assertRegex(order2.name, "S") + self.assertEqual(order2.origin, quotation2_name) + self.assertLess(int(order2.name[1:]), int(order1.name[1:])) + + def test_with_origin(self): + origin = "origin" + order1 = self.sale_order_model.create( + {"origin": origin, "partner_id": self.env.ref("base.res_partner_1").id} + ) + quotation1_name = order1.name + order1.action_confirm() + + self.assertRegex(order1.name, "S") + self.assertEqual(order1.origin, ", ".join([origin, quotation1_name])) + + def test_copy_no_origin(self): + order1 = self.sale_order_model.create( + {"partner_id": self.env.ref("base.res_partner_1").id} + ) + order_copy = order1.copy() + + self.assertEqual(order1.name, order_copy.origin) + + def test_copy_with_origin(self): + origin = "origin" + order1 = self.sale_order_model.create( + {"origin": origin, "partner_id": self.env.ref("base.res_partner_1").id} + ) + order_copy = order1.copy() + + self.assertEqual(", ".join([origin, order1.name]), order_copy.origin) + + def test_error_confirmation_sequence(self): + order = self.sale_order_model.create( + {"partner_id": self.env.ref("base.res_partner_1").id, "state": "done"} + ) + # An exception is forced + sequence_id = self.env["ir.sequence"].search( + [ + ("code", "=", "sale.order"), + ("company_id", "in", [order.company_id.id, False]), + ] + ) + next_name = sequence_id.get_next_char(sequence_id.number_next_actual) + try: + order.action_confirm() + except Exception as e: + _logger.error(e) + order.update({"state": "draft"}) + # Now the SQ can be confirmed + order.action_confirm() + self.assertEqual(next_name, order.name) diff --git a/sale_quotation_number/views/sales_config.xml b/sale_quotation_number/views/sales_config.xml new file mode 100644 index 00000000000..3e9d640932a --- /dev/null +++ b/sale_quotation_number/views/sales_config.xml @@ -0,0 +1,25 @@ + + + + + Quotation number configuration + res.config.settings + + + +
+
+ +
+
+
+
+
+
+
+
diff --git a/sale_require_po_doc/README.rst b/sale_require_po_doc/README.rst new file mode 100644 index 00000000000..4780559be42 --- /dev/null +++ b/sale_require_po_doc/README.rst @@ -0,0 +1,81 @@ +============================================= +Sale Orders Require PO or Sales Documentation +============================================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/15.0/sale_require_po_doc + :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-15-0/sale-workflow-15-0-sale_require_po_doc + :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/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The goal of this development is to create a field for validation to notate which customers require a purchase order in order to create an invoice. + +**Table of contents** + +.. contents:: + :local: + +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 +~~~~~~~ + +* Open Source Integrators + +Contributors +~~~~~~~~~~~~ + +* Daniel Reis +* Chandresh Thakkar +* Hardik Suthar + + +Other credits +~~~~~~~~~~~~~ + +* Open Source Integrators + +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_require_po_doc/__init__.py b/sale_require_po_doc/__init__.py new file mode 100644 index 00000000000..8bc7dd777ae --- /dev/null +++ b/sale_require_po_doc/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2022 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/sale_require_po_doc/__manifest__.py b/sale_require_po_doc/__manifest__.py new file mode 100644 index 00000000000..7cabf2c1194 --- /dev/null +++ b/sale_require_po_doc/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright (C) 2022 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Sale Orders Require PO or Sales Documentation", + "version": "15.0.1.0.0", + "license": "AGPL-3", + "author": "Open Source Integrators, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/sale-workflow", + "category": "Sales", + "depends": ["sale_management"], + "data": ["views/res_partner_view.xml", "views/sale_order_view.xml"], + "auto_install": False, + "application": False, + "installable": True, +} + diff --git a/sale_require_po_doc/i18n/sale_require_po_doc.pot b/sale_require_po_doc/i18n/sale_require_po_doc.pot new file mode 100644 index 00000000000..3026942995a --- /dev/null +++ b/sale_require_po_doc/i18n/sale_require_po_doc.pot @@ -0,0 +1,85 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_require_po_doc +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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_require_po_doc +#: model:ir.model.fields,help:sale_require_po_doc.field_res_partner__customer_need_po +#: model:ir.model.fields,help:sale_require_po_doc.field_res_users__customer_need_po +#: model:ir.model.fields,help:sale_require_po_doc.field_sale_order__customer_need_po +msgid "A PO number will be required on the Sales Order field for Customer Reference" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model,name:sale_require_po_doc.model_res_partner +msgid "Contact" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model.fields,field_description:sale_require_po_doc.field_res_partner__customer_need_po +#: model:ir.model.fields,field_description:sale_require_po_doc.field_res_users__customer_need_po +#: model:ir.model.fields,field_description:sale_require_po_doc.field_sale_order__customer_need_po +msgid "Customer Requires PO" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model.fields,help:sale_require_po_doc.field_res_partner__sale_doc +#: model:ir.model.fields,help:sale_require_po_doc.field_res_users__sale_doc +#: model:ir.model.fields,help:sale_require_po_doc.field_sale_order__sale_doc +msgid "Details of the sales documentation required for this customer. Sales documentation notes field will be required on Sales Orders This is complementary to requiring a PO number, and can be used with or without that setting." +msgstr "" + +#. module: sale_require_po_doc +#: selection:sale.order,sale_document_option:0 +msgid "Documentation required obtained and archived" +msgstr "" + +#. module: sale_require_po_doc +#: selection:sale.order,sale_document_option:0 +msgid "No documentation needed for this Sale" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model.fields,field_description:sale_require_po_doc.field_sale_order__sale_document_option +msgid "Sale Documentation" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model.fields,field_description:sale_require_po_doc.field_sale_order__sale_document_note +msgid "Sale Documentation Notes" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model,name:sale_require_po_doc.model_sale_order +msgid "Sale Order" +msgstr "" + +#. module: sale_require_po_doc +#: model:ir.model.fields,field_description:sale_require_po_doc.field_res_partner__sale_doc +#: model:ir.model.fields,field_description:sale_require_po_doc.field_res_users__sale_doc +#: model:ir.model.fields,field_description:sale_require_po_doc.field_sale_order__sale_doc +msgid "Sales Require Documentation" +msgstr "" + +#. module: sale_require_po_doc +#: code:addons/sale_require_po_doc/models/sale_order.py:32 +#, python-format +msgid "You can not confirm sale order without Customer reference." +msgstr "" + +#. module: sale_require_po_doc +#: code:addons/sale_require_po_doc/models/sale_order.py:36 +#, python-format +msgid "You can not confirm sale order without Sale Documentation." +msgstr "" + diff --git a/sale_require_po_doc/models/__init__.py b/sale_require_po_doc/models/__init__.py new file mode 100644 index 00000000000..46ad3d2abad --- /dev/null +++ b/sale_require_po_doc/models/__init__.py @@ -0,0 +1,5 @@ +# Copyright (C) 2022 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import res_partner +from . import sale_order diff --git a/sale_require_po_doc/models/res_partner.py b/sale_require_po_doc/models/res_partner.py new file mode 100644 index 00000000000..7fde9c33e62 --- /dev/null +++ b/sale_require_po_doc/models/res_partner.py @@ -0,0 +1,23 @@ +# Copyright (C) 2022 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + customer_need_po = fields.Boolean( + string="Customer Requires PO", + tracking=True, + help="A PO number will be required on the" + " Sales Order field for Customer Reference", + ) + sale_doc = fields.Text( + string="Sales Require Documentation", + tracking=True, + help="Details of the sales documentation required for this customer." + " Sales documentation notes field will be required on Sales Orders" + " This is complementary to requiring a PO number, and can be used" + " with or without that setting.", + ) diff --git a/sale_require_po_doc/models/sale_order.py b/sale_require_po_doc/models/sale_order.py new file mode 100644 index 00000000000..5ec8da038b0 --- /dev/null +++ b/sale_require_po_doc/models/sale_order.py @@ -0,0 +1,46 @@ +# Copyright (C) 2022 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import _, fields, models +from odoo.exceptions import ValidationError + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + customer_need_po = fields.Boolean( + related="partner_id.customer_need_po", + string="Customer Requires PO", + readonly=True, + ) + sale_doc = fields.Text( + related="partner_id.sale_doc", + string="Sales Require Documentation", + readonly=True, + ) + sale_document_option = fields.Selection( + [ + ("no_need", "No documentation needed for this Sale"), + ("done", "Documentation required obtained and archived"), + ], + string="Sale Documentation", + ) + sale_document_note = fields.Text(string="Sale Documentation Notes") + + def action_confirm(self): + for order in self: + if order.customer_need_po and not order.client_order_ref: + raise ValidationError( + _( + """You can not confirm sale order without \ + Customer reference.""" + ) + ) + if order.sale_doc and not order.sale_document_option: + raise ValidationError( + _( + """You can not confirm sale order without \ + Sale Documentation.""" + ) + ) + return super(SaleOrder, self).action_confirm() diff --git a/sale_require_po_doc/readme/CONTRIBUTORS.rst b/sale_require_po_doc/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..09cc2085eab --- /dev/null +++ b/sale_require_po_doc/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Daniel Reis +* Chandresh Thakkar \ No newline at end of file diff --git a/sale_require_po_doc/readme/CREDITS.rst b/sale_require_po_doc/readme/CREDITS.rst new file mode 100644 index 00000000000..e07f01b8f1e --- /dev/null +++ b/sale_require_po_doc/readme/CREDITS.rst @@ -0,0 +1 @@ +* Open Source Integrators \ No newline at end of file diff --git a/sale_require_po_doc/readme/DESCRIPTION.rst b/sale_require_po_doc/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..e88cfd381c1 --- /dev/null +++ b/sale_require_po_doc/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +The goal of this development is to create a field for validation to notate which customers require a purchase order in order to create an invoice. diff --git a/sale_require_po_doc/static/description/icon.png b/sale_require_po_doc/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/sale_require_po_doc/static/description/icon.png differ diff --git a/sale_require_po_doc/static/description/index.html b/sale_require_po_doc/static/description/index.html new file mode 100644 index 00000000000..7b73311bda9 --- /dev/null +++ b/sale_require_po_doc/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +Sale Orders Require PO or Sales Documentation + + + +
+

Sale Orders Require PO or Sales Documentation

+ + +

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

+

The goal of this development is to create a field for validation to notate which customers require a purchase order in order to create an invoice.

+

Table of contents

+ +
+

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

+
    +
  • Open Source Integrators
  • +
+
+ +
+

Other credits

+ +
+
+

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.

+
+
+
+ + diff --git a/sale_require_po_doc/views/res_partner_view.xml b/sale_require_po_doc/views/res_partner_view.xml new file mode 100644 index 00000000000..4fedbbfb68c --- /dev/null +++ b/sale_require_po_doc/views/res_partner_view.xml @@ -0,0 +1,13 @@ + + + res.partner.sales.po.custom + res.partner + + + + + + + + + diff --git a/sale_require_po_doc/views/sale_order_view.xml b/sale_require_po_doc/views/sale_order_view.xml new file mode 100644 index 00000000000..549292b0d70 --- /dev/null +++ b/sale_require_po_doc/views/sale_order_view.xml @@ -0,0 +1,15 @@ + + + sale.order.sales.po.custom + sale.order + + + + + + + + + + + diff --git a/setup/sale_require_po_doc/odoo/addons/sale_require_po_doc b/setup/sale_require_po_doc/odoo/addons/sale_require_po_doc new file mode 120000 index 00000000000..576cfc12510 --- /dev/null +++ b/setup/sale_require_po_doc/odoo/addons/sale_require_po_doc @@ -0,0 +1 @@ +../../../../sale_require_po_doc \ No newline at end of file diff --git a/setup/sale_require_po_doc/setup.py b/setup/sale_require_po_doc/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/sale_require_po_doc/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)