← Back to team overview

openerp-expert-framework team mailing list archive

Re: calling super() super()

 

Hi Jerzy,

Could you develop your solution or give a short example?

Thanks


2013/1/14 Jerzy Orłowski <jerzy.orlowski@xxxxxxxxxxxx>

>  look for bases() function
>
> W dniu 14.01.2013 10:35, Houssine BAKKALI pisze:
>
>     Hi There,
>
>  I'm facing some difficulties wiht the OpenERP inheritance system.
>
>  I want to override the create function of the res.partner.bank. This
> function is already overrided by the account_iban addons.
>
>  So in the inheritance schema is as following :
>
>  my create function => account_iban create function => account_bank create
> function => res_bank create function
>
>  I want to by pass the account_iban create function and call the
> account_bank one as if I had replaced the account_iban function.
>
> Does the inheritance mechanism allow that?
>
>  Thanks for your help!
>
>  Kind regards,
>  Houssine
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
>
> Pozdrawiam serdecznie,
>
> Jerzy Orłowski
>
> Członek Zarządu ds. technologii
> Al. Stanów Zjednoczonych 53
> 04-028 Warszawa
> tel. +48 (22) 266 01 02
> tel. +48 (22) 292 16 16
> kom. 668 151 245www.lacan.com.pl
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>
>

References