Locking the entire table

Method ModelSQL.lock(records) take a lock on the records.
Is it possible to lock the entire table?

You must use Database.lock but indeed I guess ModelSQL.lock could be extended to lock the all table if no records is given (Allow lock all table with ModelSQL.lock (#10273) · Issues · Tryton / Tryton · GitLab).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.