Commit be09b706 authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify.

parent efcdfa0f
......@@ -10,7 +10,7 @@ def DeliveryLineSetZeroPriceAndOrUpdateAppliedRule(self):
if delivery.getPortalType() in ['Purchase Packing List', 'Sale Packing List']:
specialise = delivery.getSpecialise()
if common_specialise != specialise:
self.getParentValue().setSpecialise(common_specialise)
delivery.setSpecialise(common_specialise)
delivery.SalePackingList_setArrow()
if delivery.getPriceCurrency() != price_currency:
delivery.setPriceCurrency(price_currency)
......
63
\ No newline at end of file
64
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment