tracback after creating an expense invoice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
tested with demo data, hr_expense module.
- use an existing expense
- approve it,
- create an invoice
- put ahome address to the employee
- create the invoice : traceback
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
return {'result': clean_action(req, action)}
File "/home/
return fix_view_
File "/home/
generate_
File "/home/
view_modes, view_id, action))
ValueError: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.
Got view modes ['form', 'tree'] and view id (396,) for action {'view_type': 'form', 'res_model': 'account.invoice', 'view_id': [(396,)], 'nodestroy': True, 'view_mode': 'form,tree', 'target': 'current', 'name': u'Supplier Invoices', 'res_id': 59, 'flags': {}, 'context': {'journal_type': 'purchase', 'type': 'out_invoice'}, 'type': 'ir.actions.
Related branches
Changed in openerp-web: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
affects: | openerp-web → openobject-addons |
Changed in openobject-addons: | |
status: | Confirmed → Fix Released |