Browse Source

[MIG] emc_document : migration to 12.0

pull/40/head
Elouan Le Bars 5 years ago
parent
commit
4f3fe9dc0e
  1. 2
      easy_my_coop_document/__manifest__.py
  2. 8
      easy_my_coop_document/views/easy_my_coop_document_views.xml

2
easy_my_coop_document/__manifest__.py

@ -16,7 +16,7 @@
'author': 'Rémy Taymans', 'author': 'Rémy Taymans',
'license': 'AGPL-3', 'license': 'AGPL-3',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'website': "https://github.com/coopiteasy/vertical-cooperative", 'website': "https://github.com/coopiteasy/vertical-cooperative",
'category': 'Cooperative Management', 'category': 'Cooperative Management',

8
easy_my_coop_document/views/easy_my_coop_document_views.xml

@ -69,9 +69,9 @@
<search> <search>
<field name="name"/> <field name="name"/>
<field name="category"/> <field name="category"/>
<filter string="Public" domain="[('public', '=', True)]"/>
<filter string="Published" domain="[('published', '=', True)]"/>
<filter string="Category" context="{'group_by': 'category'}"/>
<filter name="public" string="Public" domain="[('public', '=', True)]"/>
<filter name="published" string="Published" domain="[('published', '=', True)]"/>
<filter name="category" string="Category" context="{'group_by': 'category'}"/>
</search> </search>
</field> </field>
</record> </record>
@ -116,7 +116,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<search> <search>
<field name="name"/> <field name="name"/>
<filter string="Parent Category"
<filter name="parent_category" string="Parent Category"
context="{'group_by': 'parent_id'}"/> context="{'group_by': 'parent_id'}"/>
</search> </search>
</field> </field>

Loading…
Cancel
Save