Tryton - Issues

 

Issue9462

Title Do not copy product code
Priority bug Status resolved
Superseder Nosy List ced, pokoli, reviewbot, roundup-bot
Type behavior Components product
Assigned To ced Keywords easy, review
Reviews 306081002
View: 306081002

Created on 2020-07-06.11:46:34 by ced, last changed by roundup-bot.

Messages
New changeset bf46048e8168 by Cédric Krier in branch '5.6':
Do not copy the template code
https://hg.tryton.org/modules/product/rev/bf46048e8168
New changeset 8105dfae863f by Cédric Krier in branch 'default':
Do not copy the template code
https://hg.tryton.org/tryton-env/rev/8105dfae863f
New changeset 1d3e1d8f7676 by Cédric Krier in branch 'default':
Do not copy the template code
https://hg.tryton.org/modules/product/rev/1d3e1d8f7676
msg59433 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2020-07-22.10:52:21
I think we should treat this as a bug and backport to 5.6 series.
Otherwise it is not possible to duplicate template with codes.
review306081002 updated at https://codereview.tryton.org/306081002/#ps325731002
msg59274 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-07-11.09:36:50
We already do not copy the variant code but we should also not copy the template code.
msg59009 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2020-07-06.11:46:33
Since we added a unique constraint on product code, I think we should not copy it otherwise a user error is raised.
History
Date User Action Args
2020-07-30 00:07:18roundup-botsetmessages: + msg59548
keyword: - backport
2020-07-24 10:03:32roundup-botsetmessages: + msg59462
2020-07-24 10:03:27roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg59461
2020-07-22 10:52:22pokolisetkeyword: + backport
nosy: + pokoli, - ceciliasp, bvo
messages: + msg59433
priority: feature -> bug
assignedto: ceciliasp -> ced
type: feature request -> behavior
2020-07-15 18:27:21pokolisetassignedto: bvo -> ceciliasp
nosy: + ceciliasp
2020-07-11 09:44:45reviewbotsetnosy: + reviewbot
messages: + msg59275
2020-07-11 09:36:51cedsetstatus: unread -> testing
keyword: + review
nosy: + bvo
messages: + msg59274
reviews: 306081002
assignedto: bvo
2020-07-06 12:08:24pokolisetkeyword: + easy
2020-07-06 11:46:34cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)