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.

12
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.invoice.line" and I have redefined the fields_view_get()

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
Revision history for this message
Amit Parik (amit-parik) wrote :

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!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Seems more like a Question!

Changed in openobject-addons:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.