[7.0] project - duplicating res_partner duplicates task_ids
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 1 |
Bug Description
On database with some datas, this fail the duplication of the res_partner.
I don't think it is a good idea to duplicate task_ids, it should be set in copy's default argument.
Une erreur est apparue lors de la validation du/des champ(s) task_id,account_id: Error! Task must belong to the project.
Traceback (most recent call last):
File ".../server/
result = ExportService.
File ".../server/
res = fn(db, uid, *params)
File ".../server/
return self.execute(db, uid, obj, method, *args, **kw or {})
File ".../server/
raise except_
except_osv: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) task_id,account_id: Error! Task must belong to the project.')
Related branches
- Olivier Dony (Odoo): Approve
-
Diff: 16 lines (+8/-0)1 file modifiedproject/res_partner.py (+8/-0)
- Yannick Vaucher @ Camptocamp: Disapprove
- Stefan Rijnhart (Opener): Approve
-
Diff: 16 lines (+8/-0)1 file modifiedproject/res_partner.py (+8/-0)
A patch is attached as a Merge proposal