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


Commits:
b28c0aad by Cédric Krier at 2024-10-24T15:45:40+02:00
Do not force to lock table at the transaction start when updating module
- - - - -
a7006f24 by Cédric Krier at 2024-10-24T15:06:00+02:00
Use ModelSQL.lock to lock table when validating SQL constraint

Since c8771e45b861 locking table must be performed at the start of the
transaction which is managed by the `Transaction.lock_table` method which is
used by `ModelSQL.lock` but not `Database.lock`.

Closes #13626
- - - - -


2 changed files:

- trytond/trytond/model/modelsql.py
- trytond/trytond/modules/__init__.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e5fd55d3e783988236505502614e4ae708cce785...a7006f240a64e843d63c6f4e4d60fd3da98ac35c

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


Reply via email to