-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[14.0][ADD] product_pricelist_last_purchase_price: In partner new fie…
…lds: "Not Update Price From Order", and "Not Update Price From Invoice".
- Loading branch information
1 parent
3d3e61d
commit 96f182b
Showing
15 changed files
with
563 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
===================================== | ||
Product pricelist last purchase price | ||
===================================== | ||
|
||
* In partner new fields: "Not Update Price From Order", and "Not Update Price | ||
From Invoice". These 2 fields are of type "related" in "Supplier Pricelist". | ||
* When a purchase order is confirmed, the supplier/product exists in "Supplier | ||
Pricelist", and is not marked as "Not Update Price From Order", information | ||
will be updated in "Supplier Pricelist". | ||
* When a supplier invoice is confirmed, and the supplier/product does not exist | ||
in "Supplier Pricelist", the information will be posted in "Supplier | ||
Pricelist". | ||
* When a supplier invoice is confirmed, the supplier/product exists in "Supplier | ||
Pricelist", and is not marked as "Not Update Price From Invoice", information | ||
will be updated in "Supplier Pricelist". | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/avanzosc/odoo-addons/issues>`_. In case of trouble, | ||
please check there if your issue has already been reported. If you spotted | ||
it first, help us smash it by providing detailed and welcomed feedback. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Ana Juaristi <anajuaristi@avanzosc.es> | ||
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es> |
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 @@ | ||
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,16 @@ | ||
# Copyright 2024 Alfredo de la Fuente - AvanzOSC | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "Product Pricelist Last Purchase Price", | ||
"version": "14.0.1.0.0", | ||
"category": "Inventory/Purchase", | ||
"license": "AGPL-3", | ||
"author": "AvanzOSC", | ||
"website": "https://github.com/avanzosc/odoo-addons", | ||
"depends": ["account", "purchase_update_pricelist"], | ||
"data": [ | ||
"views/res_partner_views.xml", | ||
"views/product_supplierinfo_views.xml", | ||
], | ||
"installable": True, | ||
} |
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,86 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_pricelist_last_purchase_price | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-09-26 06:22+0000\n" | ||
"PO-Revision-Date: 2024-09-26 06:22+0000\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_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_res_partner | ||
msgid "Contact" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_account_move | ||
msgid "Journal Entry" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__not_update_price_from_invoice | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__not_update_price_from_invoice | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_users__not_update_price_from_invoice | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Not Update Price From Invoice" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__not_update_price_from_order | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__not_update_price_from_order | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_users__not_update_price_from_order | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Not Update Price From Order" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_purchase_order | ||
msgid "Purchase Order" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_product_supplierinfo | ||
msgid "Supplier Pricelist" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Update Price From Invoice" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Update Price From Order" | ||
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,86 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_pricelist_last_purchase_price | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-09-26 06:23+0000\n" | ||
"PO-Revision-Date: 2024-09-26 06:23+0000\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_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_res_partner | ||
msgid "Contact" | ||
msgstr "Contacto" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__display_name | ||
msgid "Display Name" | ||
msgstr "Nombre mostrado" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__id | ||
msgid "ID" | ||
msgstr "Identificación" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_account_move | ||
msgid "Journal Entry" | ||
msgstr "Asiento contable" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner____last_update | ||
msgid "Last Modified on" | ||
msgstr "Última modificación en" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__not_update_price_from_invoice | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__not_update_price_from_invoice | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_users__not_update_price_from_invoice | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Not Update Price From Invoice" | ||
msgstr "No actualizar precio desde factura" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__not_update_price_from_order | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__not_update_price_from_order | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_users__not_update_price_from_order | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Not Update Price From Order" | ||
msgstr "No actualizar precio desde pedido" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_purchase_order | ||
msgid "Purchase Order" | ||
msgstr "Pedido de compra" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_product_supplierinfo | ||
msgid "Supplier Pricelist" | ||
msgstr "Tarifa de proveedor" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Update Price From Invoice" | ||
msgstr "Actualizar precio desde factura" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Update Price From Order" | ||
msgstr "Actualizar precio desde pedido" |
86 changes: 86 additions & 0 deletions
86
product_pricelist_last_purchase_price/i18n/product_pricelist_last_purchase_price.pot
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,86 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_pricelist_last_purchase_price | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-09-26 06:22+0000\n" | ||
"PO-Revision-Date: 2024-09-26 06:22+0000\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_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_res_partner | ||
msgid "Contact" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order__display_name | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order__id | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_account_move | ||
msgid "Journal Entry" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_account_move____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_purchase_order____last_update | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__not_update_price_from_invoice | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__not_update_price_from_invoice | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_users__not_update_price_from_invoice | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Not Update Price From Invoice" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_product_supplierinfo__not_update_price_from_order | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_partner__not_update_price_from_order | ||
#: model:ir.model.fields,field_description:product_pricelist_last_purchase_price.field_res_users__not_update_price_from_order | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Not Update Price From Order" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_purchase_order | ||
msgid "Purchase Order" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model:ir.model,name:product_pricelist_last_purchase_price.model_product_supplierinfo | ||
msgid "Supplier Pricelist" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Update Price From Invoice" | ||
msgstr "" | ||
|
||
#. module: product_pricelist_last_purchase_price | ||
#: model_terms:ir.ui.view,arch_db:product_pricelist_last_purchase_price.view_res_partner_filter | ||
msgid "Update Price From Order" | ||
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,4 @@ | ||
from . import res_partner | ||
from . import product_supplierinfo | ||
from . import purchase_order | ||
from . import account_move |
Oops, something went wrong.