← Back to team overview

openerp-india team mailing list archive

[Bug 1207406] Re: can't override any function of account_invoice_line

 

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1207406

Title:
  can't override any function of account_invoice_line

Status in OpenERP Addons (modules):
  Incomplete

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1207406/+subscriptions