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


Commits:
30d40e22 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)
- - - - -
0c722d9d 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)
- - - - -
3436f83e 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)
- - - - -
bb8efa2f 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)
- - - - -
c988a41b 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)
- - - - -
ae8f9cf8 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)
- - - - -
8cbb7839 by Maxime Richez at 2025-03-21T10:50:23+01:00
Add missing depends on rate and factor to calculate unit price from second unit 
of blanket line

Closes #13932
(grafted from 99d844230aced4a60aa6ed85b6490e1a44cea557)
- - - - -
b719351b by Cédric Krier at 2025-03-13T12:56:38+01:00
Set party of statement line readonly when state is not draft

We must keep existing states when adding required states to party.

Closes #13916
(grafted from 1d22a245f92e3c24fa7dcc794b32b81b84305c82)
- - - - -
677ce0c2 by Cédric Krier at 2025-03-13T19:09:04+01:00
Filter out reconciled lines from debit/credit/secondary amount of account 
grouped line

It is needed to calculate the payable/receivable balance of grouped lines when
it is partially reconciled.

Closes #13918
(grafted from 58ca406deef42eabe0b9794db5a8c082a1097bcc)
- - - - -
c7e3cfa0 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)
- - - - -
fdbe9a53 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)
- - - - -


20 changed files:

- modules/account_move_line_grouping/account.py
- 
modules/account_move_line_grouping/tests/scenario_account_move_line_grouping.rst
- modules/account_statement/statement.py
- modules/purchase/purchase.py
- modules/purchase_secondary_unit/purchase.py
- modules/sale/sale.py
- modules/sale_secondary_unit/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
- trytond/trytond/tests/test_model_match.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e49a1c33ce16cf737c8251ad68a9d441bc192d27...fdbe9a530d8c32934649b4cecfdefbd89dcecdd8

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

Reply via email to