** Changed in: openobject-server
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/568431
Title:
[5.0] cannot inherit a _constraint
Status in OpenObject Server:
Invalid
Bug description:
OpenObject: 5.0
Server revno: 2038
Addons revno: 2711
Client revno: 1069
I just wants to inherit a constraint (_constraint) but the code below doesn't
execute.
I think the bug 330427 is to be the same as mine.
--------------8<---------------8<-------------
from osv import osv
from osv import fields
class product_pricelist_version(osv.osv):
_inherit = 'product.pricelist.version'
def _check_date(self, cursor, user, ids):
print 'Inherit OK'
return True
product_pricelist_version()
--------------8<---------------8<-------------
Distribution: Ubuntu
Version: 9.10 (karmic)
Python 2.6.4
Locale:
LANG=fr_FR.UTF-8
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp