Commit Graph

1483 Commits (37a894df27e77d766b9df81a587a7a8f11fdf80d)

Author SHA1 Message Date
OCA-git-bot 37a894df27 [UPD] README.rst 2023-07-28 17:06:11 +05:30
oca-ci 8cb863f78e [UPD] Update base_translation_field_label.pot 2023-07-28 17:06:11 +05:30
GuillemCForgeFlow a403556d53 [ADD]base_translation_field_label
Replace non human readable field description for the field label.
2023-07-28 17:06:11 +05:30
OCA-git-bot 8bfea32fee [ADD] setup.py 2023-07-17 12:38:28 +00:00
OCA-git-bot 503a75f2a8 [UPD] README.rst 2023-07-17 12:38:27 +00:00
OCA-git-bot b9480fd2f1 [UPD] addons table in README.md 2023-07-17 12:38:22 +00:00
oca-ci a84e9057e7 [UPD] Update attachment_unindex_content.pot 2023-07-17 12:29:02 +00:00
OCA-git-bot 1040bf6cb3 Merge PR #2679 into 15.0
Signed-off-by gurneyalex
2023-07-17 12:20:31 +00:00
Sébastien Alix 17a9ea368d [MIG] attachment_unindex_content: Migration to 15.0 2023-07-17 14:02:42 +02:00
Sébastien Alix 3fe1dccb7c [IMP] attachment_unindex_content: black, isort, prettier 2023-07-17 13:58:00 +02:00
OCA-git-bot 15e23fefd4 attachment_unindex_content 14.0.1.0.1 2023-07-17 13:57:11 +02:00
OCA-git-bot b906bb7166 [UPD] README.rst 2023-07-17 13:57:11 +02:00
Luis González 209257bdf5 [FIX] attachment_unindex_content: unsupported param on _index method
Odoo introduced a new param `checksum` to the method `_index` on the
attachment model [1]. Since that param is not supported on this model,
the following error is now being raised:

    TypeError: _index() got an unexpected keyword argument 'checksum'

[1] https://github.com/odoo/odoo/commit/3d59cc84
2023-07-17 13:57:11 +02:00
Ignacio Buioli d6f8b28d55 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (4 of 4 strings)

Translation: server-tools-14.0/server-tools-14.0-attachment_unindex_content
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-attachment_unindex_content/es_AR/
2023-07-17 13:57:11 +02:00
Ignacio Buioli 6fa446a7a3 Added translation using Weblate (Spanish (Argentina)) 2023-07-17 13:57:11 +02:00
Dept. Técnico 21e85d4546 Added translation using Weblate (Catalan) 2023-07-17 13:57:11 +02:00
OCA-git-bot 1acaa8d36a [UPD] README.rst 2023-07-17 13:57:11 +02:00
oca-travis b0ff27e8de [UPD] Update attachment_unindex_content.pot 2023-07-17 13:57:11 +02:00
Randall Castro b36ae72a8d [MIG] attachment_unindex_content: Migration to 14.0 2023-07-17 13:57:11 +02:00
OCA-git-bot fc246385dc [UPD] README.rst 2023-07-17 13:57:11 +02:00
oca-travis d61764e5a6 [UPD] Update attachment_unindex_content.pot 2023-07-17 13:57:11 +02:00
Randall Castro 688ed0cce7 [MIG] attachment_unindex_content: Migration to 13.0 2023-07-17 13:57:11 +02:00
Randall Castro f7d47fc13c [IMP] attachment_unindex_content: black, isort, prettier 2023-07-17 13:57:11 +02:00
OCA-git-bot ad1351d20e [ADD] icon.png 2023-07-17 13:57:11 +02:00
oca-travis c2f73e6353 [UPD] Update attachment_unindex_content.pot 2023-07-17 13:57:11 +02:00
Erick Birbe 861fd3cdd4 [ADD] attachment_unindex_content: Module to disable file indexation
This module is intended to disable the indexation of data on the
ir.attachment model.

Attachment model has a field called 'index_content' where the content
of the attachment is read and stored directly in the database. This field is
useful in order to search content of a file. But most of cases it is not used,
so, you can install this module in order to:

- **Avoid Duplicating Data:** Because indexation extracts text content
from files and put it on the database in order it could be searched, but
this implies you have the file data in your `filestore` directory, and
also part (or sometimes all) of that data in your database too.
- **Improve Performance:** Since not all indexed files are plain text, they
require extra process to read them.

Maybe you could try to uninstall modules like `document` in order to
disable its indexation features, but you could face the uninstallation of other
modules that could be useful for you (e.g, `hr_recruitment` depends on that).

But even if you don't have `document` installed, you'd still have
plain text content indexation by default.

Using this module you will not require to uninstall any module to
disable the attachment content indexation, because we directly disable it at
`ir.attachment` base.
2023-07-17 13:57:11 +02:00
OCA-git-bot cc1c44a658 [UPD] addons table in README.md 2023-07-07 19:20:15 +00:00
OCA-git-bot 456f64cf10 base_changeset 15.0.1.0.1 2023-07-07 19:20:10 +00:00
OCA-git-bot f467dd6a22 Merge PR #2669 into 15.0
Signed-off-by pedrobaeza
2023-07-07 19:07:54 +00:00
Stefan Rijnhart e01ce3d4c0 [FIX] base_changeset: permission error in Pending Changes widget. 2023-07-03 13:24:17 +02:00
Mark Schuit 292da0f91e [FIX] base_changeset: permission errors on models and fields
Fixes

