Commit 98d32bc2 authored by Sebastien Robin's avatar Sebastien Robin

trade: Movement_isQuantityEditable should also work for orders

There should be no reasons to look at items through aggregate only on delivery line,
this should also be usable on order lines
parent c018020b
...@@ -68,8 +68,7 @@ if not context.isMovement():\n ...@@ -68,8 +68,7 @@ if not context.isMovement():\n
if context.getVariationCategoryList() and not \'Cell\' in context.getPortalType():\n if context.getVariationCategoryList() and not \'Cell\' in context.getPortalType():\n
return False\n return False\n
\n \n
return not (context.getPortalType() in context.getPortalDeliveryMovementTypeList()\n return not (context.getResource() and context.getResourceValue().getAggregatedPortalTypeList())\n
and (context.getResource() and context.getResourceValue().getAggregatedPortalTypeList()))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
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