Skip to content

Files

Latest commit

 

History

History
 
 

purchase_discount

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Purchase order lines with discounts

Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runbot

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.

https://raw.githubusercontent.com/OCA/purchase-workflow/14.0/purchase_discount/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.

https://raw.githubusercontent.com/OCA/purchase-workflow/14.0/purchase_discount/static/description/res_partner_company_form.png

Note: this setting is a new 'company' setting, unavailable for related partners, as accounting-related Settings.

https://raw.githubusercontent.com/OCA/purchase-workflow/14.0/purchase_discount/static/description/res_partner_individual_form.png

Table of contents

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.

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.

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 smashing it by providing a detailed and welcomed feedback.

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

  • Tiny
  • Acysos S.L.
  • Tecnativa
  • ACSONE SA/NV
  • GRAP

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.