~jfb-tempo-consulting/unifield-web/US-4786

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/actions.py

  • Committer: jf
  • Date: 2018-05-17 08:30:28 UTC
  • mfrom: (4912.4.1 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20180517083028-msq8hag1s03vy5w1
US-1630 [IMP] Links to Updates Sent/Received

lp:~julie-w/unifield-web/US-1630

Show diffs side-by-side

added added

removed removed

Lines of Context:
349
349
def server(action, data):
350
350
    context = dict(data.get('context', {}),
351
351
                   active_id=data.get('id', False),
352
 
                   active_ids=data.get('ids', [])
 
352
                   active_ids=data.get('ids', []),
 
353
                   model=data.get('model', False),
353
354
                   )
354
355
    action_result = rpc.RPCProxy('ir.actions.server').run([action['id']], context)
355
356
    if action_result: