Luis González [Vauxoo]
8e0d78ea80
[FIX] company_country: Don't fail if account is already installed ( #1786 )
...
* [FIX] company_country: Don't fail if account is already installed
When `company_country` is installed, it performs the following:
- Look for the `COUNTRY` environment variable
- If not found, look for a `l10n_*` module that is about to be installed
- If not found, raise an exception
However, If the account module is installed, it shouldn't fail even if
the environment variable is not defined, because changing the
company's country will have no effect anyway, as the account hook was
already run and an `l10n` module was already been installed.
This commit fixes the above by skipping the process if the `account`
module is installed, and print an informative message to the log.
* Update __manifest__.py
Co-authored-by: Moises Lopez - https://www.vauxoo.com/ <moylop260@vauxoo.com>
2020-04-05 17:28:09 +00:00
OCA Transbot
dfddcba2bb
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-13.0/server-tools-13.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-auditlog/
2020-03-29 06:07:14 +00:00
OCA-git-bot
a083843210
[UPD] README.rst
2020-03-29 06:07:02 +00:00
OCA-git-bot
dc72e79ef1
[ADD] setup.py
2020-03-25 10:44:55 +00:00
OCA-git-bot
bb2bdb9280
[UPD] README.rst
2020-03-25 10:44:55 +00:00
oca-travis
7863d3ace0
[UPD] Update auditlog.pot
2020-03-25 10:32:20 +00:00
OCA-git-bot
9247510126
Merge PR #1793 into 13.0
...
Signed-off-by pedrobaeza
2020-03-25 10:21:35 +00:00
sebalix
090bd7d20c
[FIX] auditlog: add support for create multi
2020-03-24 09:01:25 +01:00
sebalix
0f990fcbab
[FIX] auditlog: log computed fields stored in db as expected
...
Fixing #1134 .
Odoo stores values of computed fields at the end of the transaction
only, as such performing a 'read()' to make a data snapshot on the record
created in the current transaction doesn't return the expected result
regarding these fields.
Also as a side-effect 'read()' alters the environment cache and break the
values on the record inducing issues in the whole user
transaction/workflow.
This fix replaces the use of 'read()' to do the data snapshot directly
from the cache of the record (computed values are already there).
2020-03-24 08:59:17 +01:00
Raf Ven
a72c87be77
[IMP] auditlog: black, isort, prettier
2020-03-24 08:39:11 +01:00
Eric Lembregts
b4d04b00bd
[MIG] auditlog: Migration to 13.0
2020-03-24 08:28:16 +01:00
黎伟杰
ee72fe9853
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (70 of 70 strings)
Translation: server-tools-12.0/server-tools-12.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auditlog/zh_CN/
2020-03-24 08:28:16 +01:00
OCA-git-bot
1f455b85a5
[UPD] README.rst
...
[UPD] Update auditlog.pot
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auditlog/
[UPD] README.rst
2020-03-24 08:28:16 +01:00
sebalix
84a6ccf53d
[MIG] auditlog: Migration to 12.0
2020-03-24 08:28:16 +01:00
Rodrigo Macedo
4cbbab5985
Translated using Weblate
...
Currently translated at 100,0% (70 of 70 strings)
Translation: server-tools-11.0/server-tools-11.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-auditlog/pt_BR/
2020-03-24 08:28:16 +01:00
oca-travis
1a3bd91433
[UPD] Update auditlog.pot
2020-03-24 08:28:16 +01:00
Stéphane Bidoul (ACSONE)
9824333e1b
remove obsolete .pot files [ci skip]
2020-03-24 08:28:16 +01:00
OCA Transbot
e45c8ab7f7
OCA Transbot updated translations from Transifex
2020-03-24 08:28:15 +01:00
rgarnau
b5fe05355d
[add] https
2020-03-24 08:28:15 +01:00
Enric Tobella
8c48775d90
[MIG] auditlog: Migration to 11.0
2020-03-24 08:28:15 +01:00
OCA Transbot
8badaa849b
OCA Transbot updated translations from Transifex
2020-03-24 08:28:15 +01:00
Oleg Bulkin
e425d98fe7
[FIX] auditlog: Duplicate logging
...
* Update _patch_methods and _revert_methods in auditlog.rule model to properly
track whether a method has already been patched for logging purposes. This
prevents duplicate logs from being produced in various cases (e.g. when a
logging rule is created as part of a module install)
2020-03-24 08:28:15 +01:00
Stefan Rijnhart
a30239bcbd
[FIX] Request id no longer exists after concurrency rollback
2020-03-24 08:28:15 +01:00
Frédéric Garbely
e1233985db
[MIG] auditlog: Migrated to 10.0
2020-03-24 08:28:15 +01:00
sebalix
47a9c8b6e2
auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' methods to the new API
2020-03-24 08:28:15 +01:00
sebalix
88f55eacff
auditlog - Lint
2020-03-24 08:28:15 +01:00
Holden Rehg
eacd6d1a10
auditlog: Remove pre_init_hook reference from openerp, no pre_init hook exists any more
2020-03-24 08:28:15 +01:00
Holden Rehg
b8105f7b01
auditlog: Remove migration from audittrail functionality, this is not required for version 9
2020-03-24 08:28:15 +01:00
Holden Rehg
9ea0bcb85c
auditlog module, Remove duplicate license key from openerp config
2020-03-24 08:28:15 +01:00
Holden Rehg
6cf2caae6f
Updated the __openerp__.xml to include the license and images fields
...
These were updated to follow OCA conventions.
- License set to AGPL-3
- Images set to empty array
2020-03-24 08:28:15 +01:00
Holden Rehg
3ced62ffd9
Migrate auditlog module from 8.0 to 9.0
...
- Update documentation to point to the new auditlog menu locations. These were changed because the 8.0 version was referencing menus that do not exist in 9.0
- Change version from 8.0.X.Y.Z to 9.0.1.0.0
- Make the module installable again
- Remove an unused parameter from pre-migration.py for versioning
- Fix typos and remove commented out blocks of code that were irrelevant
2020-03-24 08:28:15 +01:00
Holger Brunn
4a3a941acd
singleton error if we saved the current session two times ( #473 )
...
* [IMP] index the columns we'll be searching for for every request
* [FIX] singleton error if we saved the current session two times
2020-03-24 08:28:15 +01:00
Sébastien Alix
8b98a2c2aa
auditlog - Icon added + README updated (screenshots)
2020-03-24 08:28:15 +01:00
sebalix
57d65b9e15
auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions
2020-03-24 08:28:15 +01:00
sebalix
5d33ea5de5
auditlog - Bump version number
2020-03-24 08:28:15 +01:00
sebalix
6feebcbdf0
auditlog - Field 'type' renamed to 'log_type'
2020-03-24 08:28:15 +01:00
sebalix
bb6af84ebf
auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster)
2020-03-24 08:28:15 +01:00
Holger Brunn
bb2ce91a91
turn off prefetching when reding values
2020-03-24 08:28:15 +01:00
sebalix
cb43b87b01
Module 'auditlog' - Fix pylint check
2020-03-24 08:28:15 +01:00
sebalix
73aa32b810
Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models
2020-03-24 08:28:15 +01:00
sebalix
4789e5f97f
Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...)
2020-03-24 08:28:15 +01:00
sebalix
92e4e97466
Module 'auditlog' - Cleanup XML views (types removed)
2020-03-24 08:28:15 +01:00
sebalix
79adbaa9f2
Module 'auditlog' - Bump the version to 1.1.0
2020-03-24 08:28:15 +01:00
sebalix
55e8393a9f
Module 'auditlog' - Log HTTP user sessions and requests
2020-03-24 08:28:15 +01:00
Pedro M. Baeza
54a4858fd9
[MIG] Rename manifest files
2020-03-24 08:28:15 +01:00
Stéphane Bidoul (ACSONE)
54e2ee5e86
[FIX] remove en.po that was erroneously created by transbot
2020-03-24 08:28:15 +01:00
Pedro M. Baeza
2cf0aa5dac
[MIG] Make modules uninstallable
2020-03-24 08:28:15 +01:00
Stéphane Bidoul
f036748779
[UPD] prefix versions with 8.0
2020-03-24 08:28:15 +01:00
OCA Transbot
50196b6ece
OCA Transbot updated translations from Transifex
2020-03-24 08:28:15 +01:00
Holger Brunn
a9590256d2
[FIX] if someone else has overridden our patched,
...
method, don't do anything
2020-03-24 08:28:15 +01:00