Same problem here :
'sale_order_id': fields.many2one('sale.order', 'Sale Order',
on_delete='cascade', readonly=True),
constraints are not generated. This is a serious problem and should not be
listed as 'wishlist'.
--
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/604347
Title:
ondelete='cascade' constraint not generated in postgres
Status in OpenERP Server:
Triaged
Bug description:
class dimu_settlement_portal_all(osv.osv):
_inherit = "dimu.settlement_portal_all"
....
{ 'csv_file_id' : fields.many2one
('holophon.csv_files','CSV file', select=True, required=True,
readonly=True, ondelete='cascade'),
the constraint is not generated in postgres.
we had some problems, because the filed was NULL initially, but even
after fixing it the constraint is not generated during update of the
module.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp