Browse Source

Merge pull request #110 from coopiteasy/12.0-fix-xml-domains

[FIX] emc: fix broken xml domains
pull/113/head
Robin Keunen 4 years ago
committed by GitHub
parent
commit
27ef5ddc60
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      easy_my_coop/views/account_invoice_view.xml
  2. 12
      easy_my_coop/views/res_partner_view.xml

25
easy_my_coop/views/account_invoice_view.xml

@ -16,12 +16,8 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> <field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field>
<field eval="False" name="view_id"/> <field eval="False" name="view_id"/>
<field name="domain">[('type','in',('out_invoice',
'out_refund')),('release_capital_request','=',True)]
</field>
<field name="context">{'default_type':'out_invoice',
'type':'out_invoice', 'journal_type': 'sale'}
</field>
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)]</field>
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
<field name="search_view_id" ref="account.view_account_invoice_filter"/> <field name="search_view_id" ref="account.view_account_invoice_filter"/>
<field name="help" type="html"> <field name="help" type="html">
<p class="o_view_nocontent_smiling_face"> <p class="o_view_nocontent_smiling_face">
@ -54,12 +50,8 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> <field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field>
<field eval="False" name="view_id"/> <field eval="False" name="view_id"/>
<field name="domain">[('type','in',('out_invoice',
'out_refund')),('release_capital_request','=',False)]
</field>
<field name="context">{'default_type':'out_invoice',
'type':'out_invoice', 'journal_type': 'sale'}
</field>
<field name="domain">[('type','in',('out_invoice','out_refund')),('release_capital_request','=',False)]</field>
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
<field name="search_view_id" ref="account.view_account_invoice_filter"/> <field name="search_view_id" ref="account.view_account_invoice_filter"/>
<field name="help" type="html"> <field name="help" type="html">
<p class="o_view_nocontent_smiling_face"> <p class="o_view_nocontent_smiling_face">
@ -79,13 +71,8 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> <field name="view_mode">tree,form,kanban,calendar,graph,pivot</field>
<field name="view_id" ref="account.invoice_tree"/> <field name="view_id" ref="account.invoice_tree"/>
<field name="domain">[('type','in', ['out_invoice', 'out_refund']),
('state', 'not in', ['draft',
'cancel']),('release_capital_request','=',False)]
</field>
<field name="context">{'default_type':'out_invoice',
'type':'out_invoice', 'journal_type': 'sale'}
</field>
<field name="domain">[('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel']), ('release_capital_request','=',False)]</field>
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
<field name="search_view_id" ref="account.view_account_invoice_filter"/> <field name="search_view_id" ref="account.view_account_invoice_filter"/>
</record> </record>
</odoo> </odoo>

12
easy_my_coop/views/res_partner_view.xml

@ -144,12 +144,8 @@
<field name="res_model">res.partner</field> <field name="res_model">res.partner</field>
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field> <field name="view_mode">kanban,tree,form</field>
<field name="domain">['|', ('cooperator','=',True), '|',
('member','=',True),('old_member','=', True)]
</field>
<field name="context">{'default_cooperator':1,
'search_default_cooperators':1}
</field>
<field name="domain">['|', ('cooperator','=',True), '|', ('member','=',True),('old_member','=', True)]</field>
<field name="context">{'default_cooperator':1, 'search_default_cooperators':1}</field>
<field name="help" type="html"> <field name="help" type="html">
<p class="oe_view_nocontent_create"> <p class="oe_view_nocontent_create">
Click to add a contact in your address book. Click to add a contact in your address book.
@ -195,9 +191,7 @@
<field name="res_model">res.partner</field> <field name="res_model">res.partner</field>
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field> <field name="view_mode">kanban,tree,form</field>
<field name="domain">
[('cooperator','=',True),('representative','=',True)]
</field>
<field name="domain">[('cooperator','=',True),('representative','=',True)]</field>
<field name="filter" eval="True"/> <field name="filter" eval="True"/>
<field name="help" type="html"> <field name="help" type="html">
<p class="oe_view_nocontent_create"> <p class="oe_view_nocontent_create">

Loading…
Cancel
Save