[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
34
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.

Tags: maintenance

Related branches

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
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote : Re: [trunk/7.0] duplication of a res_partner open the old partner instead of the copy

It should be fixed from addons, copy method from purchase module.

Thanks,
Naresh Soni
OpenERP Enterprise Services

affects: openobject-server → openobject-addons
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
Revision history for this message
Foram Katharotiya (OpenERP) (fka-openerp) wrote :

Hello,

  - It has been Fixed in this branch https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-595680-fka
    revno: 9312
    revid: <email address hidden>

  -It will be available in 7.0 soon.

Thanks

Changed in openobject-addons:
status: Confirmed → Fix Committed
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

The fix has landed in 7.0 addons at revision 9398 rev-id:<email address hidden>, sorry for the delay, and thanks for reporting!

Changed in openobject-addons:
milestone: none → 7.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.