changeset 857cb22a6e33 in modules/product_cost_warehouse:6.0
details:
https://hg.tryton.org/modules/product_cost_warehouse?cmd=changeset&node=857cb22a6e33
description:
Use from_cost_warehouse and to_cost_warehouse properties
issue11654
diffstat:
stock.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r dfa29b4f26e5 -r 857cb22a6e33 stock.py
--- a/stock.py Fri Aug 26 17:49:54 2022 +0200
+++ b/stock.py Tue Aug 30 09:00:11 2022 +0200
@@ -75,7 +75,7 @@
required = super().on_change_with_unit_price_required(name=name)
if (self.company and self.company.cost_price_warehouse
and self.from_location and self.to_location
- and self.from_warehouse != self.to_warehouse):
+ and self.from_cost_warehouse != self.to_cost_warehouse):
required = True
return required