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
...@@ -34,9 +34,17 @@ class PaySheetModelLine: ...@@ -34,9 +34,17 @@ class PaySheetModelLine:
""" """
_properties = ( _properties = (
{ 'id' : 'editable', { 'id' : 'editable',
'description' : 'If set to 1, self could be edited at the paySheet creation', 'description' : 'If set to 1, the Pay Sheet Line values could be edited \
at the Pay Sheet calculation step',
'type' : 'boolean', 'type' : 'boolean',
'mode' : 'w' }, '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