Skip to content

Commit

Permalink
Merge pull request #9 from novacode-nl/13.0
Browse files Browse the repository at this point in the history
up
  • Loading branch information
niulin lnc authored Nov 27, 2020
2 parents 1638e56 + aeb7f73 commit 8c70b86
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions formio/models/formio_version_github_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

class VersionGitHubTag(models.Model):
_name = 'formio.version.github.tag'
_description = 'Formio Version GitHub Tag'
#_order = 'create_date desc, id asc'

# IMPORTANT NOTES
Expand Down
20 changes: 20 additions & 0 deletions formio/security/ir_model_access.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,26 @@ See LICENSE file for full copyright and licensing details. -->
<field name="perm_unlink" eval="1"/>
</record>

<record id="access_formio_version_github_checker_wizard_admin" model="ir.model.access">
<field name="name">formio.version.github.checker.wizard</field>
<field name="model_id" ref="formio.model_formio_version_github_checker_wizard"/>
<field name="group_id" ref="formio.group_formio_admin"/>
<field name="perm_read" eval="1"/>
<field name="perm_create" eval="1"/>
<field name="perm_write" eval="1"/>
<field name="perm_unlink" eval="1"/>
</record>

<record id="access_formio_version_github_tag_available_admin" model="ir.model.access">
<field name="name">formio.version.github.tag.available</field>
<field name="model_id" ref="formio.model_formio_version_github_tag_available"/>
<field name="group_id" ref="formio.group_formio_admin"/>
<field name="perm_read" eval="1"/>
<field name="perm_create" eval="1"/>
<field name="perm_write" eval="1"/>
<field name="perm_unlink" eval="1"/>
</record>

<!-- Formio Default asset CSS -->
<record id="access_formio_default_asset_css_admin" model="ir.model.access">
<field name="name">formio.default.asset.css: Admin</field>
Expand Down
1 change: 1 addition & 0 deletions formio/wizard/formio_version_github_checker_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def action_register_available_versions(self):

class VersionGitHubTagAvailable(models.TransientModel):
_name = 'formio.version.github.tag.available'
_description = 'Formio Version GitHub Tag Available'

name = fields.Char(required=True)
changelog_url = fields.Char(compute='_compute_fields', string='Changelog URL')
Expand Down

0 comments on commit 8c70b86

Please sign in to comment.