diff --git a/i18n/fr.po b/i18n/fr.po index f6f4b8e..9307e40 100644 --- a/i18n/fr.po +++ b/i18n/fr.po @@ -492,7 +492,7 @@ msgstr "Montant" #. module: opendons #: model:ir.actions.report,name:opendons.report_donation_tax_receipt msgid "Donation Tax Receipt" -msgstr "" +msgstr "Reçus fiscal" #. module: opendons #: model:ir.model.fields,field_description:opendons.field_opendons_payment_batch__donation_amount @@ -577,7 +577,7 @@ msgstr "" #. module: opendons #: model:ir.model.fields.selection,name:opendons.selection__opendons_operation__chanel__event msgid "Event" -msgstr "événement" +msgstr "Evénement" #. module: opendons #: model:ir.model.fields,field_description:opendons.field_opendons_segment__exclusion @@ -915,7 +915,7 @@ msgstr "Lieu dit" #. module: opendons #: model:ir.model.fields.selection,name:opendons.selection__opendons_operation__chanel__mail msgid "Mailing" -msgstr "" +msgstr "Postale" #. module: opendons #: model:ir.model.fields,field_description:opendons.field_opendons_ensemble__message_main_attachment_id @@ -1351,14 +1351,14 @@ msgstr "Chercher" #: model:ir.model.fields,field_description:opendons.field_opendons_payment_batch__segment_id #: model:ir.model.fields,field_description:opendons.field_opendons_returnmail_npai__segment_id msgid "Segment" -msgstr "" +msgstr "Code origine" #. module: opendons #: model:ir.actions.act_window,name:opendons.act_operation_segment #: model:ir.model.fields,field_description:opendons.field_opendons_operation__segment_ids #: model_terms:ir.ui.view,arch_db:opendons.operation_form msgid "Segments" -msgstr "" +msgstr "Codes origine" #. module: opendons #: model_terms:ir.ui.view,arch_db:opendons.opendons_template_donation_tax_receipt @@ -2227,4 +2227,36 @@ msgstr "Champ du fichier" #. module: opendons #: model:ir.model.fields,field_description:opendons.field_opendons_partnerdraftfile_mapping__odoo_field msgid "odoo field" -msgstr "Champ interne" \ No newline at end of file +msgstr "Champ interne" + +#. module: opendons +#: model_terms:ir.ui.view,arch_db:opendons.view_partner_form +msgid "Marketing operations" +msgstr "Operations marketing " + +#. module: base +#: model:ir.model.fields.selection,name:base.selection__res_partner__company_type__person +msgid "Individual" +msgstr "Personne physique" + +#. modules: base +#: model:ir.model.fields.selection,name:base.selection__res_partner__company_type__company +#: model_terms:ir.ui.view,arch_db:base.view_partner_form +#: model_terms:ir.ui.view,arch_db:base.view_partner_simple_form +#: model_terms:ir.ui.view,arch_db:base.view_res_partner_filter +msgid "Company" +msgstr "Personne morale" + +#. module: donation_base +#: model:ir.model.fields,field_description:donation_base.field_res_partner__tax_receipt_ids +#: model:ir.model.fields,field_description:donation_base.field_res_users__tax_receipt_ids +#: model_terms:ir.ui.view,arch_db:donation_base.view_partner_property_form +msgid "Tax Receipts" +msgstr "Reçus fiscaux" + +#. module: donation +#: model:ir.actions.act_window,name:donation.donation_action +#: model:ir.actions.act_window,name:donation.partner_donation_action +#: model_terms:ir.ui.view,arch_db:donation.view_partner_form +msgid "Donations" +msgstr "Dons" \ No newline at end of file diff --git a/models/operation.py b/models/operation.py index 63ed896..f9af7ff 100644 --- a/models/operation.py +++ b/models/operation.py @@ -50,7 +50,8 @@ class opendons_operation(models.Model): chanel=fields.Selection([ ('mail', 'Mailing'), ('email', 'E-mailing'), - ('event', 'Event')], + ('event', 'Event'), + ('face_to_face', 'Face to face')], string='Chanel',required=True, translate=True,track_visibility='always') user_id = fields.Many2one('res.users', string='Author', default=lambda self: self.env.uid) @@ -407,6 +408,12 @@ class opendons_segment(models.Model): string="# of ensemble", readonly=True ) + chanel=fields.Selection([ + ('mail', 'Mailing'), + ('email', 'E-mailing'), + ('event', 'Event'), + ('face_to_face', 'Face to face')], + string='Chanel',required=True, translate=True,track_visibility='always') @api.depends('mailing_domain') def _count_partner_segment(self): diff --git a/views/operation.xml b/views/operation.xml index d46271e..d3b24b2 100644 --- a/views/operation.xml +++ b/views/operation.xml @@ -52,6 +52,7 @@ + @@ -183,6 +184,7 @@ + diff --git a/views/partner.xml b/views/partner.xml index 8899c0d..e1b6409 100644 --- a/views/partner.xml +++ b/views/partner.xml @@ -145,16 +145,25 @@ - - - - - + + + + + - + + + + + + + + + + @@ -178,42 +187,46 @@ - - - - - - - - - - - - - - - - - - + +