Skip to content
Snippets Groups Projects
Commit 7dd29b65 authored by Juliana's avatar Juliana
Browse files

[ADD]Add mail contact PMO res_partner

parent e4fbe995
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ class ResPartner(models.Model): ...@@ -32,6 +32,7 @@ class ResPartner(models.Model):
string="Liste des points d'injection", string="Liste des points d'injection",
domain="[('is_delivery', '=', True)]", domain="[('is_delivery', '=', True)]",
) )
mail_contact_pmo = fields.Char("Mail du contact PMO")
# ------------------------------------------------------ # ------------------------------------------------------
# SQL Constraints # SQL Constraints
# ------------------------------------------------------ # ------------------------------------------------------
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
<field name="is_producer" /> <field name="is_producer" />
<field name="is_consumer" /> <field name="is_consumer" />
<field name="is_pmo" /> <field name="is_pmo" />
<field name="mail_contact_pmo" attrs="{'invisible': [('is_pmo', '!=', True)]}"/>
<field name="is_buyer_surplus" /> <field name="is_buyer_surplus" />
</field> </field>
<xpath expr="//notebook" position="inside"> <xpath expr="//notebook" position="inside">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment