210441d9b5
* fix: price list with 0 value are ignored
Steps to reproduce:
1. Create 2 item price for two different supplier. One of them should be
zero.
2. Create PO
3. Add supplier with non-zero price and add item.
4. change supplier. Price won't change. If price was non-zero it
would've changed.
Root cause: falsiness check instead of null value check is used for
checking if price list value exists. 0 is evaluated as false.
* refactor: make get_price_list_rate function pure
(cherry picked from commit
|
||
---|---|---|
.. | ||
dashboard | ||
dashboard_chart | ||
dashboard_chart_source | ||
doctype | ||
module_onboarding/stock | ||
number_card | ||
onboarding_slide/add_a_few_products_you_buy_or_sell | ||
onboarding_step | ||
page | ||
print_format | ||
report | ||
stock_dashboard/stock | ||
workspace/stock | ||
__init__.py | ||
get_item_details.py | ||
landed_taxes_and_charges_common.js | ||
README.md | ||
reorder_item.py | ||
stock_balance.py | ||
stock_ledger.py | ||
utils.py |
Inventory management module.