Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ addon | version | maintainers | summary
[jsonifier_stored](jsonifier_stored/) | 14.0.1.0.0 | <a href='https://github.com/simahawk'><img src='https://github.com/simahawk.png' width='32' height='32' style='border-radius:50%;' alt='simahawk'/></a> <a href='https://github.com/mmequignon'><img src='https://github.com/mmequignon.png' width='32' height='32' style='border-radius:50%;' alt='mmequignon'/></a> | Pre-compute and store JSON data on any model
[letsencrypt](letsencrypt/) | 14.0.1.0.2 | | Request SSL certificates from letsencrypt.org
[mail_cleanup](mail_cleanup/) | 14.0.1.0.0 | | Mark as read or delete mails after a set time
[model_read_only](model_read_only/) | 14.0.3.0.2 | <a href='https://github.com/ilyasProgrammer'><img src='https://github.com/ilyasProgrammer.png' width='32' height='32' style='border-radius:50%;' alt='ilyasProgrammer'/></a> | Model Read Only
[model_read_only](model_read_only/) | 14.0.3.0.3 | <a href='https://github.com/ilyasProgrammer'><img src='https://github.com/ilyasProgrammer.png' width='32' height='32' style='border-radius:50%;' alt='ilyasProgrammer'/></a> | Model Read Only
[module_analysis](module_analysis/) | 14.0.1.0.3 | | Add analysis tools regarding installed modules to know which installed modules comes from Odoo Core, OCA, or are custom modules
[module_auto_update](module_auto_update/) | 14.0.1.1.1 | | Automatically update Odoo modules
[module_change_auto_install](module_change_auto_install/) | 14.0.1.0.3 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | Customize auto installables modules by configuration
Expand Down
2 changes: 1 addition & 1 deletion model_read_only/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Model Read Only
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a411441cdfdbbac5b364a2ad9556869911adf5e4ac82e5cee7fbc6d046a66828
!! source digest: sha256:d9acf64761d69be17e2f27c9603b56fe359346a08ab39ebbb09a07062f36a3a2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion model_read_only/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "Model Read Only",
"category": "Tools",
"version": "14.0.3.0.2",
"version": "14.0.3.0.3",
"license": "AGPL-3",
"author": "Ilyas, ooops404, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/server-tools",
Expand Down
6 changes: 5 additions & 1 deletion model_read_only/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,14 @@ msgstr "Ultimo aggiornamento il"

#. module: model_read_only
#: model:ir.model.fields,field_description:model_read_only.field_model_readonly_restriction__model_id
#: model:ir.model.fields,field_description:model_read_only.field_model_readonly_restriction__model_name
msgid "Model"
msgstr "Modello"

#. module: model_read_only
#: model:ir.model.fields,field_description:model_read_only.field_model_readonly_restriction__model_name
msgid "Model Name"
msgstr ""

#. module: model_read_only
#: model:ir.model,name:model_read_only.model_model_readonly_restriction
msgid "Model Readonly Restriction"
Expand Down
6 changes: 5 additions & 1 deletion model_read_only/i18n/model_read_only.pot
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,14 @@ msgstr ""

#. module: model_read_only
#: model:ir.model.fields,field_description:model_read_only.field_model_readonly_restriction__model_id
#: model:ir.model.fields,field_description:model_read_only.field_model_readonly_restriction__model_name
msgid "Model"
msgstr ""

#. module: model_read_only
#: model:ir.model.fields,field_description:model_read_only.field_model_readonly_restriction__model_name
msgid "Model Name"
msgstr ""

#. module: model_read_only
#: model:ir.model,name:model_read_only.model_model_readonly_restriction
msgid "Model Readonly Restriction"
Expand Down
2 changes: 1 addition & 1 deletion model_read_only/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ModelReadonlyRestriction(models.Model):
_description = "Model Readonly Restriction"

model_id = fields.Many2one("ir.model")
model_name = fields.Char(related="model_id.model")
model_name = fields.Char(related="model_id.model", string="Model Name")
restriction_domain = fields.Char(
"Domain", help="If empty - restriction is applied always."
)
Expand Down
2 changes: 1 addition & 1 deletion model_read_only/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Model Read Only</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a411441cdfdbbac5b364a2ad9556869911adf5e4ac82e5cee7fbc6d046a66828
!! source digest: sha256:d9acf64761d69be17e2f27c9603b56fe359346a08ab39ebbb09a07062f36a3a2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-tools/tree/14.0/model_read_only"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-model_read_only"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Module disables modification operations (write, create, delete)
Expand Down
Loading