Issue 11512

Title
Set default party currency when creating move on shipment
Priority
feature
Status
resolved
Superseder
Set left join on currency_rate table in query for stock margin report (issue 11711)
Nosy list
ced, mrichez, reviewbot, roundup-bot, tbruyere
Assigned to
mrichez
Keywords
review

Created on 2022-05-24.11:52:24 by mrichez, last changed 2 months ago by roundup-bot.

Messages

New changeset 72fc4ca79674 by C├ędric Krier in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/tryton-env/rev/72fc4ca79674
New changeset a8081d8b5d8f by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_supply/rev/a8081d8b5d8f
New changeset 206a2668b8fa by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_split/rev/206a2668b8fa
New changeset b9a2b57ddc12 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_quantity_issue/rev/b9a2b57ddc12
New changeset 0bac64a3e830 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_quantity_early_planning/rev/0bac64a3e830
New changeset 4f8285582efc by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_lot_unit/rev/4f8285582efc
New changeset 528ccce4c861 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_lot/rev/528ccce4c861
New changeset f003802d4179 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_location_move/rev/f003802d4179
New changeset 9cbd16b1106c by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock_consignment/rev/9cbd16b1106c
New changeset 4ad69cbbe49d by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/stock/rev/4ad69cbbe49d
New changeset 237134aa7ad7 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/purchase_shipment_cost/rev/237134aa7ad7
New changeset b039fb26138c by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/product_kit/rev/b039fb26138c
New changeset 93b4cdf09c65 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/product_cost_warehouse/rev/93b4cdf09c65
New changeset 0e9e3d053b6d by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/carrier_weight/rev/0e9e3d053b6d
New changeset b9d79e5694de by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/carrier_percentage/rev/b9d79e5694de
New changeset 5eba158e1327 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/account_stock_shipment_cost_weight/rev/5eba158e1327
New changeset 152a8543685f by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/account_stock_shipment_cost/rev/152a8543685f
New changeset 96fe5d137331 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/account_stock_landed_cost_weight/rev/96fe5d137331
New changeset c84c16a0fcd6 by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/account_stock_landed_cost/rev/c84c16a0fcd6
New changeset 6cff5c3f3b6b by Maxime Richez in branch 'default':
Remove default currency on stock move
https://hg.tryton.org/modules/account_invoice_stock/rev/6cff5c3f3b6b
Author: [hidden] (mrichez)
Date: 2022-09-14.13:33:30

After videoconference discussion, a better solution would be to remove the default currency on move to allow the user to choose the right currency.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-06-21.23:50:04

I do not like the idea of using a currency context and to add currency function field to all shipments. For me it sounds like artificial.
I think it will be better to use an on_change_shipment.

Author: [hidden] (mrichez)
Date: 2022-05-24.11:52:24

When creating a new move on shipment, company's currency is set by default. If a default currency is defined on the shipment's party, we could use his currency as default.

History
Date User Action Args
2022-09-29 09:11:06roundup-botsetmessages: + msg78403
2022-09-29 09:11:03roundup-botsetmessages: + msg78402
2022-09-29 09:10:59roundup-botsetmessages: + msg78401
2022-09-29 09:10:55roundup-botsetmessages: + msg78400
2022-09-29 09:10:50roundup-botsetmessages: + msg78399
2022-09-29 09:10:47roundup-botsetmessages: + msg78398
2022-09-29 09:10:44roundup-botsetmessages: + msg78397
2022-09-29 09:10:40roundup-botsetmessages: + msg78396
2022-09-29 09:10:36roundup-botsetmessages: + msg78395
2022-09-29 09:10:27roundup-botsetmessages: + msg78394

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