Add oca-purchase submodule with 96 purchase modules moved from oca-workflow-process

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ernad Husremovic 2025-08-30 18:00:40 +02:00
parent b0628ee8ea
commit 7378b233e9
3994 changed files with 334316 additions and 0 deletions

View file

@ -0,0 +1,16 @@
* OpenERP S.A.
* Ignacio Ibeas <ignacio@acysos.com>
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Jonathan Nemry <jonathan.nemry@acsone.eu>
* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Stefan Rijnhart <stefan@opener.amsterdam>
* `Tecnativa <https://www.tecnativa.com>`_:
* Pedro M. Baeza
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Sudhir Arya <sudhir@erpharbor.com>
* Lorenzo Battistini <https://github.com/eLBati>
* Luisa Miguéns <luisa.miguens@solvos.es>
* Vishnu Vanneri <vanneri.odoodev@gmail.com>
* Moaad Bourhim <moaad.bourhim@gmail.com>

View file

@ -0,0 +1,26 @@
This module allows to define a discount per line in the purchase orders. This
discount can be also negative, interpreting it as an increment.
It also modifies the purchase order report to include the discount field in it.
This module allows to input a discount in the supplier info form, and propagate
it to purchase order lines:
* The discount appears explicitly in purchase orders instead of being directly
discounted in price.
* You can set prices and discounts on the same screen.
.. image:: ../static/description/product_supplierinfo_form.png
* A new field default_supplierinfo_discount is added on res.partner model.
This value will be used as the default one, on each supplierinfo of that
supplier.
.. image:: ../static/description/res_partner_company_form.png
Note: this setting is a new 'company' setting, unavailable for related
partners, as accounting-related Settings.
.. image:: ../static/description/res_partner_individual_form.png

View file

@ -0,0 +1,2 @@
With this module, the *price_unit* field of purchase order line stores the gross price instead of the net price, which is a change in the meaning of
this field. So this module breaks all the other modules that use the *price_unit* field with it's native meaning.

View file

@ -0,0 +1,7 @@
Go to **Purchase > Products**, open one product, and edit or add a record on
the **Vendors** section of the **Purchase** tab. You will see in the prices
section in the down part a new column called **Discount (%)**. You can enter
here the desired discount for that quantity.
When you make a purchase order for that supplier and that product, discount
will be put automatically.