Commit Graph

7 Commits

Author SHA1 Message Date
Albert Cervera i Areny 6b970cb1e8 Simplify the babi_multiprocess.diff by capturing exceptions when obtaining babi
models directy from the pool.

Capturing only on RPC requests was not enough because an RPC request to read
keywords, or attachments, for example, could lead to those models to try to
access the model which was not yet added to the pool.

That happened with keywords and attachments which have a reference field but
also trying to access the chart wizard if the server was reloaded while the
user had the tree view already loaded. Most probably other places suffered from
the same problem.
2019-08-16 13:29:23 +02:00
Albert Cervera i Areny 6467c54542 In babi_multiprocess.diff, avoid registration of the model to prevent database
concurrency errors.
2019-08-16 12:21:23 +02:00
Albert Cervera i Areny 22e099a984 In babi_multiprocess.diff, add another patch to prevent crash when reference
fields check that the user has access rights to all models the field can point
to.

ir.attachment's resource field, for example, can refer to any model in Tryton
but babi's models may not be registered so we prevent checking permissions on
babi_execution_* models.
2019-05-22 00:35:36 +02:00
?ngel ?lvarez 5fabd22b03 update patches to default 2019-01-22 10:23:00 +01:00
Raimon Esteve 6e286c100f Remove patches from default branch
Force to change branch before to apply patches
2016-05-30 17:10:04 +02:00
Sergi Almacellas Abellana c492164290 Update patches to new version 2016-04-07 14:39:44 +02:00
Sergi Almacellas Abellana cafd09a6ab Add babi multiprocess patch 2015-07-20 10:22:19 +02:00