Commit Graph

1559 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
sebalix a6d98814f5 [IMP] Module 'auditlog' - Useless lines of code removed 2022-11-18 13:12:57 +01:00
sebalix 083c6cdf91 [IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation) 2022-11-18 13:12:57 +01:00
sebalix f0a902a94e [FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py 2022-11-18 13:12:57 +01:00
Holger Brunn 1d11e40e33 [IMP] use a model for test that is not influenced by the mail module 2022-11-18 13:12:57 +01:00
sebalix 436c151f9a [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used 2022-11-18 13:12:57 +01:00
Holger Brunn 8b462746e1 [ADD] tests 2022-11-18 13:12:57 +01:00
Holger Brunn f1073f7ed1 [FIX] cope with no additional log values 2022-11-18 13:12:57 +01:00
Holger Brunn 9e8cd4aa36 [ADD] pass old_values to create_log when deleting a record 2022-11-18 13:12:57 +01:00
Holger Brunn 072533bb95 [FIX] don't reset caches in register_hook 2022-11-18 13:12:57 +01:00
Holger Brunn 3562d9f94e [IMP] don't make a temporary copy of dict keys 2022-11-18 13:12:57 +01:00
Holger Brunn 34111cf235 [IMP] cache model and field ids 2022-11-18 13:12:57 +01:00
Holger Brunn d57115fd40 [ADD] allow overriding modules to pass additional log values 2022-11-18 13:12:57 +01:00
Holger Brunn 57834ae3a7 [IMP] use new import of _, SUPERUSER_ID 2022-11-18 13:12:57 +01:00
Holger Brunn 7474a0e466 [ADD] change xmlids of legacy rules to point to auditlog.rule 2022-11-18 13:12:57 +01:00
sebalix a3e90805ca [IMP] Module 'auditlog' - Contributors updated in README.rst + AUTHORS.txt file removed 2022-11-18 13:12:57 +01:00
Holger Brunn da1d658cc3 [FIX] also migrate id sequences 2022-11-18 13:12:57 +01:00
Holger Brunn 760a947782 [ADD] init hook to migrate from audittrail 2022-11-18 13:12:57 +01:00
Holger Brunn cc83f8b54d [IMP] ignore rules for nonexisting objects 2022-11-18 13:12:57 +01:00
sebalix af0f5d1a61 [FIX] Module 'auditlog' - 'time' module imported but unused 2022-11-18 13:12:57 +01:00
sebalix 6c2f020fbc [IMP] Module 'auditlog' - README.rst updated (based on the OCA template) 2022-11-18 13:12:57 +01:00
sebalix ae87645d6b [IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead) 2022-11-18 13:12:57 +01:00
sebalix 7e5d2f0922 [IMP] Module 'auditlog' - Add 'name' attributes on some filters and other minor fixes 2022-11-18 13:12:57 +01:00
sebalix 54d052fc1d [IMP] Module 'auditlog' - Clean up vim lines 2022-11-18 13:12:57 +01:00
sebalix 886ddfe3a0 [IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier 2022-11-18 13:12:57 +01:00
sebalix 2d87b3a7fa [ADD] Module 'auditlog' - 'auditlog.pot' file added 2022-11-18 13:12:57 +01:00
sebalix 35c136b2f6 [FIX] Module 'auditlog' - Put the module description in a README.rst file 2022-11-18 13:12:57 +01:00
sebalix 0ac666a32d [FIX] Module 'auditlog' - Fix some flake8 errors 2022-11-18 13:12:57 +01:00
sebalix 65517c4bcf [ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module 2022-11-18 13:12:57 +01:00
matiasperalta1 5fdc9a113f [IMP] base_exception: pre-commit stuff 2022-11-16 16:52:37 -03:00
OCA-git-bot 20afc45747 base_exception 15.0.1.0.2 2022-11-16 16:52:00 -03:00
CarlosRoca13 9e5173a529 [FIX] base_exception: Fix tests and add odoo_test_helper as dependency 2022-11-16 16:52:00 -03:00
OCA-git-bot 067fda9bd3 base_exception 15.0.1.0.1 2022-11-16 16:52:00 -03:00
Miquel Raïch 34fe6b3308 [FIX] base_exception: add _popup_exceptions deleted in migration
This method is used by other modules that depend on 'base_exception'.
2022-11-16 16:52:00 -03:00
OCA-git-bot 063b20a2c9 [UPD] README.rst 2022-11-16 16:52:00 -03:00
oca-ci 4d2102c753 [UPD] Update base_exception.pot 2022-11-16 16:52:00 -03:00
Cesar Andres Sanchez 9810c79870 [MIG] base_exception: Migration to 15.0 2022-11-16 16:52:00 -03:00
Ivàn Todorovich 15f1c01227 [IMP] base_exception: log traceback when code exception is raised 2022-11-16 16:52:00 -03:00
Sébastien BEAU e08dc1d578 [REF] Refactor test
use odoo-test-helper
split test so one test do one thing
2022-11-16 16:52:00 -03:00
Sébastien BEAU 0992d09738 [IMP] add method exception 2022-11-16 16:52:00 -03:00
Hai Lang bebea98896 [IMP] base_exception: test blocking exceptions 2022-11-16 16:52:00 -03:00
Thierry Ducrest 82e0042208 [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-11-16 16:52:00 -03:00
Jordi Ballester d9281728b6 [13.0][fix][base_exception] search only active exception rules 2022-11-16 16:52:00 -03:00
Ivàn Todorovich db98fc0c29 [IMP] base_exception: Allow to skip exception checks through context 2022-11-16 16:52:00 -03:00
oca-travis 18edaa2cda [UPD] Update base_exception.pot 2022-11-16 16:52:00 -03:00
Kitti U 2cdcc177d4 [14.0][FIX] base_exception, error if rule's description is null 2022-11-16 16:52:00 -03:00
mreficent 141f2ef027 [FIX] base_exception: import correctly osv.expression 2022-11-16 16:52:00 -03:00
Sébastien BEAU 13bf702cfd [FIX] fix access right 2022-11-16 16:52:00 -03:00
OCA-git-bot e91d576e5a [UPD] README.rst 2022-11-16 16:52:00 -03:00
Kevin Khao 9c114a9451 [14.0][MIG] base_exception: Migration to 14.0 2022-11-16 16:52:00 -03:00
Kevin Khao 240cb3f301 [IMP] base_exception: black, isort, prettify 2022-11-16 16:52:00 -03:00