Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu.saison committed Jul 12, 2023
1 parent ecadb58 commit 9a30b74
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
6 changes: 6 additions & 0 deletions setup/shopinvader_cache_invalidation/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
6 changes: 6 additions & 0 deletions setup/shopinvader_cache_purge/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
8 changes: 2 additions & 6 deletions shopinvader_cache_purge/views/shopinvader_url_purge.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<field name="name">shopinvader.url.purge.tree.view</field>
<field name="model">shopinvader.url.purge</field>
<field name="arch" type="xml">
<tree >
<tree>
<field name="url" />
<field name="to_purge" />
<field name="purge_type_id" />
Expand All @@ -33,15 +33,11 @@
<field name="name">Purger</field>
<field name="model_id" ref="model_shopinvader_url_purge" />
<field name="binding_type">action</field>
<!-- <field name="binding_model_id" ref="model_shopinvader_url_purge" /> -->
<field name="state">code</field>
<field name="code">
records._purge_url()
</field>
<field
name="groups_id"
eval="[(4, ref('base.group_user'))]"
/>
<field name="groups_id" eval="[(4, ref('base.group_user'))]" />
</record>

<menuitem
Expand Down

0 comments on commit 9a30b74

Please sign in to comment.