mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-27 22:26:00 +00:00
[feature] Line discount (#12393)
* Add "discount" support to order line items
* Fix total_price annotation for ExtraLineItem
* Add regression tests
* Add frontend support
* Updated documentation
* Added docs
* Bump API version and CHANGELOG
* Remove 'total_price' annotation
- Can be achieved using in-memory python methods
* Apply fix for migration testing
* Revert "Apply fix for migration testing"
This reverts commit 8d9f2dce8c.
* Different approach
* Adjust playwright threshold
This commit is contained in:
@@ -186,6 +186,7 @@ export function usePurchaseOrderLineItemFields({
|
||||
value: purchasePriceCurrency,
|
||||
onValueChange: setPurchasePriceCurrency
|
||||
},
|
||||
discount: {},
|
||||
auto_pricing: {
|
||||
default: create !== false,
|
||||
value: autoPricing,
|
||||
|
||||
Reference in New Issue
Block a user