Duplicate location creates new location with old location name

Bug #901748 reported by Aristóbulo Meneses

This bug report was converted into a question: question #181390: Duplicate location creates new location with old location name.

8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Low
OpenERP R&D Addons Team 2

Bug Description

When duplicating a stock location, the new location is created with the duplicated location name.

If the name of the new location is changed and saved, the field name in table stock_location keeps the original name and
saves the new name in ir_translation.

Using openerp 6.0.3

addons - revno 4915
server - revno 3538

Pd. Tested duplicating products, works fine.

Revision history for this message
Aristóbulo Meneses (aristobulo) wrote :

Users duplication tested, also works fine.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Numérigraphe (numerigraphe) wrote : Re: [Bug 901748] [NEW] Duplicate location creates new location with old location name

> If the name of the new location is changed and saved, the field name in table stock_location keeps the original name and
> saves the new name in ir_translation.
>
Assuming you use a local other than en_US, it's the normal behavior
isn't it?
Lionel Sausin.

Revision history for this message
Aristóbulo Meneses (aristobulo) wrote :

Lionel,

That's correct, i'm using es_VE locale, but, why other objects dont have this behaviour (products, users)?
And what about this, if we are using es_VE, then we duplicate a location with name 'Plastic bottles' and
change its name to 'Plastic cups'. The new location still have 'Plastic Bottles' in stock_location table, but then
another user using a different locale (in example, es_PE), edits 'Plastic Cups' because the name was wrong and
change the name to 'Policarbonate bottles'. As the changes are saved in ir_translation, es_VE's users will never
know about this change because they are going to see 'Plastic Cups'.

I dont see why it should be stored as a translation.

Revision history for this message
Aristóbulo Meneses (aristobulo) wrote :

I forgot, i have tested using en_US, only in this case the duplicated location saves its new name in stock_location.name

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

This behavior is "by design", so please let me turn this bug into a question.
Lionel.

Changed in openobject-addons:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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