Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
104 changes: 104 additions & 0 deletions product_supplierinfo_disable_autocreation/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=========================================
Product Supplierinfo Disable Autocreation
=========================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-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/18.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-18-0/purchase-workflow-18-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=18.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 <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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20product_supplierinfo_disable_autocreation%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
-------

* Sygel

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

- `Sygel <https://www.sygel.es>`__:

..

- Juan Alberto Raja Martinez<juan.raja@sygel.es>
- Valentín Vinagre Urteaga<valentin.vinagre@sygel.es>
- Manuel Regidor<manuel.regidor@sygel.es>

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/18.0/product_supplierinfo_disable_autocreation>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions product_supplierinfo_disable_autocreation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright 2025 Juan Alberto Raja<juan.raja@sygel.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from . import models
17 changes: 17 additions & 0 deletions product_supplierinfo_disable_autocreation/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2025 Juan Alberto Raja<juan.raja@sygel.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Product Supplierinfo Disable Autocreation",
"version": "19.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",
}
55 changes: 55 additions & 0 deletions product_supplierinfo_disable_autocreation/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. 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"

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_res_company
msgid "Companies"
msgstr ""

#. 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,name:product_supplierinfo_disable_autocreation.model_res_config_settings
msgid "Procurement purchase grouping settings"
msgstr ""

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. 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."
56 changes: 56 additions & 0 deletions product_supplierinfo_disable_autocreation/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# 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: 2026-04-19 09:31+0000\n"
"Last-Translator: Ed-Spain <eduamoros@gmail.com>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.15.2\n"

#. 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"

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_res_company
msgid "Companies"
msgstr "Empresas"

#. 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,name:product_supplierinfo_disable_autocreation.model_res_config_settings
msgid "Procurement purchase grouping settings"
msgstr "Ajustes de agrupación de compras de aprovisionamiento"

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_purchase_order
msgid "Purchase Order"
msgstr "Orden de compra"

#. 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."
57 changes: 57 additions & 0 deletions product_supplierinfo_disable_autocreation/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_disable_autocreation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-06-04 09:29+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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 5.10.4\n"

#. 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 ""
"Crea automaticamente il listino fornitore alla validazione degli ordini di "
"acquisto"

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_res_company
msgid "Companies"
msgstr "Aziende"

#. 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 "Abilita listini automatici fornitori"

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_res_config_settings
msgid "Procurement purchase grouping settings"
msgstr "Impostazioni raggruppamento approvvigionamento acquisti"

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_purchase_order
msgid "Purchase Order"
msgstr "Ordine di acquisto"

#. 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 ""
"Quando abilitata, il sistema creerà automaticamente i listini fornitore alla "
"validazione degli ordini di acquisto."
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_disable_autocreation
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.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_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 ""

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_res_company
msgid "Companies"
msgstr ""

#. 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 ""

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_res_config_settings
msgid "Procurement purchase grouping settings"
msgstr ""

#. module: product_supplierinfo_disable_autocreation
#: model:ir.model,name:product_supplierinfo_disable_autocreation.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. 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 ""
Loading
Loading