Skip to content

19.0 purchase global discount mekav#1161

Draft
mekav-odoo wants to merge 2 commits intoodoo:19.0from
odoo-dev:19.0-purchase-global-discount-mekav
Draft

19.0 purchase global discount mekav#1161
mekav-odoo wants to merge 2 commits intoodoo:19.0from
odoo-dev:19.0-purchase-global-discount-mekav

Conversation

@mekav-odoo
Copy link

Implement a global discount feature for Purchase Orders that allows users to apply a percentage or fixed amount discount across all order lines via a wizard.
This improves the user experience by removing the need to manually calculate and update discounts line-by-line for large orders.

Implement a global discount feature for Purchase Orders that allows
users to apply a percentage or fixed amount discount across all
order lines via a wizard.

- Add a 'Discount' button on the purchase order form view, positioned
  above the subtotal section.
- Create a transient model 'purchase.discount.wizard' to handle
  the discount calculation logic.
- Update purchase order lines with the calculated discount when
  the wizard is confirmed.
- Update a 'Discount' button position on the purchase order form view,
@robodoo
Copy link

robodoo commented Feb 13, 2026

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants