Cédric Krier pushed to branch branch/7.6 at Tryton / Tryton


Commits:
cdc6b5e8 by Nicolas Évrard at 2025-05-19T11:31:28+02:00
Use the initial precision when applying factor to a field without digits

Without digits the full representation of the number is used which might not
be the expected behaviour because applying the factor will result in a number
which short representation could be surprising to the user.

Closes #10460
(grafted from 6b292fe0dbb05cebbc17ba7fbbddb19d39f675dc)
- - - - -
44308796 by Maxime Richez at 2025-05-16T13:20:28+02:00
Set empty currency and unit price on stock move when not required

Closes #14023
(grafted from 6090f9c621e782cd47eb0537dee972c2f1fa8fe6)
- - - - -
97fc4848 by Nicolas Évrard at 2025-05-14T12:12:54+02:00
Remove notification events from the queue after the wait times out

Closes #14022
(grafted from 23bbeb1772ec7d5e27876e638337d9f2d81bbf19)
- - - - -
99ccfae4 by Sergi Almacellas Abellana at 2025-05-12T15:17:26+02:00
Do not require result nor type for inactive documents

Otherwise children documents can not be processed because the parent document
raises a RequiredValidationError when saved

Closes #14015
(grafted from e09cd53b9c701ef8da73163e9834d1f3db5a8e37)
- - - - -
dd2f596f by Cédric Krier at 2025-05-12T12:36:10+02:00
Iterate on the result of items call to update values set by on_change on O2M

e38f2298 introduces wrongly the iteration over the function instead of the 
result.

Closes #14014
(grafted from fadb43303291d5641f5e30169126e595aaa83ad5)
- - - - -
1d637418 by Cédric Krier at 2025-05-15T13:33:44+02:00
Remove empty files when exporting translations of a module

If the module has no translations, no file should be created. If they exist,
they must be removed.

Closes #14021
(grafted from d06bca3d561647509359f867d46f62e94786942d)
- - - - -
dc2aa607 by Cédric Krier at 2025-05-08T18:22:54+02:00
Set default value via domain inversion only when deferred operand is id

Other cases for deferred operand can not be deduced as unique for sure.

Closes #14005
(grafted from 7bf6ea18fe8ea12330c0aff2e6456b3d12c86228)
- - - - -
61dd7af6 by Cédric Krier at 2025-05-20T00:09:51+02:00
Fix placeholder errors in tryton translations
(grafted from 78491c0f24eee28b3ba9e46ea89ab88027166060)
- - - - -
db5d488c by Cédric Krier at 2025-05-21T11:16:56+02:00
Store URL to open before getting the preferences

The preferences may execute actions which may change the original URL at the
login. Such that the original URL is never open.
This is more visible since ac5d71376fca which makes the actions sequential.

Closes #13975
(grafted from 792784aa4fa3ee0e95f078fc87573d8bc4a859f8)
- - - - -
32c7ae06 by Nicolas Évrard at 2025-05-22T10:59:36+02:00
Use class access model when testing for parent access
(grafted from f2734a16eb1d28f654ffc3ae6cd45b9d2af8726e)
- - - - -
9845c9f1 by Cédric Krier at 2025-05-23T17:07:57+02:00
Set email content with maintype when needed and correctly set Content-Language 
header

When the content is not a string, EmailMessage.set_content requires a maintype
argument but not when it is a string. The maintype is then deduced using the
mimetypes module.
The Content-Language of content or alternate must be set using the headers
parameter instead of params which is for the Content-Type.
And finally the Content-Language must be set on the main message only if it
contains multiparts otherwise it is set twice.

Closes #14028
(grafted from 27bd4c93c85b3e64894ea97f4e433fb9fc3579ba)
- - - - -
d8376d21 by Cédric Krier at 2025-05-14T12:56:23+02:00
Avoid parsing image content as XML is they do not look like XML

This prevent the browser to log an error in the console.
Also we test for the presence of svg tag to be sure it is an svg image.

Closes #14019
(grafted from 286d03999217e1ea39231bb286cfa926d2f47486)
- - - - -
43fa5ed2 by Cédric Krier at 2025-05-21T18:38:40+02:00
Export multiselection field as CSV list

Closes #13995
(grafted from 01a7bd68c8ad35b6540d67e03a824d9bb0f22e5a)
- - - - -
d6e9dd6d by Cédric Krier at 2025-05-21T16:58:36+02:00
Import multiselection field as CSV list

Closes #13995
(grafted from b750eb7cfb864e10a081e20ac5b3449c591cd484)
- - - - -


35 changed files:

- modules/document_incoming/document.py
- modules/document_incoming/tests/scenario_document_incoming_split.rst
- modules/product_kit/purchase.py
- modules/product_kit/sale.py
- modules/purchase/purchase.py
- modules/sale/sale.py
- modules/sale_supply_drop_shipment/stock.py
- modules/stock/shipment.py
- modules/stock_consignment/stock.py
- sao/src/common.js
- sao/src/model.js
- sao/src/sao.js
- tryton/tryton/data/locale/ca/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/et/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/fa/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/id/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/lo/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/lt/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/pl/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/ro/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/sl/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/uk/LC_MESSAGES/tryton.po
- tryton/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po
- tryton/tryton/gui/window/view_form/model/field.py
- trytond/setup.py
- trytond/trytond/admin.py
- trytond/trytond/bus.py
- trytond/trytond/model/modelstorage.py
- trytond/trytond/report/report.py
- trytond/trytond/tests/export_data.py
- trytond/trytond/tests/import_data.py
- trytond/trytond/tests/test_access.py
- trytond/trytond/tests/test_exportdata.py
- trytond/trytond/tests/test_importdata.py
- trytond/trytond/tests/test_report.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/9922d24e22311f75d4c42af7cc7de41cf6040294...d6e9dd6dc981d62e8a50f5b4c7c8d2e0b686ab57

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/9922d24e22311f75d4c42af7cc7de41cf6040294...d6e9dd6dc981d62e8a50f5b4c7c8d2e0b686ab57
You're receiving this email because of your account on foss.heptapod.net.

Reply via email to