```
Traceback (most recent call last):
  File "/home/odoo/15.0/parts/server-tools/base_changeset/tests/test_changeset_flow.py", line 63, in test_new_changeset
self.partner.write({"name": "Y", "street": "street Y", "street2": "street2 Y"})
  File "/home/odoo/15.0/parts/odoo/odoo/addons/base/models/res_partner.py", line 603, in write
result = result and super(Partner, self).write(vals)
  File "/home/odoo/15.0/parts/server-tools/base_changeset/models/base.py", line 97, in write
if self._changeset_disabled():
  File "/home/odoo/15.0/parts/server-tools/base_changeset/models/base.py", line 111, in _changeset_disabled
if self._name not in self.models_to_track_changeset():
  File "<decorator-gen-123>", line 2, in models_to_track_changeset
  File "/home/odoo/15.0/parts/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
  File "/home/odoo/15.0/parts/server-tools/base_changeset/models/base.py", line 71, in models_to_track_changeset
models = self.env["changeset.field.rule"].search([]).mapped("model_id.model")
  File "/home/odoo/15.0/parts/odoo/odoo/models.py", line 5464, in mapped
recs = recs._fields[name].mapped(recs)
  File "/home/odoo/15.0/parts/odoo/odoo/fields.py", line 1180, in mapped
self.__get__(first(remaining), type(remaining))
  File "/home/odoo/15.0/parts/odoo/odoo/fields.py", line 1089, in __get__
record._fetch_field(self)
  File "/home/odoo/15.0/parts/odoo/odoo/models.py", line 3276, in _fetch_field
self._read(fnames)
  File "/home/odoo/15.0/parts/odoo/odoo/models.py", line 3290, in _read
self.check_access_rights('read')
  File "/home/odoo/15.0/parts/odoo/odoo/models.py", line 3547, in check_access_rights
return self.env['ir.model.access'].check(self._name, operation, raise_exception)
  File "<decorator-gen-33>", line 2, in check
  File "/home/odoo/15.0/parts/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
  File "/home/odoo/15.0/parts/odoo/odoo/addons/base/models/ir_model.py", line 1820, in check
raise AccessError(msg)
odoo.exceptions.AccessError: You are not allowed to access 'Models' (ir.model) records.

This operation is allowed for the following groups:
- Administration/Access Rights
- Changeset Validations

Contact your administrator to request access if necessary.
```
2023-07-03 13:21:01 +02:00
OCA-git-bot 182257bf86 [ADD] setup.py 2023-06-26 09:46:09 +00:00
OCA-git-bot d02ba57f89 [UPD] README.rst 2023-06-26 09:46:09 +00:00
OCA-git-bot 354961163a [UPD] addons table in README.md 2023-06-26 09:46:04 +00:00
oca-ci e009037876 [UPD] Update base_model_restrict_update.pot 2023-06-26 09:36:26 +00:00
OCA-git-bot 6572056bba Merge PR #2620 into 15.0
Signed-off-by StefanRijnhart
2023-06-26 09:28:25 +00:00
Yoshi Tashiro e5f4163890 [FIX] base_model_restrict_update: button presentation
Before this commit, button presentation of 'Grant Update Permit' and 'Readonly' were
broken in the user form with the deprecation of boolean_button widget.

In this commit, we switch to use boolean_toggle for these buttons, with some other style
adjustments on the buttons.
2023-06-24 15:17:41 +07:00
Saran440 1ad4cf1f64 [MIG] base_model_restrict_update: Migration to 15.0 2023-06-24 15:17:41 +07:00
Saran440 5b0d8539ba [IMP] base_model_restrict_update: black, isort, prettier 2023-06-24 15:17:41 +07:00
Ignacio Buioli d28ae7ff89 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (14 of 14 strings)

Translation: server-tools-14.0/server-tools-14.0-base_model_restrict_update
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_model_restrict_update/es_AR/
2023-06-24 15:17:41 +07:00
Ignacio Buioli c0307fd566 Added translation using Weblate (Spanish (Argentina)) 2023-06-24 15:17:41 +07:00
oca-git-bot 65e2a4bf3c [IMP] update dotfiles 2023-06-24 15:17:41 +07:00
OCA-git-bot 4d734f55fb [UPD] README.rst 2023-06-24 15:17:41 +07:00
oca-travis ebcec349eb [UPD] Update base_model_restrict_update.pot 2023-06-24 15:17:41 +07:00
Kitti U caf810e0ee [ENH] Add option 'Readonly User' to all models 2023-06-24 15:17:41 +07:00
Kitti U b70360140d [14.0][MIG] base_model_restrict_update 2023-06-24 15:17:41 +07:00
Kitti U 0fe58b9967 [IMP] base_model_restrict_update: black, isort, prettier 2023-06-24 15:17:41 +07:00
OCA-git-bot 4e4339e456 [ADD] icon.png 2023-06-24 15:17:41 +07:00
oca-travis 99fd2b694e [UPD] Update base_model_restrict_update.pot 2023-06-24 15:17:41 +07:00
tslai 89ec1035fe [12.0][ADD] base_model_restrict_update 2023-06-24 15:17:41 +07:00