[FIX] base_action_rule: more flexible wrapper signature
authorMartin Trigaux <mat@openerp.com>
Wed, 25 Jun 2014 12:42:55 +0000 (14:42 +0200)
committerMartin Trigaux <mat@openerp.com>
Wed, 25 Jun 2014 12:42:55 +0000 (14:42 +0200)
commit60ec300493172cc74b8e8b2d17028d6cd8d866b0
tree38645eafbf32a613f33a0e66eea2f48b806d7934
parentdf6b37c472772ef8911671b54caee1769cf77706
[FIX] base_action_rule: more flexible wrapper signature

Some objects (e.g. account.move.line) have a different signature than the classical 'cr, uid, ids, vals, context=None' and may add extra arguments.
This fix allows to create rules on these objects and still pass the valid arguments.
(opw 609204)
addons/base_action_rule/base_action_rule.py