copy orm function does not copy deafults in relational fields
Bug #636604 reported by
Servabit OpenERP team
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
We supplied a patch:
"This patch is applied to orm.py file. Without this patch the default
values passed to copy function are applied only to the parent record but
not to its childs. With a modification to the copy_data method now is
possible to have the default values to the childs too"
Changed in openobject-server: | |
status: | New → Confirmed |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
To post a comment you must log in.
Hello,
we appreciate your suggestion and it is very good towards the easiness of the copy() method. But the patch is not acceptable in terms of passing same default dict to all children(relational fields). Share your views and discussion is invited.
Thanks