Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ap_sale_project
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
Arbre et Paysage
ap_sale_project
Commits
622eefa5
Commit
622eefa5
authored
3 years ago
by
Rémi - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
[ENH] add required fields
parent
7b95e34f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/sale_intervention_view.xml
+12
-3
12 additions, 3 deletions
views/sale_intervention_view.xml
with
12 additions
and
3 deletions
views/sale_intervention_view.xml
+
12
−
3
View file @
622eefa5
...
...
@@ -25,8 +25,14 @@
string=
"Intervention en €/m"
attrs=
"{'invisible': [('intervention_uom_name', '!=', 'm')]}"
>
<field
name=
"intervention_length"
/>
<field
name=
"plant_interval"
/>
<field
name=
"intervention_length"
attrs=
"{'required': [('intervention_uom_name', '=', 'm')]}"
/>
<field
name=
"plant_interval"
attrs=
"{'required': [('intervention_uom_name', '=', 'm')]}"
/>
<field
name=
"plant_qty"
string=
"Nombre de Plants (non utilisé pour calcul)"
...
...
@@ -36,7 +42,10 @@
string=
"Intervention en €/plant"
attrs=
"{'invisible': [('intervention_uom_name', '!=', 'Unité(s)')]}"
>
<field
name=
"plant_qty"
/>
<field
name=
"plant_qty"
attrs=
"{'required': [('intervention_uom_name', '=', 'Unité(s)')]}"
/>
<field
name=
"intervention_length"
string=
"Longueur de Haie (non utilisé pour calcul)"
...
...
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