Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Etic Partner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
ETIC Emballages
Etic Partner
Commits
7b061ae8
Commit
7b061ae8
authored
4 years ago
by
jordan
Browse files
Options
Downloads
Patches
Plain Diff
[fix] clean view
parent
f321ed41
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/res_partner.xml
+3
-5
3 additions, 5 deletions
views/res_partner.xml
with
3 additions
and
5 deletions
views/res_partner.xml
+
3
−
5
View file @
7b061ae8
...
...
@@ -14,9 +14,9 @@
<xpath
expr=
"//sheet"
position=
"before"
>
<header>
<field
name=
"
related_
commerce_status"
widget=
"statusbar"
clickable=
"
0
"
<field
name=
"commerce_status
_id
"
widget=
"statusbar"
clickable=
"
1
"
attrs=
"{'invisible': [('type_id', 'not in', (%(etic_partner.type_shop)d, %(etic_partner.type_supplier)d))]}"
/>
<field
name=
"
related_
essaimage_status"
widget=
"statusbar"
clickable=
"
0
"
<field
name=
"essaimage_status
_id
"
widget=
"statusbar"
clickable=
"
1
"
attrs=
"{'invisible': [('type_id', 'not in', (%(etic_partner.type_essaimage)d))]}"
/>
</header>
</xpath>
...
...
@@ -54,12 +54,11 @@
<xpath
expr=
"//page[@name='sales_purchases']"
position=
"after"
>
<page
name=
'commerce'
string=
"Commerce"
attrs=
"{'invisible': [('type_id', '
not in
', (%(etic_partner.type_shop)d
, %(etic_partner.type_supplier)d
))]}"
>
attrs=
"{'invisible': [('type_id', '
!=
', (%(etic_partner.type_shop)d))]}"
>
<group
col=
"2"
>
<group>
<field
name=
"commerce_type_id"
options=
"{'no_open': True, 'no_create': True}"
/>
<field
name=
"legal_status_id"
options=
"{'no_open': True, 'no_create': True}"
/>
<field
name=
"commerce_status_id"
options=
"{'no_open': True, 'no_create': True}"
/>
<field
name=
"prescripteur_id"
options=
"{'no_open': True, 'no_create': True}"
/>
<field
name=
"gt_commerce_participation"
widget=
"boolean_toggle"
/>
</group>
...
...
@@ -113,7 +112,6 @@
<page
name=
'essaimage'
string=
"Essaimage"
attrs=
"{'invisible': [('type_id', '!=', (%(etic_partner.type_essaimage)d))]}"
>
<group>
<field
name=
"essaimage_status_id"
options=
"{'no_open': True, 'no_create': True}"
/>
<field
name=
"convention_date1"
/>
<field
name=
"convention_date2"
/>
<field
name=
"exchange_summary"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment