Alexandre Fayolle
00d92445fd
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.
2017-12-18 14:54:46 +01:00
Holger Brunn
5ac2a70ade
[ADD] migration script
2017-12-18 14:54:46 +01:00
sebalix
75675c4ce0
[FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources
2017-12-18 14:54:46 +01:00
sebalix
6839190070
[IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation
2017-12-18 14:54:46 +01:00
sebalix
29dd7b9ff1
[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)
2017-12-18 14:54:46 +01:00
sebalix
115b516c41
[IMP] Module 'auditlog' - Added a second test using cached data generated during the first test
2017-12-18 14:54:46 +01:00
sebalix
9514fdd422
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields
2017-12-18 14:54:46 +01:00
sebalix
9c1214ab8a
[IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration)
2017-12-18 14:54:46 +01:00
sebalix
439549b10d
[IMP] Module 'auditlog' - Useless lines of code removed
2017-12-18 14:54:46 +01:00
sebalix
33418e0e7f
[IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation)
2017-12-18 14:54:46 +01:00
sebalix
fa5fdcbbeb
[FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py
2017-12-18 14:54:46 +01:00
Holger Brunn
aa5c79a52f
[IMP] use a model for test that is not influenced by the mail module
2017-12-18 14:54:46 +01:00
sebalix
45afce118b
[FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used
2017-12-18 14:54:46 +01:00
Holger Brunn
697749f71b
[ADD] tests
2017-12-18 14:54:46 +01:00
Holger Brunn
1e2009b30d
[FIX] cope with no additional log values
2017-12-18 14:54:46 +01:00
Holger Brunn
a40708874e
[ADD] pass old_values to create_log when deleting a record
2017-12-18 14:54:46 +01:00
Holger Brunn
1a4424df28
[FIX] don't reset caches in register_hook
2017-12-18 14:54:46 +01:00
Holger Brunn
0a97c17436
[IMP] don't make a temporary copy of dict keys
2017-12-18 14:54:46 +01:00
Holger Brunn
b8aab57af6
[IMP] cache model and field ids
2017-12-18 14:54:46 +01:00
Holger Brunn
be43da3e39
[ADD] allow overriding modules to pass additional log values
2017-12-18 14:54:46 +01:00
Holger Brunn
b608b56d33
[IMP] use new import of _, SUPERUSER_ID
2017-12-18 14:54:46 +01:00
Holger Brunn
9bf6f3d139
[ADD] change xmlids of legacy rules to point to auditlog.rule
2017-12-18 14:54:46 +01:00
sebalix
dea9a1e316
[IMP] Module 'auditlog' - Contributors updated in README.rst + AUTHORS.txt file removed
2017-12-18 14:54:46 +01:00
Holger Brunn
3b366f4acb
[FIX] also migrate id sequences
2017-12-18 14:54:46 +01:00
Holger Brunn
02be4f6c4c
[ADD] init hook to migrate from audittrail
2017-12-18 14:54:46 +01:00
Holger Brunn
e9c20f7365
[IMP] ignore rules for nonexisting objects
2017-12-18 14:54:46 +01:00
sebalix
65ae55b1d3
[FIX] Module 'auditlog' - 'time' module imported but unused
2017-12-18 14:54:46 +01:00
sebalix
a04f8a23e0
[IMP] Module 'auditlog' - README.rst updated (based on the OCA template)
2017-12-18 14:54:46 +01:00
sebalix
b13f0e623a
[IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead)
2017-12-18 14:54:46 +01:00
sebalix
7294bf56a8
[IMP] Module 'auditlog' - Add 'name' attributes on some filters and other minor fixes
2017-12-18 14:54:46 +01:00
sebalix
3c4c9fc9f0
[IMP] Module 'auditlog' - Clean up vim lines
2017-12-18 14:54:46 +01:00
sebalix
369d541df1
[IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier
2017-12-18 14:54:46 +01:00
sebalix
f9d82ece8e
[ADD] Module 'auditlog' - 'auditlog.pot' file added
2017-12-18 14:54:46 +01:00
sebalix
990f61d135
[FIX] Module 'auditlog' - Put the module description in a README.rst file
2017-12-18 14:54:46 +01:00
sebalix
9994d7ae4f
[FIX] Module 'auditlog' - Fix some flake8 errors
2017-12-18 14:54:46 +01:00
sebalix
51caf7f89f
[ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module
2017-12-18 14:54:46 +01:00
Pedro M. Baeza
5fe49de5d6
[MIG] Add metafiles
...
[skip ci]
2017-12-18 14:54:46 +01:00
OCA Git Bot
e7d428254a
[ADD] setup.py
2017-12-12 06:47:12 +01:00
OCA Git Bot
f50fa93ac4
[UPD] addons table in README.md
2017-12-12 02:40:17 +01:00
Yannick Vaucher
4fc266461c
Add metafiles
2017-12-11 14:41:19 +01:00