copying production lot copies its stock moves, creation date and revisions

Bug #1067365 reported by Numérigraphe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

When copying a production lot, the stock moves related to this lot are copied too.
Thought they are copied as draft moves, that may be confusing to users.
The create date is also copied, which is wrong (it should be the date of the duplication).
The revisions are copied too, but I suggest they should be reset.

Tags: maintenance

Related branches

Revision history for this message
Numérigraphe (numerigraphe) wrote :
Revision history for this message
Numérigraphe (numerigraphe) wrote :

From a quick look at the code, it seems to affect v6.0 and trunk as well, by I couldn't test on trunk because traceability is not usable currently.
Lionel

Revision history for this message
Numérigraphe (numerigraphe) wrote : Re: copying production lot copies its stock moves and creation date

The create date is also not reset on the copy.

summary: - copying production lot copies its stock moves
+ copying production lot copies its stock moves and creation date
Revision history for this message
Numérigraphe (numerigraphe) wrote :

It would also make sense to reset the revisions I suppose.

summary: - copying production lot copies its stock moves and creation date
+ copying production lot copies its stock moves, creation date and
+ revisions
description: updated
description: updated
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hello Lionel,

You are right. Creation date should be current date, revisions and stock moves should be reset.
Thanks for reporting!

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Will you please provide a backport to v6.0?
Lionel.

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hello Lionel,

This bug has been fixed in below branches for 6.0 and 6.1,
lp:~openerp-dev/openobject-addons/6.0-opw-580795-rha
Revision 5361, Revision ID: <email address hidden>

lp:~openerp-dev/openobject-addons/6.1-opw-580795-rha
Revision 7039, Revision ID: <email address hidden>

Thanks for your bug report,
Rifakat Haradwala

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

Other bug subscribers

Remote bug watches

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