Issue 11499

Title
On predefined exports, save CSV parameters too
Priority
bug
Status
resolved
Nosy list
ced, juanjogp, pokoli, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-05-18.12:30:08 by juanjogp, last changed 5 days ago by roundup-bot.

Messages

New changeset 6017ba2fae0d by Cédric Krier in branch '6.4':
Set FractionDigits options to format CSV to locale
https://hg.tryton.org/sao/rev/6017ba2fae0d

New changeset 907d219a3fb7 by Cédric Krier in branch '6.2':
Set FractionDigits options to format CSV to locale
https://hg.tryton.org/sao/rev/907d219a3fb7

New changeset 5ec0f9872885 by Cédric Krier in branch '6.0':
Set FractionDigits options to format CSV to locale
https://hg.tryton.org/sao/rev/5ec0f9872885
New changeset 33ecdce6a0de by Cédric Krier in branch 'default':
Set FractionDigits options to format CSV to locale
https://hg.tryton.org/tryton-env/rev/33ecdce6a0de
New changeset 8ae142382bae by Cédric Krier in branch 'default':
Set FractionDigits options to format CSV to locale
https://hg.tryton.org/sao/rev/8ae142382bae
Author: [hidden] (juanjogp)
Date: 2022-05-18.12:30:08

1.- In an clean tryton, install stock and its dependencies
2.- Create a new Unit of Measure:
- Name: Custom Unit
- Rounding Precision: 0.00001
- Display Digits: 5

3.- Create a product where the Default UOM is the "Custom Unit" created in steep 2
4.- Create a move with this product, we put as quantity "0.00190"
5.- Save the move
6.- Open the CSV Export wizard
7.- Create a Predefined Export with at least the quantity.
8.- Try to "print" this export, the quantity will be 0.002 instead of 0.00190
9.- Now, try to take the same export deactivating the option "Use local format" (In CSV Parameters), the quantity will show correctly (0.00190)
10.- If we try to "print" the predefined export we create from the "Print report" action, the quantity will always show incorrectly

We need to save the csv parameters in the ir.export model.

History
Date User Action Args
2022-06-24 10:26:29roundup-botsetkeyword: - backport
messages: + msg77224
2022-06-21 10:12:52roundup-botsetmessages: + msg77165
2022-06-21 10:12:48roundup-botsetmessages: + msg77164
nosy: + roundup-bot
status: testing -> resolved
2022-06-13 17:52:28reviewbotsetmessages: + msg77063
nosy: + reviewbot
2022-06-13 17:46:56cedsetkeyword: + backport, review
reviews: 439211003
status: in-progress -> testing
2022-06-13 17:44:03cedsetassignedto: ced
component: - trytond
nosy: + ced
priority: feature -> bug
status: unread -> in-progress
type: feature request -> behavior
2022-05-18 12:36:36pokolisetnosy: + pokoli
2022-05-18 12:30:08juanjogpcreate

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