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


Commits:
90b0f1ce 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)
- - - - -
0056fd4e 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)
- - - - -
7c6253a1 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)
- - - - -
cf86e228 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)
- - - - -
1a4dc929 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)
- - - - -
ed03f838 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)
- - - - -
0eeaadbf 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)
- - - - -
df70d320 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)
- - - - -
5ca1c366 by Nicolas Évrard at 2025-05-22T10:59:36+02:00
Use class access model when testing for parent access
(grafted from f2734a16eb1d28f654ffc3ae6cd45b9d2af8726e)
- - - - -
9f59cf96 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)
- - - - -
431068a9 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)
- - - - -
2d993054 by Cédric Krier at 2025-05-21T18:38:40+02:00
Export multiselection field as CSV list

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

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


24 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/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/f24ef2c79f09337e47b9695ea459c839b2809b10...1c123337b32978a352df71cb513f508e70337e5a

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

Reply via email to