a=self.__class__.__bases__[0]
b=a.__bases__[0]
result = super(b, self).create()
Seems to be working
W dniu 16.01.2013 18:42, Денис Каратаев pisze:
So Houssine, did you find decision?
2013/1/14 Mohammad Alhashash <[email protected]
<mailto:[email protected]>>
Do you mean __bases__ attribute?
On 14-Jan-13 11:45 AM, Jerzy Orłowski wrote:
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
<https://launchpad.net/%7Eopenerp-expert-framework>
Post to :[email protected]
<mailto:[email protected]>
Unsubscribe
:https://launchpad.net/~openerp-expert-framework
<https://launchpad.net/%7Eopenerp-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 245
www.lacan.com.pl <http://www.lacan.com.pl>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
<https://launchpad.net/%7Eopenerp-expert-framework>
Post to : [email protected]
<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~openerp-expert-framework
<https://launchpad.net/%7Eopenerp-expert-framework>
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
<https://launchpad.net/%7Eopenerp-expert-framework>
Post to : [email protected]
<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~openerp-expert-framework
<https://launchpad.net/%7Eopenerp-expert-framework>
More help : https://help.launchpad.net/ListHelp
--
Денис Каратаев.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to : [email protected]
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 245
www.lacan.com.pl
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help : https://help.launchpad.net/ListHelp