Currently _get_value calls other model properties which are not defined on the historical model.
Replace usage of historical model with a helper function
* history should use settings.SESSION_COOKIE_SAMESITE directions
* Optimize product attributes
* Cache attribute lookups
* simplify QuerysetCache
* Perform bulk update for product attributes
* Added tests for uncovered features.
* added 1 more test
* fixes test
* Added more tests
* multi_option can not be save in bulk
* it should be possible to skip validate_identifier because it will be very hard to import data with oscarapi if this is always required.
* misnamed test
* fixes test
* added test for attribte validation errors
* added test that validates that required attributes are not valid
* more tests
Return True in is_tax_known() when the basket is empty (#4166)
* Fix AbstractBasket's is_tax_known() to handle an empty basket
* Fix lint errors
* Added another test for is_tax_known
* Improved clarity of complex expression
[FEAT] Absolute discount benefit applied on each product (#4168)
* feat :star: add benefit of fixed discount per product
* feat :star: check range and value in absolute product discount benefit form
* test :ballot_box_with_check: add tests for the new product level absolute discount benefit
* fix :wrench: resolve lint errors
* refactor :package: rename FIXED_PRODUCT to FIXED_UNIT
* refactor :package: rename AbsoluteProductDiscountBenefit to FixedUnitDiscountBenefit
* refactor :package: rename fixed unit benefit test file
* fix :wrench: clean fixed unit benefit form
* refactor :package: rename Fixed unit to Fixed
* feat :star: apply discount on all the product items
* refactor :package: rename test class names to FixedUnit
* fix :wrench: update tests for fixed unit benefit
* fix bug AbsoluteDiscountBenefit. Now discount is applied to all product and not one time on the basket only
* Revert "fix bug AbsoluteDiscountBenefit. Now discount is applied to all product and not one time on the basket only"
This reverts commit afae2c7ded.
* fix :wrench: update description for existing absolute discount
* feat :star: add migration file for absolute benefit description
* Revert "feat :star: add migration file for absolute benefit description"
This reverts commit 896c381f25.
* fix :wrench: edit existing migration file for absolute discount benefit
---------
Co-authored-by: Samar Hassan <samarhassanphone@gmail.com>