Commit a6acc9d6 authored by Fabien Morin's avatar Fabien Morin

add calculation_script_id property wich is used to set a script for each Model Line


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17742 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8ccfd69
......@@ -33,10 +33,18 @@ class PaySheetModelLine:
Properties which allow to define a generic Price.
"""
_properties = (
{ 'id' : 'editable',
'description' : 'If set to 1, self could be edited at the paySheet creation',
'type' : 'boolean',
'mode' : 'w' },
{ 'id' : 'editable',
'description' : 'If set to 1, the Pay Sheet Line values could be edited \
at the Pay Sheet calculation step',
'type' : 'boolean',
'mode' : 'w'
},
{ 'id' : 'calculation_script_id',
'description' : 'If no script found on Pay Sheet Model Lines, this \
script is used to do localised calculs',
'type' : 'string',
'mode' : 'w',
},
)
......
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