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


Commits:
c6f75dfc 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)
- - - - -
215b5cb2 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)
- - - - -
b1d3fcea 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)
- - - - -
1b10e28f 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)
- - - - -
69c99b0c 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)
- - - - -
fa57ca74 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)
- - - - -
e625519a 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)
- - - - -
1f0006ec by Nicolas Évrard at 2025-05-22T10:59:36+02:00
Use class access model when testing for parent access
(grafted from f2734a16eb1d28f654ffc3ae6cd45b9d2af8726e)
- - - - -
e866f060 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)
- - - - -
b322d0bd 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)
- - - - -
b5223eb2 by Cédric Krier at 2025-05-21T18:38:40+02:00
Export multiselection field as CSV list

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

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


22 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
- 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/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/0a4230d04fc095746e40719fe0ec4f9574936f88...5a68aafc78c5365cb59bc2f6ffc3bfd37659b08c

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/0a4230d04fc095746e40719fe0ec4f9574936f88...5a68aafc78c5365cb59bc2f6ffc3bfd37659b08c
You're receiving this email because of your account on foss.heptapod.net.

Reply via email to