forked from OCA/purchase-workflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from Tecnativa/15.0-mig-purchase_order_seconda…
…ry_unit [MIG] [15.0] purchase_order_secondary_unit
- Loading branch information
Showing
25 changed files
with
1,128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
server-tools | ||
product-attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
============================= | ||
Purchase Order Secondary Unit | ||
============================= | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github | ||
:target: https://github.com/OCA/purchase-workflow/tree/15.0/purchase_order_secondary_unit | ||
:alt: OCA/purchase-workflow | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_order_secondary_unit | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/purchase-workflow&target_branch=15.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module extends the functionality of purchase orders to allow buy products | ||
in secondary unit of distinct category. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module you need to: | ||
|
||
#. Go to a *Product > General Information tab*. | ||
#. Create any record in "Secondary unit of measure". | ||
#. Set the conversion factor. | ||
#. Go to *Purchase > Quotation > Create*. | ||
#. Change secondary qty and secondary uom in line, and quantity (product_qty) will be changed (according to the conversion factor). | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_order_secondary_unit%0Aversion:%2015.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 | ||
~~~~~~~ | ||
|
||
* Tecnativa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Tecnativa <https://www.tecnativa.com>`_: | ||
|
||
* Sergio Teruel | ||
* Ernesto Tejeda | ||
* Nikul Chaudhary <[email protected]> | ||
* Pimolnat Suntian <[email protected]> | ||
* Miguel Ángel Gómez <[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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/15.0/purchase_order_secondary_unit>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright 2018 Tecnativa - Sergio Teruel | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Purchase Order Secondary Unit", | ||
"summary": "Purchase product in a secondary unit", | ||
"version": "15.0.1.0.0", | ||
"development_status": "Beta", | ||
"category": "Purchase", | ||
"website": "https://github.com/OCA/purchase-workflow", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"auto_install": True, | ||
"depends": ["purchase", "product_secondary_unit"], | ||
"data": ["views/product_views.xml", "views/purchase_order_views.xml"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * purchase_order_secondary_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2022-06-10 11:05+0000\n" | ||
"Last-Translator: Maria Sparenberg <[email protected]>\n" | ||
"Language-Team: none\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: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_product__purchase_secondary_uom_id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__purchase_secondary_uom_id | ||
msgid "Default secondary unit for purchases" | ||
msgstr "Einkauf 2. ME" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__display_name | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__display_name | ||
msgid "Display Name" | ||
msgstr "Anzeigename" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template____last_update | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line____last_update | ||
msgid "Last Modified on" | ||
msgstr "Zuletzt geändert am" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_product_template | ||
msgid "Product Template" | ||
msgstr "Produktvorlage" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_purchase_order_line | ||
msgid "Purchase Order Line" | ||
msgstr "Bestellposition" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__product_qty | ||
msgid "Quantity" | ||
msgstr "Menge" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_id | ||
msgid "Second unit" | ||
msgstr "2. ME" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_qty | ||
msgid "Secondary Qty" | ||
msgstr "Menge (2. ME)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * purchase_order_secondary_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-10-25 21:04+0000\n" | ||
"PO-Revision-Date: 2018-10-25 23:05+0200\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Poedit 2.0.6\n" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_product__purchase_secondary_uom_id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__purchase_secondary_uom_id | ||
msgid "Default secondary unit for purchases" | ||
msgstr "Ud de compra secundaria por defecto" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__display_name | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template____last_update | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_purchase_order_line | ||
msgid "Purchase Order Line" | ||
msgstr "Línea pedido de compra" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__product_qty | ||
msgid "Quantity" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_id | ||
msgid "Second unit" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_qty | ||
msgid "Secondary Qty" | ||
msgstr "Cdad. secundaria" | ||
|
||
#~ msgid "Secondary uom" | ||
#~ msgstr "UdM Secundaría" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * purchase_order_secondary_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: Automatically generated\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" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_product__purchase_secondary_uom_id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__purchase_secondary_uom_id | ||
msgid "Default secondary unit for purchases" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__display_name | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template____last_update | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_purchase_order_line | ||
msgid "Purchase Order Line" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__product_qty | ||
msgid "Quantity" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_id | ||
msgid "Second unit" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_qty | ||
msgid "Secondary Qty" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * purchase_order_secondary_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: Automatically generated\n" | ||
"Language-Team: none\n" | ||
"Language: ja\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: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_product__purchase_secondary_uom_id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__purchase_secondary_uom_id | ||
msgid "Default secondary unit for purchases" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__display_name | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template__id | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_product_template____last_update | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model,name:purchase_order_secondary_unit.model_purchase_order_line | ||
msgid "Purchase Order Line" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__product_qty | ||
msgid "Quantity" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_id | ||
msgid "Second unit" | ||
msgstr "" | ||
|
||
#. module: purchase_order_secondary_unit | ||
#: model:ir.model.fields,field_description:purchase_order_secondary_unit.field_purchase_order_line__secondary_uom_qty | ||
msgid "Secondary Qty" | ||
msgstr "" |
Oops, something went wrong.