diff --git a/i18n/fr.po b/i18n/fr.po index f3505dc63360b389e7c5ced999755b2ee70d3872..75e9447f202cfaf7cd8620b901c8d5149324dd2b 100644 --- a/i18n/fr.po +++ b/i18n/fr.po @@ -184,7 +184,7 @@ msgstr "" #. module: cgscop_partner #: model_terms:ir.ui.view,arch_db:cgscop_partner.scop_period_wizard_view_form #: model_terms:ir.ui.view,arch_db:cgscop_partner.view_partner_cooperative_form -msgid "Adresse Administrative" +msgid "Adresse du siège social" msgstr "" #. module: cgscop_partner diff --git a/models/res_partner.py b/models/res_partner.py index 31af06ce49950f22c2c01c80810e26bed821c284..51b83c1fb258de81bf6934af6f02650c8589d5a3 100644 --- a/models/res_partner.py +++ b/models/res_partner.py @@ -79,7 +79,7 @@ class ScopPartner(models.Model): street3 = fields.Char("Rue 3", track_visibility='onchange') zip = fields.Char("CP", change_default=True, track_visibility='onchange') zip_departement = fields.Char( - "Num Département", + "Num Département", compute='_compute_num_departement', store=True) region = fields.Many2one( diff --git a/views/res_partner.xml b/views/res_partner.xml index a7ed94dcce6096d6d29e931f159f34e55f058d39..aed1d5f1cb27d29d27a54512e3b91be1833794a7 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -299,7 +299,7 @@ <group col="3" string="Informations Générales"> <group string="Contact"> <field name="sigle" attrs="{'invisible': [('project_status', 'in', ('1_information', '2_pre-diagnostic'))]}"/> - <label for='street' string="Adresse Administrative"/> + <label for='street' string="Adresse du siège social"/> <div class="o_address_format"> <field name="street" placeholder="Rue..." class="o_address_street" attrs="{'readonly': [('write_date', '!=', False), ('project_status', '=', '6_suivi')], 'required':['|', ('project_status','in',('4_adhesion', '5_cg')), '&', ('write_date', '=', False), ('project_status', '=', '6_suivi')]}"/> <field name="street2" placeholder="Rue 2..." class="o_address_street" attrs="{'readonly': [('write_date', '!=', False), ('project_status', '=', '6_suivi')]}"/> diff --git a/wizard/scop_period_wizard.xml b/wizard/scop_period_wizard.xml index 6fcd07164c4ac4632bf031640cb0ed9474936014..03446b52523937abf6f6ee9f6816743c35aeaa60 100644 --- a/wizard/scop_period_wizard.xml +++ b/wizard/scop_period_wizard.xml @@ -18,7 +18,7 @@ <field name="cooperative_form_id" required="1" options="{'no_open': True, 'no_create': True}"/> <field name="partner_company_type_id" required="1" options="{'no_open': True, 'no_create': True}"/> <field name="siret" required="1"/> - <label for='street' string="Adresse Administrative"/> + <label for='street' string="Adresse du siège social"/> <div class="o_address_format" modifiers="{}"> <field name="street" placeholder="Rue..." class="o_address_street" required="1"/> <field name="street2" placeholder="Rue 2..." class="o_address_street"/>