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


Commits:
9d381370 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)
- - - - -
17a61692 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)
- - - - -
1eddbdec 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)
- - - - -
b1fa7050 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)
- - - - -
e97c14c7 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)
- - - - -
327fdbf9 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)
- - - - -
c9426029 by Cédric Krier at 2025-03-10T12:54:56+01:00
Use .input-icon for date/time input button in Dict widget

The hidden input is not correctly aligned with the button of the
.input-group-btn.

Closes #13913
(grafted from b688e45559dedc76b50894ebf8890a1539707c58)
- - - - -
2854a0d3 by Cédric Krier at 2025-03-10T13:00:29+01:00
Set grid template columns to 100% of dict container on XS screen

On XS screen, the dict container has only one column so it must take 100% of
the width instead of fit content of 50%.

Closes #13914
(grafted from 3620116e6b33cce717bcd809d93255ab69f9e5e4)
- - - - -
904ea9a4 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)
- - - - -
8cb43ebf 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)
- - - - -
f78f4b57 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)
- - - - -
ff031dd5 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)
- - - - -


19 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_secondary_unit/purchase.py
- modules/sale_secondary_unit/sale.py
- sao/src/sao.less
- 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/35fc6e3d271b4eeb7ef123f58085836fdab77228...ff031dd5e6f3429e1cb6e6fcaa2067035acef57c

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

Reply via email to