Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
hgt_soporte
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 45c5688d
authored
2022-11-26 19:34:19 -0300
by
juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Usuario
1 parent
bece1c86
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
models/mensaje.py
views/incidencia_view.xml
models/mensaje.py
View file @
45c5688
...
...
@@ -35,3 +35,10 @@ class hgt_soporte_mensaje(models.Model):
column2
=
'hgt_soporte_incidencia_id'
,
column1
=
'hgt_soporte_mensaje_id'
)
remoto
=
fields
.
Boolean
(
string
=
'Remoto'
)
usuario
=
fields
.
Char
(
string
=
'Usuario'
,
default
=
lambda
self
:
self
.
env
.
user
.
display_name
,
readonly
=
True
)
views/incidencia_view.xml
View file @
45c5688
...
...
@@ -78,9 +78,10 @@
<group>
<field
name=
"si_mensajes"
required=
"0"
nolabel=
"1"
>
<tree
delete=
"false"
create=
"false"
>
<field
name=
"
si_creador
"
attrs=
"{'readonly': True}"
/>
<field
name=
"
usuario
"
attrs=
"{'readonly': True}"
/>
<field
name=
"si_mensaje"
attrs=
"{'readonly': True}"
/>
<field
name=
"si_mens_fecha"
attrs=
"{'readonly': True}"
/>
<field
name=
"remoto"
attrs=
"{'readonly': True}"
/>
</tree>
</field>
</group>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment