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] product_contract_variable_quantity #1145

Draft
wants to merge 31 commits into
base: 18.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
151eda8
[ADD] - new module Product Contract Variable Quantity
sbejaoui Nov 6, 2018
8728730
[FIX] - fix onchange
sbejaoui Nov 29, 2018
e3be5d5
[IMP] - get contract line default data onchange product_id
sbejaoui Dec 4, 2018
8911469
[IMP] - improve sale order line view
sbejaoui Jan 24, 2019
6b20598
[FIX] - Fix unit tests
sbejaoui Feb 1, 2019
85428f4
[12.0][REF] - Product Contract Variable quantity: split from analytic…
sbejaoui Sep 30, 2019
44682d5
fix pylint
sbejaoui Sep 30, 2019
f2def4d
[12.0][FIX] - Fix unit tests
sbejaoui Oct 1, 2019
7bda144
[IMP] - Improve unit tests
sbejaoui Oct 1, 2019
a7900b9
[UPD] Update product_contract_variable_quantity.pot
oca-travis Oct 31, 2019
d7084ce
[UPD] README.rst
OCA-git-bot Oct 31, 2019
0c643ed
Added translation using Weblate (Italian)
Feb 4, 2020
a0a505a
Translated using Weblate (Italian)
Feb 4, 2020
4a4e0f3
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 12, 2020
a02ac30
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 12, 2020
5856236
Added translation using Weblate (Portuguese)
pedrocs-exo Feb 17, 2020
2f0574c
Translated using Weblate (Portuguese)
pedrocs-exo Feb 17, 2020
2ea97a7
Translated using Weblate (Portuguese)
pedrocs-exo Mar 1, 2020
c7429fe
[FIX] product_contract_variable_quantity: use property_contract_templ…
Feb 26, 2020
87a1e0d
[UPD] README.rst
OCA-git-bot Mar 25, 2020
edaedd5
[UPD] README.rst
OCA-git-bot Mar 25, 2020
fa73784
Translated using Weblate (Portuguese (Brazil))
fcolus Aug 10, 2020
bd38da5
[FIX] - remvoe unnecessary utf8 coding comment
sbejaoui Nov 13, 2020
0d824b1
product_contract_variable_quantity 12.0.1.0.1
OCA-git-bot Nov 13, 2020
84a0e21
Added translation using Weblate (French)
remi-filament Jan 4, 2021
fd9629b
Translated using Weblate (French)
remi-filament Jan 4, 2021
3759b13
Translated using Weblate (Italian)
francesco-ooops Jan 18, 2023
b0aca9e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
c908085
Update translation files
weblate Oct 9, 2023
d2ef0c6
Translated using Weblate (Italian)
mymage Oct 29, 2023
faf0bd8
[18.0][MIG] product_contract_variable_quantity
sbejaoui Nov 21, 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
77 changes: 77 additions & 0 deletions product_contract_variable_quantity/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
==================================
Product Contract Variable Quantity
==================================

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

.. |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%2Fcontract-lightgray.png?logo=github
:target: https://github.com/OCA/contract/tree/18.0/product_contract_variable_quantity
:alt: OCA/contract
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract_variable_quantity
: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/contract&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module add default values to contract products for variable
quantity formula.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/contract/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/contract/issues/new?body=module:%20product_contract_variable_quantity%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
-------

* ACSONE SA/NV

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

