[trunk/7.0] Purchase module: the copy method for duplicating a partner does not return the new id
Bug #1189966 reported by
Yannick Vaucher @ Camptocamp
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Tested on runbot:
(Build 13251)
server (5004)
addons (9222)
web (3973)
It seems to me this is very disturbing that when I duplicate a partner it set the old one in edit mode instead of opening the new one.
It makes you think you are actually editing the copy.
What is expected is opening the new partner, or at least not changing to edit mode.
I believe the id of new one and old one are mixed somewhere.
Related branches
lp://staging/~openerp-dev/openobject-addons/7.0-opw-595680-fka
- Yannick Vaucher @ Camptocamp (community): Approve
- Stéphane Bidoul (Acsone) (community): Approve (code review and test)
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedpurchase/partner.py (+1/-1)
lp://staging/~sbi/ocb-addons/7.0-opw-595680-fka
- Stefan Rijnhart (Opener): Approve
- Stéphane Bidoul (Acsone) (community): Approve (code review)
-
Diff: 12 lines (+1/-1)1 file modifiedpurchase/partner.py (+1/-1)
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- [7.0] duplication of a res_partner open the old partner instead of the - copy + [trunk/7.0] duplication of a res_partner open the old partner instead of + the copy |
Changed in openobject-server: | |
assignee: | OpenERP's Framework R&D (openerp-dev-framework) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
summary: |
- [trunk/7.0] duplication of a res_partner open the old partner instead of - the copy + [trunk/7.0] Purchase module: the copy method for duplicating a partner + does not return the new id |
To post a comment you must log in.
It should be fixed from addons, copy method from purchase module.
Thanks,
Naresh Soni
OpenERP Enterprise Services