summaryrefslogtreecommitdiff
path: root/addons/base_import/static/csv/database_import_test.sql
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-03-30 13:22:01 +0200
committerDenis Ledoux <dle@odoo.com>2016-03-30 13:26:19 +0200
commit4b6218874a176ea244d4f2f7cd038cf110b600fb (patch)
tree483345d95aa09c0b92f6b5ee748d1b8cf2ae3908 /addons/base_import/static/csv/database_import_test.sql
parent1b5c2ced45b508a6e86681cad47efe12c486362b (diff)
[FIX] account: re-introduce get_formview_id for invoices
`get_formview_id` returns a view id to open the document with. This method is meant to be overridden in addons that want to give specific view ids for example. A link to an invoice must open a different form view according if this is a customer or a vendor invoice. This is handled by overriding `get_formview_id` and returning the view id that should be used according to something in the record (e.g. according to the `type` field). It was present in 8.0, it was somehow removed in Odoo 9.0 during the refactoring of the accounting modules, probably for a wrong reason. opw-673246
Diffstat (limited to 'addons/base_import/static/csv/database_import_test.sql')
0 files changed, 0 insertions, 0 deletions