- Souheil Bejaoui <[email protected]>

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_contract_variable_quantity/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions product_contract_variable_quantity/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2018 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Contract Variable Quantity",
"summary": """
Product contract with variable quantity""",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/contract",
"depends": ["contract_variable_quantity", "product_contract"],
"data": [
"views/product_template.xml",
"views/sale_order.xml",
"wizards/product_contract_configurator.xml",
],
"demo": [],
}
56 changes: 56 additions & 0 deletions product_contract_variable_quantity/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_contract_variable_quantity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-01-04 11:44+0000\n"
"Last-Translator: Rémi <[email protected]>\n"
"Language-Team: none\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 4.3.2\n"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_contract_line
msgid "Contract Line"
msgstr "Ligne de Contrat"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Fixed quantity"
msgstr "Quantité fixe"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_product_template
msgid "Product Template"
msgstr "Modèle d'article"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_formula_id
msgid "Qty. formula"
msgstr "Formule de Quantité"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_type
msgid "Qty. type"
msgstr "Type de quantité"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_sale_order_line
msgid "Sales Order Line"
msgstr "Ligne de commande"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Variable quantity"
msgstr "Quantité variable"
56 changes: 56 additions & 0 deletions product_contract_variable_quantity/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_contract_variable_quantity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-29 17:40+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\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 4.17\n"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_contract_line
msgid "Contract Line"
msgstr "Riga di contratto"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Fixed quantity"
msgstr "Quantità fissa"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_product_template
msgid "Product Template"
msgstr "Modello prodotto"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_formula_id
msgid "Qty. formula"
msgstr "Q.tà formula"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_type
msgid "Qty. type"
msgstr "Q.tà tipo"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_sale_order_line
msgid "Sales Order Line"
msgstr "Riga ordine di vendita"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Variable quantity"
msgstr "Quantità variabile"
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_contract_variable_quantity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.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: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_contract_line
msgid "Contract Line"
msgstr ""

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0
#: selection:sale.order.line,qty_type:0
msgid "Fixed quantity"
msgstr ""

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_product_template
msgid "Product Template"
msgstr ""

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_formula_id
msgid "Qty. formula"
msgstr ""

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_type
msgid "Qty. type"
msgstr ""

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0
#: selection:sale.order.line,qty_type:0
msgid "Variable quantity"
msgstr ""

56 changes: 56 additions & 0 deletions product_contract_variable_quantity/i18n/pt.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_contract_variable_quantity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-03-01 18:13+0000\n"
"Last-Translator: Pedro Castro Silva <[email protected]>\n"
"Language-Team: none\n"
"Language: pt\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: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_contract_line
msgid "Contract Line"
msgstr "Linha de Contrato"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Fixed quantity"
msgstr "Quantidade fixa"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_product_template
msgid "Product Template"
msgstr "Modelo de Artigo"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_formula_id
msgid "Qty. formula"
msgstr "Fórmula de Qtd"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_type
msgid "Qty. type"
msgstr "Tipo de Qtd."

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_sale_order_line
msgid "Sales Order Line"
msgstr "Linha de Encomenda de Venda"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Variable quantity"
msgstr "Quantidade variável"
56 changes: 56 additions & 0 deletions product_contract_variable_quantity/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_contract_variable_quantity
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-08-10 16:59+0000\n"
"Last-Translator: Fernando Colus <[email protected]>\n"
"Language-Team: none\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 3.10\n"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_contract_line
msgid "Contract Line"
msgstr "Linha de Contrato"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Fixed quantity"
msgstr "Quantidade Fixa"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_product_template
msgid "Product Template"
msgstr "Modelo de Produto"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_formula_id
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_formula_id
msgid "Qty. formula"
msgstr "Fórmula da Quantidade"

#. module: product_contract_variable_quantity
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_product__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_product_template__qty_type
#: model:ir.model.fields,field_description:product_contract_variable_quantity.field_sale_order_line__qty_type
msgid "Qty. type"
msgstr "Tipo de Quantidade"

#. module: product_contract_variable_quantity
#: model:ir.model,name:product_contract_variable_quantity.model_sale_order_line
msgid "Sales Order Line"
msgstr "Linha do Pedido de Venda"

#. module: product_contract_variable_quantity
#: selection:product.template,qty_type:0 selection:sale.order.line,qty_type:0
msgid "Variable quantity"
msgstr "Quantidade Variável"
7 changes: 7 additions & 0 deletions product_contract_variable_quantity/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2018 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import contract_line
from . import product_template
from . import sale_order_line
from . import sale_order_line_contract_mixin
Loading
Loading