small change in the server action

bzr revid: mga@tinyerp.com-20081222191453-43lmt10bskyky0pr
This commit is contained in:
mga (Tiny/Axelor) 2008-12-23 00:44:53 +05:30
parent 16d7b2a13a
commit f2c85a1f97
1 changed files with 0 additions and 2 deletions

View File

@ -384,7 +384,6 @@ class actions_server(osv.osv):
_columns = {
'name': fields.char('Action Name', required=True, size=64, help="Easy to Refer action by name i.e. One Sales Order -> Many Invoice"),
'condition' : fields.char('Condition', size=256, required=True, help="Condition that is to be test before execute action, i.e : object.list_price > object.cost_price"),
'sub_condition' : fields.char('Condition', size=256),
'state': fields.selection([
('client_action','Client Action'),
('dummy','Dummy'),
@ -422,7 +421,6 @@ class actions_server(osv.osv):
_defaults = {
'state': lambda *a: 'dummy',
'condition': lambda *a: 'True',
'sub_condition': lambda *a: 'True',
'type': lambda *a: 'ir.actions.server',
'sequence': lambda *a: 5,
'code': lambda *a: """# You can use the following variables