can't override any function of account_invoice_line
Bug #1207406 reported by
Anael Lorimier
This bug report was converted into a question: question #233618: can't override any function of account_invoice_line.
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have created a class that inherits from "account.
But my fields_view_get() is never called.
I tried with other function, and none is called.
I added some fields in this model, and those fields are correctly added, so my module is read.
Openobject-addons rev : 9305
Openobject-server rev : 5038
affects: | openerp-web → openobject-addons |
description: | updated |
description: | updated |
description: | updated |
To post a comment you must log in.
Hello Lorimier,
Would you please provide your customize code? May be you have done mistake on your customize code.
Normally we can use the super for call the above method then after we can put our customize code, So it will call exiting method first then override method.
If you don't want to call exiting method then directly write your method without using the super.
Better If you can provide your code, So we can look at on it.
Thank you!