Commit 630579ff authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_advanced_ecommerce: default value to None

parent a0bbe8b3
<tal:block tal:define="supply_line python: context.Product_getSaleSupplyLine(); <tal:block tal:define="supply_line python: context.Product_getSaleSupplyLine();
additional_service python: supply_line.getAdditionalServiceValue(); additional_service python: supply_line.getAdditionalServiceValue();
minimal_quantity python: getattr(supply_line, 'additional_service_min_quantity'); minimal_quantity python: getattr(supply_line, 'additional_service_min_quantity', None);
"> ">
<tal:block tal:condition="python: additional_service is not None"> <tal:block tal:condition="python: additional_service is not None">
<label tal:content='python: additional_service.getDescription()'></label> <label tal:content='python: additional_service.getDescription()'></label>
......
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