[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:
Oliver
2026-07-20 20:42:54 +10:00
committed by GitHub
parent 44d8d0e266
commit 4c4c86e180
23 changed files with 355 additions and 27 deletions
+1
View File
@@ -1896,6 +1896,7 @@ def setup_test(
c,
filename=template_dir.joinpath('inventree_data.json'),
clear=True,
ignore_nonexistent=True,
verbose=verbose,
)