Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0] [MIG] sale_quotation_number: Migration to 18.0 #3508

Open
wants to merge 51 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
b844252
[MIG] sale_quotation_number: Migration to 14.0
Vanneri Nov 25, 2020
8627ccd
[UPD] Update sale_quotation_number.pot
oca-travis Jan 9, 2021
69baeab
[UPD] README.rst
OCA-git-bot Jan 9, 2021
98c8741
sale_quotation_number 14.0.1.0.1
OCA-git-bot Jan 9, 2021
27d5934
Translated using Weblate (Catalan)
danimv5 Jan 20, 2021
9f8721d
Translated using Weblate (Dutch)
bosd Jan 25, 2021
d73d761
Translated using Weblate (Portuguese (Brazil))
britoederr Feb 14, 2021
fda3438
[14.0][FIX] sale_quotation_number: assertRegexpMatches is duplicated
newtratip Feb 19, 2021
eaa7095
sale_quotation_number 14.0.1.0.2
OCA-git-bot Mar 30, 2021
f54a50c
Translated using Weblate (German)
marylla Jul 9, 2021
670bc88
[MIG] sale_quotation_number: Migration to 14.0
Vanneri Nov 25, 2020
321b2a9
[UPD] Update sale_quotation_number.pot
oca-travis Jan 9, 2021
83999aa
[UPD] README.rst
OCA-git-bot Jan 9, 2021
56463f6
sale_quotation_number 14.0.1.0.1
OCA-git-bot Jan 9, 2021
091730f
Translated using Weblate (Catalan)
danimv5 Jan 20, 2021
1298b36
Translated using Weblate (Dutch)
bosd Jan 25, 2021
cc7c9d0
Translated using Weblate (Portuguese (Brazil))
britoederr Feb 14, 2021
dbddf71
[14.0][FIX] sale_quotation_number: assertRegexpMatches is duplicated
newtratip Feb 19, 2021
7079dc4
sale_quotation_number 14.0.1.0.2
OCA-git-bot Mar 30, 2021
698f515
Translated using Weblate (German)
marylla Jul 9, 2021
727de80
[FIX] sale_isolated_quotation and sale_quotation_number are incompati…
nilshamerlinck Jul 22, 2021
01d4aa3
[UPD] README.rst
OCA-git-bot Dec 1, 2021
b49cdb1
sale_quotation_number 14.0.1.0.3
OCA-git-bot Dec 1, 2021
3bc2617
[IMP] sale_quotation_number: refactor for sale_isolated_quotation
hailangvn Dec 4, 2021
6f9e127
[UPD] README.rst
OCA-git-bot Jan 10, 2022
db65f0f
sale_quotation_number 14.0.2.0.0
OCA-git-bot Jan 10, 2022
c5a940b
[IMP] sale_quotation_number : black, isort, prettier
bizzappdev Mar 15, 2022
006bdc0
[MIG]sale_quotation_number : Migrate sale_quotation_number to v15.
bizzappdev Mar 15, 2022
ab200ba
[UPD] Update sale_quotation_number.pot
Jul 4, 2022
2f23abb
[UPD] README.rst
OCA-git-bot Jul 4, 2022
5b5a2e1
sale_quotation_number 15.0.1.0.1
OCA-git-bot Jul 4, 2022
c0e52fa
[MIG] sale_quotation_number: Migration to 16.0
dsolanki-initos Jun 22, 2023
0f47656
[UPD] Update sale_quotation_number.pot
Jul 24, 2023
62bb6d7
[UPD] README.rst
OCA-git-bot Jul 24, 2023
d5ea29c
Update translation files
weblate Jul 24, 2023
ec3906b
[UPD] README.rst
OCA-git-bot Sep 3, 2023
700fa8c
[fix] sale_quotation_number: fix multi-company
simoneversienti Jun 26, 2023
1915df2
[BOT] post-merge updates
OCA-git-bot Oct 2, 2023
210114f
Translated using Weblate (Italian)
mymage Dec 1, 2023
37beffe
[IMP] sale_quotation_number: deprecated call to Savepointcase
bosd Jan 6, 2024
e93fd5b
[BOT] post-merge updates
OCA-git-bot Jan 6, 2024
20c2df5
[IMP] sale_quotation_number: pre-commit auto fixes
Jul 24, 2024
717706f
[MIG] sale_quotation_number: Migration to 17.0
Jul 24, 2024
707ac58
[UPD] Update sale_quotation_number.pot
Jul 24, 2024
99aae94
[BOT] post-merge updates
OCA-git-bot Jul 24, 2024
5782a94
Update translation files
weblate Jul 24, 2024
783e788
[IMP] sale_quotation_number: allow customizable quotation sequence
CRogos Sep 12, 2024
d3959e1
[BOT] post-merge updates
OCA-git-bot Nov 18, 2024
322e5db
[FIX] sale_quotation_number: fix revision naming for sale orders
Aug 27, 2024
5a98778
[BOT] post-merge updates
OCA-git-bot Dec 6, 2024
9ee5e4a
[MIG] sale_quotation_number: Migration to 18.0
bizzappdev Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 148 additions & 0 deletions sale_quotation_number/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
=========================
Sale Quotation Numeration
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d6340ade2c3791dd1e7a06c531cb5362ff97ec83a6488ce5b69ff3a24f28e5b5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/sale-workflow-18-0-sale_quotation_number
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
:alt: Try me on Runboat

|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 <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_quotation_number%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Elico Corp
* Agile Business Group
* Qubiq

Contributors
------------

- Andy Lu <[email protected]>
- Lorenzo Battistini <[email protected]>
- Valentin Vinagre Urteaga <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- Manuel Regidor <[email protected]>
- Vishnu Vanneri <[email protected]>
- Ruchir Shukla <[email protected]>
- Dhara Solanki <[email protected]>

Other credits
-------------

- Odoo Community Association:
`Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`__.

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 <https://github.com/OCA/sale-workflow/tree/18.0/sale_quotation_number>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions sale_quotation_number/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from . import models
21 changes: 21 additions & 0 deletions sale_quotation_number/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2010-2012 Andy Lu <[email protected]> (Elico Corp)
# Copyright 2013 Agile Business Group sagl (<http://www.agilebg.com>)
# Copyright 2017 valentin vinagre <[email protected]> (QubiQ)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Sale Quotation Numeration",
"summary": "Different sequence for sale quotations",
"version": "18.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/ir_sequence_data.xml", "views/sales_config.xml"],
}
17 changes: 17 additions & 0 deletions sale_quotation_number/data/ir_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2010-2012 Andy Lu <[email protected]> (Elico Corp)
Copyright 2013 Agile Business Group sagl (<http://www.agilebg.com>)
Copyright 2017 valentin vinagre <[email protected]> (QubiQ)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
-->
<odoo noupdate="1">
<!-- Sequence for sale.quotation -->
<record id="seq_sale_quotation" model="ir.sequence">
<field name="name">Sales Quotation</field>
<field name="code">sale.quotation</field>
<field name="prefix">SQ</field>
<field name="padding">3</field>
<field name="company_id" eval="False" />
</record>
</odoo>
51 changes: 51 additions & 0 deletions sale_quotation_number/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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ó"
54 changes: 54 additions & 0 deletions sale_quotation_number/i18n/de.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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"
51 changes: 51 additions & 0 deletions sale_quotation_number/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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"
Loading
Loading