Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cosavoirs_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
cosav
cosavoirs_partner
Commits
e6aaa0a2
Commit
e6aaa0a2
authored
1 month ago
by
Rémi - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
[ADD] software_ref field
parent
d45f9772
Branches
16.0
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
models/res_partner.py
+1
-0
1 addition, 0 deletions
models/res_partner.py
views/res_partner.xml
+4
-0
4 additions, 0 deletions
views/res_partner.xml
with
5 additions
and
0 deletions
models/res_partner.py
+
1
−
0
View file @
e6aaa0a2
...
...
@@ -29,3 +29,4 @@ class CoSavoirsResPartner(models.Model):
selection
=
[(
"
public
"
,
"
Public
"
),
(
"
private
"
,
"
Privé
"
)],
string
=
"
Secteur
"
)
software
=
fields
.
Char
(
"
SIRH/DUI déployé
"
)
software_ref
=
fields
.
Char
(
"
N° instance outil
"
)
This diff is collapsed.
Click to expand it.
views/res_partner.xml
+
4
−
0
View file @
e6aaa0a2
...
...
@@ -38,6 +38,10 @@
name=
"software"
attrs=
"{ 'invisible': [('is_company', '!=', True)]}"
/>
<field
name=
"software_ref"
attrs=
"{ 'invisible': [('is_company', '!=', True)]}"
/>
</xpath>
<!-- right side -->
...
...
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