mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 07:55:07 +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:
1 parent
44d8d0e266
commit
4c4c86e180
23 files changed
+355
-27
No files matched your search
@@ -157,7 +157,7 @@ test('Login - Cold vs Warm vs Hot Load', async ({ page }) => {
|
||||
// Note: Vite server in dev mode is significantly slower than production build
|
||||
const COLD_MS_THRESHOLD: number = 5000;
|
||||
const WARM_MS_THRESHOLD: number = 4000;
|
||||
const HOT_MS_THRESHOLD: number = 3000;
|
||||
const HOT_MS_THRESHOLD: number = 3500;
|
||||
|
||||
const coldMs = await loginAndMeasure(page);
|
||||
|
||||
|
||||
Reference in new issue
Block a user