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


Commits:
43eca8fe by Cédric Krier at 2025-03-10T23:26:14+01:00
Convert list/tuple value to list of IDs only if it contains records

The Modify Header set the start value from the sale or purchase values but when
it is a list or a tuple, it should also ensure it contains records before
converting to a list of ids.

Closes #13915
(grafted from 35fc6e3d271b4eeb7ef123f58085836fdab77228)
- - - - -
7a3e4d70 by Cédric Krier at 2025-03-10T11:06:00+01:00
Do not use instanceof on value of Date and DateTime of Dict field

Instead we must use the attributes isDate and isDateTime.

Closes #13845
(grafted from c5b215bb328104a51f8d26d1f3e9e50f588d6568)
- - - - -
c9b3cebd by Cédric Krier at 2025-02-26T23:51:39+01:00
Convert empty string to None for match value

It is not possible from the clients to force to store None value instead of
empty string.

Closes #13890
(grafted from f7b12ada27377ec42a05b539791855e6f64c497f)
- - - - -
0056a8e1 by Adrià Tarroja Caubet at 2025-03-26T18:09:18+01:00
Open CSV export file using with newline translation

The csv documentation [1] explains that file object used in writer should be
opened with newline as empty string.

[1] https://docs.python.org/3/library/csv.html

Closes #12115
(grafted from c07aae86c7fe87715994f0e82177980b9907dc3f)
- - - - -
3b31137c by Cédric Krier at 2025-03-04T23:00:16+01:00
Query the database after each timeout of the listeners

This permit to keep the connection alive when the database is killing idle
connections.

Closes #13902
(grafted from 12e80f41c37e1f77d1ae539e84989956a70da0d9)
- - - - -
4c45d49f by Cédric Krier at 2025-03-09T11:23:43+01:00
Do not include record with NULL field in nested negative clause on None

Since 87456218dcc9, record with NULL field is include in nested negative clause
but this should not applied if the operand is or contains None.

Closes #13911
(grafted from 993d890dd786424c2cd00009045ad95a09075e72)
- - - - -
272bee1e by Cédric Krier at 2025-03-15T13:31:57+01:00
Compare integrity error message with the constraint name prefixed by the table 
name

The TableHandler adds the table name as prefix to the constraint name so when
comparing with the integrity error message, it should also be added.
Especially if the constraint name is hashed by the TableHandler conversion
because the result is completely different.

Closes #13922
(grafted from 57e97b6d957e1b472eea3fb7bbdf2ecf03abfc6a)
- - - - -
17e759fa by Cédric Krier at 2025-02-01T16:29:52+01:00
Require PyGObject before 3.51

The GenericTreeModel from pygtkcompat has been removed.

#13855
(grafted from d7050674aabe4ecc3c986f6ab7a474ab4f89afcf)
- - - - -


14 changed files:

- modules/purchase/purchase.py
- modules/sale/sale.py
- sao/src/view/form.js
- tryton/setup.py
- tryton/tryton/gui/window/form.py
- trytond/doc/topics/domain.rst
- trytond/trytond/bus.py
- trytond/trytond/cache.py
- trytond/trytond/model/fields/many2one.py
- trytond/trytond/model/fields/reference.py
- trytond/trytond/model/match.py
- trytond/trytond/model/modelsql.py
- trytond/trytond/tests/test_field_many2one.py
- trytond/trytond/tests/test_field_reference.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/cb2039d69b4b29eb217586187f2116d9a5fd4e8e...17e759faa57edf8ba507c4a677561f11ef94c75b

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

Reply via email to