Initial commit: OCA Workflow Process packages (456 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:00 +02:00
commit d366e42934
18799 changed files with 1284507 additions and 0 deletions

View file

@ -0,0 +1,46 @@
# Sale Quotation Numeration
Odoo addon: sale_quotation_number
## Installation
```bash
pip install odoo-bringout-oca-sale-workflow-sale_quotation_number
```
## Dependencies
This addon depends on:
- sale_management
## Manifest Information
- **Name**: Sale Quotation Numeration
- **Version**: 16.0.2.0.0
- **Category**: Sales Management
- **License**: AGPL-3
- **Installable**: True
## Source
Based on [OCA/sale-workflow](https://github.com/OCA/sale-workflow) branch 16.0, addon `sale_quotation_number`.
## License
This package maintains the original AGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Reports: doc/REPORTS.md
- Security: doc/SECURITY.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Sale_quotation_number Module - sale_quotation_number
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for sale_quotation_number. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [sale_management](../../odoo-bringout-oca-ocb-sale_management)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon sale_quotation_number or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-sale-workflow-sale_quotation_number"
# or
uv pip install odoo-bringout-oca-sale-workflow-sale_quotation_number"
```

View file

@ -0,0 +1,14 @@
# Models
Detected core models and extensions in sale_quotation_number.
```mermaid
classDiagram
class res_company
class res_config_settings
class sale_order
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: sale_quotation_number. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon sale_quotation_number
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,8 @@
# Security
This module does not define custom security rules or access controls beyond Odoo defaults.
Default Odoo security applies:
- Base user access through standard groups
- Model access inherited from dependencies
- No custom row-level security rules

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_quotation_number
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-sale-workflow-sale_quotation_number"
version = "16.0.0"
description = "Sale Quotation Numeration - Different sequence for sale quotations"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-sale-workflow-sale_management>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["sale_quotation_number"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]

View file

@ -0,0 +1,143 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association
=========================
Sale Quotation Numeration
=========================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2774d0de82ecd10f40ce4f2be88920984ec6c3a274a2d1b84fb024547dbbfab5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/license-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/16.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-16-0/sale-workflow-16-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=16.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:%2016.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 <andy.lu@elico-corp.com>
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Valentin Vinagre Urteaga <valentin.vinagre@qubiq.es>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Manuel Regidor <manuel.regidor@sygel.es>
* Vishnu Vanneri <vanneri.odoodev@gmail.com>
* Ruchir Shukla <ruchir@bizzappdev.com>
* Dhara Solanki <dhara.solanki@initos.com>
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/16.0/sale_quotation_number>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from . import models

View file

@ -0,0 +1,21 @@
# Copyright 2010-2012 Andy Lu <andy.lu@elico-corp.com> (Elico Corp)
# Copyright 2013 Agile Business Group sagl (<http://www.agilebg.com>)
# Copyright 2017 valentin vinagre <valentin.vinagre@qubiq.es> (QubiQ)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Sale Quotation Numeration",
"summary": "Different sequence for sale quotations",
"version": "16.0.2.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"],
}

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2010-2012 Andy Lu <andy.lu@elico-corp.com> (Elico Corp)
Copyright 2013 Agile Business Group sagl (<http://www.agilebg.com>)
Copyright 2017 valentin vinagre <valentin.vinagre@qubiq.es> (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>

View file

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_quotation_number
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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 "Kompanije"
#. module: sale_quotation_number
#: model:ir.model,name:sale_quotation_number.model_res_config_settings
msgid "Config Settings"
msgstr "Postavke"
#. 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_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
msgstr "Quotation Sequence Used"
#. 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 "Use Same Enumeration"

View file

@ -0,0 +1,56 @@
# 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 <daniel.martinez@qubiq.es>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
msgstr ""
#. 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ó"

View file

@ -0,0 +1,59 @@
# 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 <maria.sparenberg@gmx.net>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
msgstr ""
#. 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"

View file

@ -0,0 +1,56 @@
# 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 <daniel.martinez@qubiq.es>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 "Usar la misma enumeración"

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -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: 2025-05-16 10:23+0000\n"
"Last-Translator: MDgrap <michael.duc@grap.coop>\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"
"X-Generator: Weblate 5.10.4\n"
#. module: sale_quotation_number
#: model:ir.model,name:sale_quotation_number.model_res_company
msgid "Companies"
msgstr "Sociétés"
#. 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -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: 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,54 @@
# 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: 2025-07-07 09:25+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\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
msgid "Config Settings"
msgstr "Impostazioni configurazione"
#. 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
msgstr "Sequenza preventivo usata"
#. 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
msgid "Use Same Enumeration"
msgstr "Utilizzare la stessa numerazione"

View file

@ -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-10-23 08:14+0000\n"
"PO-Revision-Date: 2021-01-26 00:06+0000\n"
"Last-Translator: Bosd <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,56 @@
# 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 <britoederr@gmail.com>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
msgstr ""
#. 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"

View file

@ -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: 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_quotation_number
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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,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_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -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: 2015-09-07 14:32+0000\n"
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,53 @@
# 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 <transbot@odoo-community.org>\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.fields,field_description:sale_quotation_number.field_sale_order__quotation_seq_used
msgid "Quotation Sequence Used"
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 ""

View file

@ -0,0 +1,20 @@
# Copyright 2023 Manuel Regidor <manuel.regidor@sygel.es> (Sygel)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
import odoo
def migrate(cr, version):
env = odoo.api.Environment(cr, odoo.SUPERUSER_ID, {})
sequence = env["ir.sequence"].search([("code", "=", "sale.quotation")], limit=1)
orders = (
env["sale.order"]
.search(
[
("state", "in", ["draft", "sent"]),
("company_id.keep_name_so", "=", False),
]
)
.filtered(lambda a: a.name[: len(sequence.prefix)] == sequence.prefix)
)
orders.write({"quotation_seq_used": True})

View file

@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from . import res_company
from . import sale_order

View file

@ -0,0 +1,24 @@
# © 2010-2012 Andy Lu <andy.lu@elico-corp.com> (Elico Corp)
# © 2013 Agile Business Group sagl (<http://www.agilebg.com>)
# © 2017 valentin vinagre <valentin.vinagre@qubiq.es> (QubiQ)
# © 2020 Manuel Regidor <manuel.regidor@sygel.es>
# 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)

View file

@ -0,0 +1,68 @@
# © 2010-2012 Andy Lu <andy.lu@elico-corp.com> (Elico Corp)
# © 2013 Agile Business Group sagl (<http://www.agilebg.com>)
# © 2017 valentin vinagre <valentin.vinagre@qubiq.es> (QubiQ)
# © 2020 Manuel Regidor <manuel.regidor@sygel.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
from odoo import api, fields, models
class SaleOrder(models.Model):
_inherit = "sale.order"
quotation_seq_used = fields.Boolean(
string="Quotation Sequence Used", default=False, copy=False, readonly=True
)
@api.model_create_multi
def create(self, vals_list):
for vals in vals_list:
if self.is_using_quotation_number(vals):
company_id = vals.get("company_id", self.env.company.id)
sequence = self.with_company(company_id).get_quotation_seq()
vals.update({"name": sequence or "/", "quotation_seq_used": True})
return super().create(vals_list)
@api.model
def is_using_quotation_number(self, vals):
company = False
if "company_id" in vals:
company = self.env["res.company"].browse(vals.get("company_id"))
else:
company = self.env.company
return not company.keep_name_so
def copy(self, default=None):
self.ensure_one()
if default is None:
default = {}
if self.origin and self.origin != "":
default["origin"] = self.origin + ", " + self.name
else:
default["origin"] = self.name
return super().copy(default)
@api.model
def get_quotation_seq(self):
return self.env["ir.sequence"].next_by_code("sale.quotation")
def get_sale_order_seq(self):
self.ensure_one()
return self.env["ir.sequence"].next_by_code("sale.order")
def action_confirm(self):
sequence = self.env["ir.sequence"].search(
[("code", "=", "sale.quotation")], limit=1
)
for order in self:
if not self.quotation_seq_used:
continue
if order.state not in ("draft", "sent") or order.company_id.keep_name_so:
continue
if order.origin and order.origin != "":
quo = order.origin + ", " + order.name
else:
quo = order.name
sequence = order.with_company(order.company_id.id).get_sale_order_seq()
order.write({"origin": quo, "name": sequence, "quotation_seq_used": False})
return super().action_confirm()

View file

@ -0,0 +1 @@
To configure this module you need to go to Sales -> Configuration and uncheck 'Use same enumeration for quotations and sale orders'.

View file

@ -0,0 +1,8 @@
* Andy Lu <andy.lu@elico-corp.com>
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Valentin Vinagre Urteaga <valentin.vinagre@qubiq.es>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Manuel Regidor <manuel.regidor@sygel.es>
* Vishnu Vanneri <vanneri.odoodev@gmail.com>
* Ruchir Shukla <ruchir@bizzappdev.com>
* Dhara Solanki <dhara.solanki@initos.com>

View file

@ -0,0 +1 @@
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -0,0 +1,488 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>README.rst</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic, pre.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document">
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
</a>
<div class="section" id="sale-quotation-numeration">
<h1>Sale Quotation Numeration</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2774d0de82ecd10f40ce4f2be88920984ec6c3a274a2d1b84fb024547dbbfab5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/sale-workflow/tree/16.0/sale_quotation_number"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_quotation_number"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<ul class="simple">
<li>Sale Quotation:<ul>
<li>Sale process in draft stage just informing prices and element of communication.</li>
</ul>
</li>
<li>Sale Order:<ul>
<li>Sale process confirmed, the customer already have a compromise with us in terms of pay an invoice and receive our product or service.</li>
</ul>
</li>
</ul>
<p>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.</p>
<p><strong>Technical Explanation</strong></p>
<p>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.</p>
<ul>
<li><p class="first">With Odoo Base:</p>
<blockquote>
<p>Sale Quotation 1 Number = SO001</p>
<p>Sale Quotation 2 Number = SO002</p>
<p>Sale Quotation 3 Number = SO003</p>
<p>Sale Quotation 4 Number = SO004</p>
</blockquote>
</li>
<li><p class="first">With Odoo + This Module:</p>
<blockquote>
<p>Sale Quotation 1 Number = SQ001</p>
<p>Sale Quotation 2 Number = SQ002</p>
<p>Sale Quotation 3 Number = SQ003</p>
<p>Sale Quotation 4 Number = SQ004</p>
<p>Sale Quotation 2 Confirmed = Number for Sale Order SO001 from Sale Quotation SQ002</p>
<p>Sale Quotation 1 Confirmed = Number for Sale Order SO002 from Sale Quotation SQ001</p>
<p>Sale Quotation 4 Confirmed = Number for Sale Order SO003 from Sale Quotation SQ004</p>
</blockquote>
</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
<li><a class="reference internal" href="#other-credits" id="toc-entry-6">Other credits</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
<p>To configure this module you need to go to Sales -&gt; Configuration and uncheck Use same enumeration for quotations and sale orders.</p>
</div>
<div class="section" id="bug-tracker">
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_quotation_number%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
<div class="section" id="authors">
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
<ul class="simple">
<li>Elico Corp</li>
<li>Agile Business Group</li>
<li>Qubiq</li>
</ul>
</div>
<div class="section" id="contributors">
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
<ul class="simple">
<li>Andy Lu &lt;<a class="reference external" href="mailto:andy.lu&#64;elico-corp.com">andy.lu&#64;elico-corp.com</a>&gt;</li>
<li>Lorenzo Battistini &lt;<a class="reference external" href="mailto:lorenzo.battistini&#64;agilebg.com">lorenzo.battistini&#64;agilebg.com</a>&gt;</li>
<li>Valentin Vinagre Urteaga &lt;<a class="reference external" href="mailto:valentin.vinagre&#64;qubiq.es">valentin.vinagre&#64;qubiq.es</a>&gt;</li>
<li>Serpent Consulting Services Pvt. Ltd. &lt;<a class="reference external" href="mailto:support&#64;serpentcs.com">support&#64;serpentcs.com</a>&gt;</li>
<li>Manuel Regidor &lt;<a class="reference external" href="mailto:manuel.regidor&#64;sygel.es">manuel.regidor&#64;sygel.es</a>&gt;</li>
<li>Vishnu Vanneri &lt;<a class="reference external" href="mailto:vanneri.odoodev&#64;gmail.com">vanneri.odoodev&#64;gmail.com</a>&gt;</li>
<li>Ruchir Shukla &lt;<a class="reference external" href="mailto:ruchir&#64;bizzappdev.com">ruchir&#64;bizzappdev.com</a>&gt;</li>
<li>Dhara Solanki &lt;<a class="reference external" href="mailto:dhara.solanki&#64;initos.com">dhara.solanki&#64;initos.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="other-credits">
<h3><a class="toc-backref" href="#toc-entry-6">Other credits</a></h3>
<ul class="simple">
<li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
</ul>
</div>
<div class="section" id="maintainers">
<h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/16.0/sale_quotation_number">OCA/sale-workflow</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import test_sale_order

View file

@ -0,0 +1,108 @@
# Copyright 2018 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo.exceptions import UserError
from odoo.tests.common import TransactionCase
class TestSaleOrder(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
cls.sale_order_model = cls.env["sale.order"]
company = cls.env.company
company.keep_name_so = False
cls.company1 = cls.env["res.company"].create(
{"name": "Test Company 1", "keep_name_so": False}
)
cls.partner = cls.env["res.partner"].create({"name": "Test Partner"})
cls.order_company1 = cls.env["sale.order"].create(
{
"name": "SQ/2023/001",
"partner_id": cls.partner.id,
"company_id": cls.company1.id,
}
)
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)
with self.assertRaises(UserError):
order.action_confirm()
order.update({"state": "draft"})
# Now the SQ can be confirmed
order.action_confirm()
self.assertEqual(next_name, order.name)
def test_sequence_assignment(self):
sequence_id = self.env["ir.sequence"].search(
[
("code", "=", "sale.order"),
("company_id", "in", [self.order_company1.company_id.id, False]),
]
)
next_name = sequence_id.get_next_char(sequence_id.number_next_actual)
self.order_company1.action_confirm()
self.assertEqual(next_name, self.order_company1.name)

View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 Simone Rubino - Agile Business Group
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="res_config_settings_view_form_quotation_number" model="ir.ui.view">
<field name="name">Quotation number configuration</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="sale.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='group_proforma_sales']/../.." position="after">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="keep_name_so" />
</div>
<div class="o_setting_right_pane">
<label for="keep_name_so" />
<div class="text-muted">
If this is unchecked, quotations use a different sequence from sale orders
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>