sebalix
d245f23c98
[FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs
2020-03-24 08:28:15 +01:00
sebalix
8624d29360
[FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension
2020-03-24 08:28:15 +01:00
sebalix
755aadcb8a
[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
2020-03-24 08:28:15 +01:00
Alexandre Fayolle
9c7271d81e
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.
2020-03-24 08:28:15 +01:00
Holger Brunn
90882ef330
[ADD] migration script
2020-03-24 08:28:15 +01:00
sebalix
45daa1dd01
[FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources
2020-03-24 08:28:15 +01:00
sebalix
f574e6cd33
[IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation
2020-03-24 08:28:15 +01:00
sebalix
cc076280f5
[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)
2020-03-24 08:28:15 +01:00
sebalix
840ef1a1d7
[IMP] Module 'auditlog' - Added a second test using cached data generated during the first test
2020-03-24 08:28:15 +01:00
sebalix
cdac4b7f4a
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields
2020-03-24 08:28:15 +01:00
sebalix
f5dbcb1333
[IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration)
2020-03-24 08:28:15 +01:00
sebalix
47a46623bf
[IMP] Module 'auditlog' - Useless lines of code removed
2020-03-24 08:28:15 +01:00
sebalix
656d66d930
[IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation)
2020-03-24 08:28:15 +01:00
sebalix
2d33c2c392
[FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py
2020-03-24 08:28:15 +01:00
Holger Brunn
b7dfd57fb2
[IMP] use a model for test that is not influenced by the mail module
2020-03-24 08:28:15 +01:00
sebalix
505214a6d9
[FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used
2020-03-24 08:28:15 +01:00
Holger Brunn
0598eabb8f
[ADD] tests
2020-03-24 08:28:15 +01:00
Holger Brunn
5cd341313f
[FIX] cope with no additional log values
2020-03-24 08:28:15 +01:00
Holger Brunn
3c6b0805be
[ADD] pass old_values to create_log when deleting a record
2020-03-24 08:28:15 +01:00
Holger Brunn
3e7c364579
[FIX] don't reset caches in register_hook
2020-03-24 08:28:15 +01:00
Holger Brunn
7ef9b3d5fa
[IMP] don't make a temporary copy of dict keys
2020-03-24 08:28:15 +01:00
Holger Brunn
387b51672b
[IMP] cache model and field ids
2020-03-24 08:28:15 +01:00
Holger Brunn
1d6f5a30f4
[ADD] allow overriding modules to pass additional log values
2020-03-24 08:28:15 +01:00
Holger Brunn
bd01a8a0ce
[IMP] use new import of _, SUPERUSER_ID
2020-03-24 08:28:15 +01:00
Holger Brunn
5f16c2b102
[ADD] change xmlids of legacy rules to point to auditlog.rule
2020-03-24 08:28:15 +01:00
sebalix
4545a46efe
[IMP] Module 'auditlog' - Contributors updated in README.rst + AUTHORS.txt file removed
2020-03-24 08:28:15 +01:00
Holger Brunn
ededeacb01
[FIX] also migrate id sequences
2020-03-24 08:28:15 +01:00
Holger Brunn
d826d77812
[ADD] init hook to migrate from audittrail
2020-03-24 08:28:15 +01:00
Holger Brunn
bf92d38bdd
[IMP] ignore rules for nonexisting objects
2020-03-24 08:28:15 +01:00
sebalix
699e844680
[FIX] Module 'auditlog' - 'time' module imported but unused
2020-03-24 08:28:15 +01:00
sebalix
e1d685fbd7
[IMP] Module 'auditlog' - README.rst updated (based on the OCA template)
2020-03-24 08:28:15 +01:00
sebalix
9d3f7ecc7f
[IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead)
2020-03-24 08:28:15 +01:00
sebalix
bb02e60aff
[IMP] Module 'auditlog' - Add 'name' attributes on some filters and other minor fixes
2020-03-24 08:28:15 +01:00
sebalix
891505ef81
[IMP] Module 'auditlog' - Clean up vim lines
2020-03-24 08:28:15 +01:00
sebalix
38afe342d9
[IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier
2020-03-24 08:28:15 +01:00
sebalix
e8acd32f9b
[ADD] Module 'auditlog' - 'auditlog.pot' file added
2020-03-24 08:28:15 +01:00
sebalix
69deb0adc0
[FIX] Module 'auditlog' - Put the module description in a README.rst file
2020-03-24 08:28:15 +01:00
sebalix
51e32b72d6
[FIX] Module 'auditlog' - Fix some flake8 errors
2020-03-24 08:28:15 +01:00
sebalix
19762b1a6d
[ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module
2020-03-24 08:28:15 +01:00
OCA-git-bot
e323a57b7c
pre-commit update
2020-03-14 12:24:57 +01:00
Jesús Alan Ramos Rodríguez
b247217324
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 100.0% (10 of 10 strings)
Translation: server-tools-13.0/server-tools-13.0-company_country
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-company_country/es_MX/
2020-02-15 15:13:44 +00:00
Jesús Alan Ramos Rodríguez
e6500adeee
Added translation using Weblate (Spanish (Mexico))
2020-02-15 12:12:30 +00:00
OCA Bot
a99ba67a13
[UPD] .travis.yml: Use verbose colored pre-commit [skip ci]
2020-01-31 18:52:21 +01:00
OCA-git-bot
30a83621ee
[ADD] setup.py
2020-01-29 14:39:06 +00:00
OCA-git-bot
73a14000f8
[ADD] icon.png
2020-01-29 14:39:06 +00:00
OCA-git-bot
4af0af1d63
[UPD] README.rst
2020-01-29 14:39:05 +00:00
oca-travis
7f61e98240
[UPD] Update base_m2m_custom_field.pot
2020-01-29 14:34:15 +00:00
OCA-git-bot
e9ca8b49ca
Merge PR #1751 into 13.0
...
Signed-off-by simahawk
2020-01-29 14:27:00 +00:00
Akim Juillerat
4d3af5a601
[MIG] base_m2m_custom_field: Migration to 13.0
2020-01-08 16:29:29 +01:00
Akim Juillerat
981adfdf7e
[IMP] base_m2m_custom_field: black, isort
2020-01-08 16:26:27 +01:00