-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
- Refactor product_category._round:
set rounding_precision and rounding_method to required
remove default values from the _round method
Obeesdoo/sale_suggested_price/models/product_category.py
Lines 34 to 38 in 843c4be
| # Use default value 0.05 and "HALF_UP" | |
| # in case someone erase the value on the category | |
| # Keep default value on the field to make it explicit to the end user | |
| return float_round( | |
| price, |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels