Commit Graph

27 Commits (30bd2edfce1a0fea954e947aed0de660ef05a98a)

Author SHA1 Message Date
Miquel Raïch 2c47f6b754 [FIX] base_exception: add _popup_exceptions deleted in migration
This method is used by other modules that depend on 'base_exception'.
2022-07-15 13:39:33 +02:00
Cesar Andres Sanchez f94ac5bbb1 [MIG] base_exception: Migration to 15.0 2022-07-06 13:31:10 +02:00
Ivàn Todorovich 13c1b0df84 [IMP] base_exception: log traceback when code exception is raised 2022-07-06 13:31:10 +02:00
Sébastien BEAU ff3fb5e390 [REF] Refactor test
use odoo-test-helper
split test so one test do one thing
2022-07-06 13:31:10 +02:00
Sébastien BEAU a5975163c9 [IMP] add method exception 2022-07-06 13:31:10 +02:00
Hai Lang 89a070115a [IMP] base_exception: test blocking exceptions 2022-07-06 13:31:10 +02:00
Thierry Ducrest f44673441a [13.0][IMP] base_exception add blocking exceptions
By default exceptions can be ignored by the click of a button.
Users begin human they will just click that button what ever
the internal rules.

So this PR adds the option to set specific exceptions as blocking.

When exceptions are detected if one of them is blocking, the user
will not be able to ignore them.
2022-07-06 13:31:09 +02:00
Jordi Ballester d5b434ae64 [13.0][fix][base_exception] search only active exception rules 2022-07-06 13:31:09 +02:00
Ivàn Todorovich 226c0f01a8 [IMP] base_exception: Allow to skip exception checks through context 2022-07-06 13:31:09 +02:00
Kitti U 80f269db67 [14.0][FIX] base_exception, error if rule's description is null 2022-07-06 13:31:09 +02:00
mreficent 89733e96ca [FIX] base_exception: import correctly osv.expression 2022-07-06 13:31:09 +02:00
Sébastien BEAU a065065248 [FIX] fix access right 2022-07-06 13:31:09 +02:00
Kevin Khao 894779d7e3 [14.0][MIG] base_exception: Migration to 14.0 2022-07-06 13:31:09 +02:00
Kevin Khao 0ae25e3293 [IMP] base_exception: black, isort, prettify 2022-06-29 10:13:28 +02:00
Jared Kipe 0fb654831d [MIG] base_exception: Migration to 13.0 2022-06-29 10:13:28 +02:00
Jared Kipe e02654082e [IMP] base_exception: black, isort 2022-06-29 10:13:28 +02:00
Ivan Todorovich 459414062e [IMP] Add convenience action to ignore exceptions on record
[IMP] Computed exception descriptions field, to display better help messages

[IMP] Exceptions shouldn't be copied
2022-06-29 10:13:28 +02:00
Iván Todorovich 06b88ac713 [MIG] dict.iteritems() does not exist in Python3 2022-06-29 10:13:28 +02:00
Iván Todorovich 4c5860f06b FIX self[0] in _rule_group 2022-06-29 10:13:28 +02:00
Mourad 518eae1e54 [WIP] sale_exception_by_domain 2022-06-29 10:13:28 +02:00
Iván Todorovich 51a143ea8b [MIG] base_exception: Migration to 12.0 2022-06-29 10:13:28 +02:00
nicomacr 7909ef8175 [FIX] base_exception: send the active_model in the conxtext when call the _popup_exceptions mehtod 2022-06-29 10:13:28 +02:00
David Beal be9f53868b FIX remove old api parameters in base_exception 2022-06-29 10:13:28 +02:00
Mourad 186e560889 [FIX] temp model test access rule & fix OCA remarks 2022-06-29 10:13:28 +02:00
Mourad Elhadj Mimoune 4180a7dec8 [MIG] base_exception: Migration to 11.0 2022-06-29 10:13:28 +02:00
Laurent Mignon (ACSONE) 7fd529dc58 [FIX] base_exception: '_check_exception' is 'api.multi' since it's called by constraint methods
'detect_exception' can be called on an empty recordset.
2022-06-29 10:13:28 +02:00
Mourad Elhadj Mimoune 1929deb80f [ADD] split module sale_exception into base_exception 2022-06-29 10:13:28 +02:00