Issue 11554

Title
Return Sale can not be done when vue_shop is active
Priority
bug
Status
resolved
Nosy list
ced, iehoshia, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-06-06.20:01:36 by iehoshia, last changed 3 weeks ago by roundup-bot.

Messages

New changeset b5b7f1a3af6d by Cédric Krier in branch '6.4':
Do not copy web shop when copying sale
https://hg.tryton.org/modules/web_shop/rev/b5b7f1a3af6d

New changeset 5a9912b329b0 by Cédric Krier in branch '6.2':
Do not copy web shop when copying sale
https://hg.tryton.org/modules/web_shop/rev/5a9912b329b0

New changeset fee5cc0ece12 by Cédric Krier in branch '6.0':
Do not copy web shop when copying sale
https://hg.tryton.org/modules/web_shop/rev/fee5cc0ece12
New changeset 42e20f2bc245 by Cédric Krier in branch 'default':
Do not copy web shop when copying sale
https://hg.tryton.org/tryton-env/rev/42e20f2bc245
New changeset a93de8dacc4e by Cédric Krier in branch 'default':
Do not copy web shop when copying sale
https://hg.tryton.org/modules/web_shop/rev/a93de8dacc4e
Author: [hidden] (iehoshia)
Date: 2022-06-06.20:01:36

When web_shop is active can not return the sale.

When the sale is returned, [0] a copy if the sale is done. But [1] set web_id to None and when web_shop is present web_id is required. To solve it after [1] can add [3] to create web_id.

[0] https://github.com/tryton/sale/blob/8441b7495e1aba749e07db59111ba3fd89a8e015/sale.py#L1987

[1] https://github.com/tryton/web_shop/blob/develop/sale.py#L46

[2] https://github.com/tryton/web_shop/blob/develop/sale.py#L38

History
Date User Action Args
2022-07-17 19:49:39roundup-botsetkeyword: - backport
messages: + msg77391
2022-07-09 23:15:47roundup-botsetmessages: + msg77296
2022-07-09 23:15:42roundup-botsetmessages: + msg77295
nosy: + roundup-bot
status: testing -> resolved
2022-07-09 23:14:57cedsetkeyword: + backport
2022-06-21 00:01:25reviewbotsetmessages: + msg77152
nosy: + reviewbot
2022-06-20 23:55:04cedsetkeyword: + review
reviews: 423431008
status: in-progress -> testing
2022-06-20 23:45:58cedsetassignedto: ced
component: + web_shop
nosy: + ced
status: unread -> in-progress
2022-06-06 20:01:36iehoshiacreate

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