Commit ade1981b authored by Fabien Morin's avatar Fabien Morin

add a new property create_line used to indicate if we want to create movement...

add a new property create_line used to indicate if we want to create movement corresponding to this model line or not.
This is usefull in case of "intermediate lines" : a line we want to participe on some base_amount without being created.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27365 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e995de3b
...@@ -33,7 +33,16 @@ class TradeModelLine: ...@@ -33,7 +33,16 @@ class TradeModelLine:
""" """
Properties which allow to define a generic Delivery Builder. Properties which allow to define a generic Delivery Builder.
""" """
_properties = ( ) _properties = (
{ 'id' : 'create_line',
'description' : 'A flag indicating if the corresponding line will'
' be created',
'type' : 'boolean',
'mode' : 'w',
'default' : True,
},
)
_categories = ( _categories = (
'base_application', 'base_contribution', 'trade_phase', 'base_application', 'base_contribution', 'trade_phase',
) )
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