c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17874
[Bug 726676] Re: "on_delete" field in "ir.model.fields" never gets used
Hello,
on_delete is the important attribute for any field of openerp class. I
will give you one example of such use in mrp.production object in mrp
module which is,
'routing_id': fields.many2one('mrp.routing', string='Routing',
on_delete='set null', help="The list of operations (list of work
centers) to produce the finished product. The routing is mainly used to
compute work center costs during operations and to plan future loads on
work centers based on production plannification."),
Hope you will agree with this and I am closing this bug.
Thanks.
** Changed in: openobject-server
Status: New => 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/726676
Title:
"on_delete" field in "ir.model.fields" never gets used
Status in OpenERP Server:
Invalid
Bug description:
"on_delete" field in "ir.model.fields" object never gets used. It is
always empty.
References