sebalix
0fddc605f6
[FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs
2022-11-18 13:12:57 +01:00
sebalix
b0c5e2e2cf
[FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension
2022-11-18 13:12:57 +01:00
sebalix
1010b0ac1c
[IMP] Module 'auditlog' - Performing logs on 'read' operations + Some bugfixes to log inherited fields and dummy fields such as 'in_group_X' in 'res.users' model + Unit tests updated
2022-11-18 13:12:57 +01:00
Alexandre Fayolle
de185d97ed
Add OCA as author of OCA addons
...
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2022-11-18 13:12:57 +01:00
Holger Brunn
48e9bd2b1f
[ADD] migration script
2022-11-18 13:12:57 +01:00
sebalix
0ac895c988
[FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources
2022-11-18 13:12:57 +01:00
sebalix
21ccb8ce85
[IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation
2022-11-18 13:12:57 +01:00
sebalix
6b92a949e8
[FIX] Module 'auditlog' - Data dictionaries of fields and models are put in the cache instead of recordsets (a recordset contains a reference on the database cursor which is closed after each RPC query)
2022-11-18 13:12:57 +01:00
sebalix
3df651cde7
[IMP] Module 'auditlog' - Added a second test using cached data generated during the first test
2022-11-18 13:12:57 +01:00
sebalix
c77e26f78d
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields
2022-11-18 13:12:57 +01:00
sebalix
7263ad39c4
[IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration)
2022-11-18 13:12:57 +01:00
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
Weblate
b0f6a9445b
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-16.0/server-tools-16.0-module_change_auto_install
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_change_auto_install/
2022-11-08 12:29:13 +00:00
OCA-git-bot
67fadeac94
[ADD] setup.py
2022-11-08 10:50:19 +00:00
OCA-git-bot
707cef80fc
[UPD] README.rst
2022-11-08 10:50:18 +00:00
OCA-git-bot
350c1706f2
[UPD] addons table in README.md
2022-11-08 10:50:17 +00:00
oca-ci
14f761fb70
[UPD] Update module_change_auto_install.pot
2022-11-08 10:47:23 +00:00
OCA-git-bot
bce68596b7
Merge PR #2424 into 16.0
...
Signed-off-by thomaspaulb
2022-11-08 10:45:34 +00:00
Sylvain LE GAL
85750dcfe2
[PORT] module_change_auto_install from 15.0 to 16.0
2022-11-08 09:53:58 +01:00
OCA-git-bot
bcc510863d
[ADD] setup.py
2022-10-25 10:01:50 +00:00
OCA-git-bot
a5f665a7b0
[UPD] README.rst
2022-10-25 10:01:49 +00:00
OCA-git-bot
578af5d6ce
[UPD] addons table in README.md
2022-10-25 10:01:48 +00:00
oca-ci
8aec84406a
[UPD] Update base_m2m_custom_field.pot
2022-10-25 09:59:09 +00:00