Commit 8e3784ec authored by santi's avatar santi
Browse files

Cleaning the partner form

parent cf0f297d
......@@ -7,25 +7,30 @@
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='website']" position="after">
<field name="vat"/>
<field name="lang"/>
<field name="betabank_id" groups="account.group_account_user" />
</xpath>
<xpath expr="//field[@name='user_id']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
<xpath expr="//field[@name='ref']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
<xpath expr="//group/field[@name='date']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
<xpath expr="//group/field[@name='customer']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
<xpath expr="//group/field[@name='supplier']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
<xpath expr="//field[@name='active']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
<xpath expr="//page[@name='sales_purchases']" position="attributes">
<attribute name="groups">account.group_account_user</attribute>
</xpath>
</field>
</record>
......@@ -35,7 +40,7 @@
<field name="inherit_id" ref="account.view_partner_property_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='accounting']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
</field>
</record>
......@@ -45,7 +50,7 @@
<field name="inherit_id" ref="mail.view_emails_partner_info_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='notify_email']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
</field>
</record>
......@@ -55,7 +60,7 @@
<field name="inherit_id" ref="email_template.res_partner_opt_out_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='opt_out']" position="attributes">
<attribute name="groups">"account.group_account_user"</attribute>
<attribute name="groups">account.group_account_user</attribute>
</xpath>
</field>
</record>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment