From 93fe7d701957f8e21320ee842851fa4e85178d07 Mon Sep 17 00:00:00 2001 From: Juan Alberto Raja Date: Thu, 17 Apr 2025 12:03:12 +0200 Subject: [PATCH 1/2] [ADD] product_supplierinfo_disable_autocreation: prevent supplier auto-creation based on company setting --- .../README.rst | 100 ++++ .../__init__.py | 3 + .../__manifest__.py | 17 + .../i18n/ca_ES.po | 36 ++ .../i18n/es.po | 35 ++ .../models/__init__.py | 5 + .../models/purchase_order.py | 13 + .../models/res_company.py | 16 + .../models/res_config_settings.py | 17 + .../pyproject.toml | 3 + .../readme/CONTRIBUTORS.md | 6 + .../readme/DESCRIPTION.md | 1 + .../readme/USAGE.md | 6 + .../static/description/icon.png | Bin 0 -> 35820 bytes .../static/description/index.html | 452 ++++++++++++++++++ .../tests/__init__.py | 1 + .../tests/test_purchase_pricelist_disable.py | 183 +++++++ .../views/res_config_settings_views.xml | 32 ++ 18 files changed, 926 insertions(+) create mode 100644 product_supplierinfo_disable_autocreation/README.rst create mode 100644 product_supplierinfo_disable_autocreation/__init__.py create mode 100644 product_supplierinfo_disable_autocreation/__manifest__.py create mode 100644 product_supplierinfo_disable_autocreation/i18n/ca_ES.po create mode 100644 product_supplierinfo_disable_autocreation/i18n/es.po create mode 100644 product_supplierinfo_disable_autocreation/models/__init__.py create mode 100644 product_supplierinfo_disable_autocreation/models/purchase_order.py create mode 100644 product_supplierinfo_disable_autocreation/models/res_company.py create mode 100644 product_supplierinfo_disable_autocreation/models/res_config_settings.py create mode 100644 product_supplierinfo_disable_autocreation/pyproject.toml create mode 100644 product_supplierinfo_disable_autocreation/readme/CONTRIBUTORS.md create mode 100644 product_supplierinfo_disable_autocreation/readme/DESCRIPTION.md create mode 100644 product_supplierinfo_disable_autocreation/readme/USAGE.md create mode 100644 product_supplierinfo_disable_autocreation/static/description/icon.png create mode 100644 product_supplierinfo_disable_autocreation/static/description/index.html create mode 100644 product_supplierinfo_disable_autocreation/tests/__init__.py create mode 100644 product_supplierinfo_disable_autocreation/tests/test_purchase_pricelist_disable.py create mode 100644 product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml diff --git a/product_supplierinfo_disable_autocreation/README.rst b/product_supplierinfo_disable_autocreation/README.rst new file mode 100644 index 00000000000..e73a231169b --- /dev/null +++ b/product_supplierinfo_disable_autocreation/README.rst @@ -0,0 +1,100 @@ +========================================= +Product Supplierinfo Disable Autocreation +========================================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1001429c0f14ed2ad93947286e515bc75b69b5f3658dbe522fdd3acd1608046f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/purchase-workflow/tree/17.0/product_supplierinfo_disable_autocreation + :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-17-0/purchase-workflow-17-0-product_supplierinfo_disable_autocreation + :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/purchase-workflow&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a configuration option to control the automatic +creation of supplier rates in Odoo, allowing users to enable or disable +the generation of supplier rate lines when validating purchase orders +using a checkbox in the purchasing configuration. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +If you want to control the automatic creation of supplier price lists: + +1. Go to Purchase, then to Configuration, and open the purchasing + settings. +2. In the Orders section, find the "Enable Automatic Supplier Price + Lists" option. +3. Check this box to enable the automatic creation of supplier price + lists when validating purchase orders, or uncheck it to prevent these + lines from being generated automatically. +4. The setting is applied per company, allowing for different + configurations in a multi-company environment. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Sygel + +Contributors +------------ + + - `Sygel `__: + + .. + + - Juan Alberto Raja Martinez + - Valentín Vinagre Urteaga + - Manuel Regidor + +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 `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_supplierinfo_disable_autocreation/__init__.py b/product_supplierinfo_disable_autocreation/__init__.py new file mode 100644 index 00000000000..f13e006e969 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2025 Juan Alberto Raja +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from . import models diff --git a/product_supplierinfo_disable_autocreation/__manifest__.py b/product_supplierinfo_disable_autocreation/__manifest__.py new file mode 100644 index 00000000000..e88e18c1ecf --- /dev/null +++ b/product_supplierinfo_disable_autocreation/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2025 Juan Alberto Raja +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Product Supplierinfo Disable Autocreation", + "version": "17.0.1.0.0", + "category": "Purchase", + "summary": "Add option to disable automatic creation of pricelists for suppliers", + "author": "Sygel, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/purchase-workflow", + "depends": ["purchase"], + "data": [ + "views/res_config_settings_views.xml", + ], + "installable": True, + "application": False, + "license": "LGPL-3", +} diff --git a/product_supplierinfo_disable_autocreation/i18n/ca_ES.po b/product_supplierinfo_disable_autocreation/i18n/ca_ES.po new file mode 100644 index 00000000000..86b7abd3467 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/i18n/ca_ES.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# * product_supplierinfo_disable_autocreation +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: \n" + +#. module: product_supplierinfo_disable_autocreation +#: model:ir.model.fields,field_description:product_supplierinfo_disable_autocreation.field_res_company__purchase_pricelist_disable_autocreate +#: model:ir.model.fields,field_description:product_supplierinfo_disable_autocreation.field_res_config_settings__purchase_pricelist_disable_autocreate +#: model_terms:ir.ui.view,arch_db:product_supplierinfo_disable_autocreation.product_supplierinfo_disable_autocreation_res_config_settings_view_form +msgid "Enable Automatic Supplier Pricelists" +msgstr "Activar tarifes automàtiques de proveïdor" + +#. module: product_supplierinfo_disable_autocreation +#: model:ir.model.fields,help:product_supplierinfo_disable_autocreation.field_res_company__purchase_pricelist_disable_autocreate +#: model:ir.model.fields,help:product_supplierinfo_disable_autocreation.field_res_config_settings__purchase_pricelist_disable_autocreate +msgid "When enabled, the system will automatically create supplier pricelists when validating purchase orders." +msgstr "Quan està activada, el sistema crearà automàticament tarifes de proveïdor en validar comandes de compra." + + +#. module: product_supplierinfo_disable_autocreation +#: model_terms:ir.ui.view,arch_db:product_supplierinfo_disable_autocreation.product_supplierinfo_disable_autocreation_res_config_settings_view_form +msgid "Automatically create supplier pricelists when validating purchase orders" +msgstr "Crear automàticament tarifes de proveïdor en validar comandes de compra" + diff --git a/product_supplierinfo_disable_autocreation/i18n/es.po b/product_supplierinfo_disable_autocreation/i18n/es.po new file mode 100644 index 00000000000..7f881fa098d --- /dev/null +++ b/product_supplierinfo_disable_autocreation/i18n/es.po @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# * product_supplierinfo_disable_autocreation +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: \n" + +#. module: product_supplierinfo_disable_autocreation +#: model:ir.model.fields,field_description:product_supplierinfo_disable_autocreation.field_res_company__purchase_pricelist_disable_autocreate +#: model:ir.model.fields,field_description:product_supplierinfo_disable_autocreation.field_res_config_settings__purchase_pricelist_disable_autocreate +#: model_terms:ir.ui.view,arch_db:product_supplierinfo_disable_autocreation.product_supplierinfo_disable_autocreation_res_config_settings_view_form +msgid "Enable Automatic Supplier Pricelists" +msgstr "Activar tarifas automáticas de proveedor" + +#. module: product_supplierinfo_disable_autocreation +#: model:ir.model.fields,help:product_supplierinfo_disable_autocreation.field_res_company__purchase_pricelist_disable_autocreate +#: model:ir.model.fields,help:product_supplierinfo_disable_autocreation.field_res_config_settings__purchase_pricelist_disable_autocreate +msgid "When enabled, the system will automatically create supplier pricelists when validating purchase orders." +msgstr "Cuando está activada, el sistema creará automáticamente tarifas de proveedor al validar pedidos de compra." + +#. module: product_supplierinfo_disable_autocreation +#: model_terms:ir.ui.view,arch_db:product_supplierinfo_disable_autocreation.product_supplierinfo_disable_autocreation_res_config_settings_view_form +msgid "Automatically create supplier pricelists when validating purchase orders" +msgstr "Crear automáticamente tarifas de proveedor al validar pedidos de compra" + diff --git a/product_supplierinfo_disable_autocreation/models/__init__.py b/product_supplierinfo_disable_autocreation/models/__init__.py new file mode 100644 index 00000000000..4c619fad85d --- /dev/null +++ b/product_supplierinfo_disable_autocreation/models/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2025 Juan Alberto Raja +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from . import res_company +from . import res_config_settings +from . import purchase_order diff --git a/product_supplierinfo_disable_autocreation/models/purchase_order.py b/product_supplierinfo_disable_autocreation/models/purchase_order.py new file mode 100644 index 00000000000..69ce943779f --- /dev/null +++ b/product_supplierinfo_disable_autocreation/models/purchase_order.py @@ -0,0 +1,13 @@ +# Copyright 2025 Juan Alberto Raja +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import models + + +class PurchaseOrder(models.Model): + _inherit = "purchase.order" + + def _add_supplier_to_product(self): + result = None + if self.company_id.purchase_pricelist_disable_autocreate: + result = super()._add_supplier_to_product() + return result diff --git a/product_supplierinfo_disable_autocreation/models/res_company.py b/product_supplierinfo_disable_autocreation/models/res_company.py new file mode 100644 index 00000000000..694a877ee67 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/models/res_company.py @@ -0,0 +1,16 @@ +# Copyright 2025 Juan Alberto Raja +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class Company(models.Model): + _inherit = "res.company" + + purchase_pricelist_disable_autocreate = fields.Boolean( + string="Enable Automatic Supplier Pricelists", + help=( + "When enabled, the system will automatically create supplier " + "pricelists when validating purchase orders." + ), + default=True, + ) diff --git a/product_supplierinfo_disable_autocreation/models/res_config_settings.py b/product_supplierinfo_disable_autocreation/models/res_config_settings.py new file mode 100644 index 00000000000..caab0e1d341 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/models/res_config_settings.py @@ -0,0 +1,17 @@ +# Copyright 2025 Juan Alberto Raja +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + purchase_pricelist_disable_autocreate = fields.Boolean( + related="company_id.purchase_pricelist_disable_autocreate", + string="Enable Automatic Supplier Pricelists", + readonly=False, + help=( + "When enabled, the system will automatically create supplier " + "pricelists when validating purchase orders." + ), + ) diff --git a/product_supplierinfo_disable_autocreation/pyproject.toml b/product_supplierinfo_disable_autocreation/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/product_supplierinfo_disable_autocreation/readme/CONTRIBUTORS.md b/product_supplierinfo_disable_autocreation/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..bbb571f5557 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/readme/CONTRIBUTORS.md @@ -0,0 +1,6 @@ + +> - [Sygel](https://www.sygel.es): +> +> > - Juan Alberto Raja Martinez\<\> +> > - Valentín Vinagre Urteaga\<\> +> > - Manuel Regidor\<\> diff --git a/product_supplierinfo_disable_autocreation/readme/DESCRIPTION.md b/product_supplierinfo_disable_autocreation/readme/DESCRIPTION.md new file mode 100644 index 00000000000..4af73f3a282 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module adds a configuration option to control the automatic creation of supplier rates in Odoo, allowing users to enable or disable the generation of supplier rate lines when validating purchase orders using a checkbox in the purchasing configuration. diff --git a/product_supplierinfo_disable_autocreation/readme/USAGE.md b/product_supplierinfo_disable_autocreation/readme/USAGE.md new file mode 100644 index 00000000000..58fe4b505b5 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/readme/USAGE.md @@ -0,0 +1,6 @@ +If you want to control the automatic creation of supplier price lists: + +1. Go to Purchase, then to Configuration, and open the purchasing settings. +2. In the Orders section, find the "Enable Automatic Supplier Price Lists" option. +3. Check this box to enable the automatic creation of supplier price lists when validating purchase orders, or uncheck it to prevent these lines from being generated automatically. +4. The setting is applied per company, allowing for different configurations in a multi-company environment. diff --git a/product_supplierinfo_disable_autocreation/static/description/icon.png b/product_supplierinfo_disable_autocreation/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..207fb7ad5535215836f426bcebfdccdbc51c0d27 GIT binary patch literal 35820 zcmcG02UJsC);7H>Rk{L#6ltLtkQSt)fFOb(BB6tXUZsN|9YhpCsvt!v5<*8HAfYI| zhK`{0D!t~v!Fk*K^Ua!XUO(4j3CTTopR>!epS{nyH$q!W^&A;984eE4IdwIqJ2*JF zDZtNn5+dLe&JrDU;6Gf~JE{se#a*n6z#pVeYKE>jI6|D*A6%~-hzD?iq3vA*Hv>%# zDRW1AAyW%SGfN>adne#(92^-hDd1OoOE*(?FMF7StCW}Q<+CfKfZwqn3twhGyTr{- z_OgMdHoKyuizWLtA#owlWjQi-c6J#T3oEHRN-F;t4*Vs1*~ZPyNlIAQ)6-MPQ%uOw z#adY8`t|F=AW>maQ94z8R(Z}QuHlq_A%U2L7)Y#klgvG+AKb98r; zy?hxf==Xm==jmo^^@k(}*MBSvSfDWW8(|S4knr#K28PODKb5-eVrvOV#@=5}MCRqjCk}3Lv?sn^ z#2Y+jw5^)(yOcl;+QF-OcO=Yyv(GfvSOSmW>X7XCRMg)1)R&Ep$hPQk-%R+d-|6I* ziPuwW3vXp1`rU3u5K%O)Ir9JRKd2MY`$m3)ph+e)W@r79e$>(gPHJkC5^Cn*x#vLc}y!{^_`i+34H=@PX>mOp=vzBZ~Oe@|K!S*9-V zCgbfn?Rca(p*x+z&8!MZttFWNb(gGCysYlwz)0Q_@eNUPnn)2F)u0^H2b|4GTy*Ab z=;bJsFy#6{lkRpA-%3%kwXKoa^z?LXM!^zlGwUglHpx?^(0t{h>kkNOvI3>7c+d*+ zR!dEvX-3VG?FbACd2*>vM>)iww_Lwv{TXQh*S|wkt0GOd@MxYS2^?`{JE08sDos*u zW~_pm`T%{adfL3O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$+V{7z5e{n{NbLX`A+gIia8qvysd+hL6rb|a zp0o)1?yqmyx*+?JZkSlX`n8ny8cFO|?i5?sSPp3!tj?S-A^hk#zJto1<_;C?uVtV_ z%1}>J(!;Tm-(;6|%%!B9cXw}9u}woOKg3P&yR6`o?~9q`?NDiK6foZ|;ga#Ek-gU| zs#sI3BfVatD;9nDmG<(m&l)0;z1Wc~n?*66L6_9Y<}suED(}b3NFTeJM&9NdjK5as$e#$IUbvD=mk}d zPqI2T$P&9zr}))ewQNcjp)U4CbDWON65cS0&-iFhS7AB((4__2&8-CuJhosAPjRJs zX^fdi*Tx*3yXW&#Ez&vJ#iNt>Vc#<>^>H6g&P@f4UPfEO(Ic_iaMiMJvN7sn<%6Ru zg`G|rXGcG;!V=jXZ~u}^sAnVL=%u62&+*)F9iI5^YRd*@yu?RwWo!7QvSqbn$2MX> zCRQpt8`~Xr1~6FJr?oeajPRs~y}q+;Unnc;M!L^0L2qbP3QrahDpvMBQB2B8^6s0l zM=_dt_Zpkp2JJG`j;UR@XL?QI=o0D7aJ|4 zrv^5haL{@Qmfd$;^__-7ZV(d2k$ioIp|o5_T*KOB$Y`sRE4N2fS(C>T2N@P|vJUa@-k@0UK#Y;J`u zWFThbXl`J)n zO-;S{b}I`a{<_~}^)l%;!EjB&_0aF2C7|7hCvj*;%|O@he~fAzlXT2VxV%Z4*lAip$2{ zcv8nmUDhJ}Nda|1iu~^G@{d)@-;U|0Rvg%`OP6GxF?-c`FsG_FTro-9J+UbhO)!j~ zzc-XLQNBws|B1PkpuVss0+s#%p(_cz53)kuS<2-2gQXrYI*7{QMu&ULFfdJJpY2cD zy=<|^%di&QWd-*x>w@oYbKxfk)#dxQ(*iI0R$~|tmSwF63#fAw)z1@}KRa}T`<<&X zffNnnWBNb;?J*|BaOkE8tr{I)xrPURlrN|$ + + + + +Product Supplierinfo Disable Autocreation + + + +
+

Product Supplierinfo Disable Autocreation

+ + +

Beta License: LGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

+

This module adds a configuration option to control the automatic +creation of supplier rates in Odoo, allowing users to enable or disable +the generation of supplier rate lines when validating purchase orders +using a checkbox in the purchasing configuration.

+

Table of contents

+ +
+

Usage

+

If you want to control the automatic creation of supplier price lists:

+
    +
  1. Go to Purchase, then to Configuration, and open the purchasing +settings.
  2. +
  3. In the Orders section, find the “Enable Automatic Supplier Price +Lists” option.
  4. +
  5. Check this box to enable the automatic creation of supplier price +lists when validating purchase orders, or uncheck it to prevent these +lines from being generated automatically.
  6. +
  7. The setting is applied per company, allowing for different +configurations in a multi-company environment.
  8. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Sygel
  • +
+
+
+

Contributors

+
+ + +
+ +
+
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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 project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/product_supplierinfo_disable_autocreation/tests/__init__.py b/product_supplierinfo_disable_autocreation/tests/__init__.py new file mode 100644 index 00000000000..38275c600ec --- /dev/null +++ b/product_supplierinfo_disable_autocreation/tests/__init__.py @@ -0,0 +1 @@ +from . import test_purchase_pricelist_disable diff --git a/product_supplierinfo_disable_autocreation/tests/test_purchase_pricelist_disable.py b/product_supplierinfo_disable_autocreation/tests/test_purchase_pricelist_disable.py new file mode 100644 index 00000000000..20d5b03bd20 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/tests/test_purchase_pricelist_disable.py @@ -0,0 +1,183 @@ +from odoo.tests import tagged +from odoo.tests.common import TransactionCase + + +@tagged("post_install", "-at_install") +class TestPurchasePricelistDisable(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + cls.product = cls.env["product.product"].create( + { + "name": "Test Product", + "type": "product", + } + ) + + cls.product2 = cls.env["product.product"].create( + { + "name": "Test Product 2", + "type": "product", + } + ) + + cls.partner1 = cls.env["res.partner"].create( + { + "name": "Vendor with auto pricelist", + } + ) + + cls.partner2 = cls.env["res.partner"].create( + { + "name": "Vendor without auto pricelist", + } + ) + + cls.company2 = cls.env["res.company"].create( + { + "name": "Test Company", + } + ) + + # Create purchase orders and lines for reuse in tests + cls.po1 = cls.env["purchase.order"].create( + { + "partner_id": cls.partner1.id, + } + ) + cls.env["purchase.order.line"].create( + { + "order_id": cls.po1.id, + "product_id": cls.product.id, + "product_qty": 1.0, + "price_unit": 100.0, + "name": "Test Line", + "product_uom": cls.product.uom_id.id, + } + ) + + cls.po2 = cls.env["purchase.order"].create( + { + "partner_id": cls.partner2.id, + } + ) + cls.env["purchase.order.line"].create( + { + "order_id": cls.po2.id, + "product_id": cls.product.id, + "product_qty": 1.0, + "price_unit": 100.0, + "name": "Test Line", + "product_uom": cls.product.uom_id.id, + } + ) + + # Purchase order with multiple product lines + cls.po_multi1 = cls.env["purchase.order"].create( + { + "partner_id": cls.partner1.id, + } + ) + cls.env["purchase.order.line"].create( + [ + { + "order_id": cls.po_multi1.id, + "product_id": cls.product.id, + "product_qty": 1.0, + "price_unit": 100.0, + "name": "Test Line 1", + "product_uom": cls.product.uom_id.id, + }, + { + "order_id": cls.po_multi1.id, + "product_id": cls.product2.id, + "product_qty": 2.0, + "price_unit": 150.0, + "name": "Test Line 2", + "product_uom": cls.product2.uom_id.id, + }, + ] + ) + + cls.po_multi2 = cls.env["purchase.order"].create( + { + "partner_id": cls.partner2.id, + } + ) + cls.env["purchase.order.line"].create( + [ + { + "order_id": cls.po_multi2.id, + "product_id": cls.product.id, + "product_qty": 1.0, + "price_unit": 100.0, + "name": "Test Line 1", + "product_uom": cls.product.uom_id.id, + }, + { + "order_id": cls.po_multi2.id, + "product_id": cls.product2.id, + "product_qty": 2.0, + "price_unit": 150.0, + "name": "Test Line 2", + "product_uom": cls.product2.uom_id.id, + }, + ] + ) + + def test_01_pricelist_enabled(self): + """Test supplier pricelist creation when enabled""" + self.env.company.purchase_pricelist_disable_autocreate = True + + seller_count_before = len(self.product.seller_ids) + self.po1.button_confirm() + seller_count_after = len(self.product.seller_ids) + + self.assertEqual(seller_count_after, seller_count_before + 1) + self.assertIn(self.partner1, self.product.seller_ids.mapped("partner_id")) + + def test_02_pricelist_disabled(self): + """Test supplier pricelist creation when disabled""" + self.env.company.purchase_pricelist_disable_autocreate = False + + seller_count_before = len(self.product.seller_ids) + self.po2.button_confirm() + seller_count_after = len(self.product.seller_ids) + + self.assertEqual(seller_count_after, seller_count_before) + self.assertNotIn(self.partner2, self.product.seller_ids.mapped("partner_id")) + + def test_03_multiple_products_pricelist_enabled(self): + """Test multiple supplier pricelists creation when enabled""" + self.env.company.purchase_pricelist_disable_autocreate = True + + seller_count_before_1 = len(self.product.seller_ids) + seller_count_before_2 = len(self.product2.seller_ids) + + self.po_multi1.button_confirm() + + seller_count_after_1 = len(self.product.seller_ids) + seller_count_after_2 = len(self.product2.seller_ids) + + self.assertEqual(seller_count_after_1, seller_count_before_1 + 1) + self.assertEqual(seller_count_after_2, seller_count_before_2 + 1) + self.assertIn(self.partner1, self.product.seller_ids.mapped("partner_id")) + self.assertIn(self.partner1, self.product2.seller_ids.mapped("partner_id")) + + def test_04_multiple_products_pricelist_disabled(self): + """Test multiple supplier pricelists not created when disabled""" + self.env.company.purchase_pricelist_disable_autocreate = False + + seller_count_before_1 = len(self.product.seller_ids) + seller_count_before_2 = len(self.product2.seller_ids) + + self.po_multi2.button_confirm() + + seller_count_after_1 = len(self.product.seller_ids) + seller_count_after_2 = len(self.product2.seller_ids) + + self.assertEqual(seller_count_after_1, seller_count_before_1) + self.assertEqual(seller_count_after_2, seller_count_before_2) + self.assertNotIn(self.partner2, self.product.seller_ids.mapped("partner_id")) + self.assertNotIn(self.partner2, self.product2.seller_ids.mapped("partner_id")) diff --git a/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml b/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml new file mode 100644 index 00000000000..4cafc87ebd5 --- /dev/null +++ b/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml @@ -0,0 +1,32 @@ + + + + + product.supplierinfo.disable.autocreation.res.config.settings.view.form + res.config.settings + + + + + + + + + + From d2319e91a457c53b00de973d509ea60f87775fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rebeca=20Mart=C3=ADn?= Date: Fri, 21 Nov 2025 09:12:58 +0100 Subject: [PATCH 2/2] [MIG] product_supplierinfo_disable_autocreation: Migration to 16.0 --- .../README.rst | 18 ++++++++-------- .../__manifest__.py | 2 +- .../static/description/index.html | 6 +++--- .../views/res_config_settings_views.xml | 21 ++++++++++++------- .../product_supplierinfo_disable_autocreation | 1 + .../setup.py | 6 ++++++ 6 files changed, 34 insertions(+), 20 deletions(-) create mode 120000 setup/product_supplierinfo_disable_autocreation/odoo/addons/product_supplierinfo_disable_autocreation create mode 100644 setup/product_supplierinfo_disable_autocreation/setup.py diff --git a/product_supplierinfo_disable_autocreation/README.rst b/product_supplierinfo_disable_autocreation/README.rst index e73a231169b..e1c10ba6ac6 100644 --- a/product_supplierinfo_disable_autocreation/README.rst +++ b/product_supplierinfo_disable_autocreation/README.rst @@ -17,13 +17,13 @@ Product Supplierinfo Disable Autocreation :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/purchase-workflow/tree/17.0/product_supplierinfo_disable_autocreation + :target: https://github.com/OCA/purchase-workflow/tree/16.0/product_supplierinfo_disable_autocreation :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-17-0/purchase-workflow-17-0-product_supplierinfo_disable_autocreation + :target: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-product_supplierinfo_disable_autocreation :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/purchase-workflow&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -59,7 +59,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -74,13 +74,13 @@ Authors Contributors ------------ - - `Sygel `__: + - `Sygel `__: .. - - Juan Alberto Raja Martinez - - Valentín Vinagre Urteaga - - Manuel Regidor + - Juan Alberto Raja Martinez + - Valentín Vinagre Urteaga + - Manuel Regidor Maintainers ----------- @@ -95,6 +95,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/purchase-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_supplierinfo_disable_autocreation/__manifest__.py b/product_supplierinfo_disable_autocreation/__manifest__.py index e88e18c1ecf..9e93d2ca759 100644 --- a/product_supplierinfo_disable_autocreation/__manifest__.py +++ b/product_supplierinfo_disable_autocreation/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Product Supplierinfo Disable Autocreation", - "version": "17.0.1.0.0", + "version": "16.0.1.0.0", "category": "Purchase", "summary": "Add option to disable automatic creation of pricelists for suppliers", "author": "Sygel, Odoo Community Association (OCA)", diff --git a/product_supplierinfo_disable_autocreation/static/description/index.html b/product_supplierinfo_disable_autocreation/static/description/index.html index ad1bdad1c50..0e845adcb6c 100644 --- a/product_supplierinfo_disable_autocreation/static/description/index.html +++ b/product_supplierinfo_disable_autocreation/static/description/index.html @@ -369,7 +369,7 @@

Product Supplierinfo Disable Autocreation

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:1001429c0f14ed2ad93947286e515bc75b69b5f3658dbe522fdd3acd1608046f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

+

Beta License: LGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

This module adds a configuration option to control the automatic creation of supplier rates in Odoo, allowing users to enable or disable the generation of supplier rate lines when validating purchase orders @@ -407,7 +407,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -443,7 +443,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/purchase-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml b/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml index 4cafc87ebd5..77b12191d88 100644 --- a/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml +++ b/product_supplierinfo_disable_autocreation/views/res_config_settings_views.xml @@ -16,16 +16,23 @@ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> /> - - - +
+ +
+
+
+
diff --git a/setup/product_supplierinfo_disable_autocreation/odoo/addons/product_supplierinfo_disable_autocreation b/setup/product_supplierinfo_disable_autocreation/odoo/addons/product_supplierinfo_disable_autocreation new file mode 120000 index 00000000000..af204a64b61 --- /dev/null +++ b/setup/product_supplierinfo_disable_autocreation/odoo/addons/product_supplierinfo_disable_autocreation @@ -0,0 +1 @@ +../../../../product_supplierinfo_disable_autocreation \ No newline at end of file diff --git a/setup/product_supplierinfo_disable_autocreation/setup.py b/setup/product_supplierinfo_disable_autocreation/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/product_supplierinfo_disable_autocreation/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)