Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
faircoop
FairCoopTech
FairCoopSites
invoices.freedoomcop.eu
Commits
8e3784ec
Commit
8e3784ec
authored
Nov 08, 2017
by
santi
Browse files
Cleaning the partner form
parent
cf0f297d
Changes
1
Hide whitespace changes
Inline
Side-by-side
partner_custom/views/partner_view.xml
View file @
8e3784ec
...
...
@@ -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>
...
...
santi
@santi
mentioned in issue
#8 (closed)
·
Nov 08, 2017
mentioned in issue
#8 (closed)
mentioned in issue #8
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment