From fadc548b1771b74de907ba0ce692d1a18954eb25 Mon Sep 17 00:00:00 2001 From: "miguel.cepeda" Date: Wed, 17 Jan 2024 15:33:21 +0100 Subject: [PATCH 1/8] [FIX] partner_interest_group: multi-company rules Solution to correlation problems with multi-company that makes every interest group appear in all companies. This makes all interest groups configurable, avoiding then to appear in other companies if you have one company selected. Besides, if you don't specify a company for the interest group, it will be available for all companies. --- partner_interest_group/__manifest__.py | 1 + partner_interest_group/i18n/es.po | 18 +++++++++++------- .../models/res_partner_interest_group.py | 6 ++++++ .../security/interest_group_rules.xml | 11 +++++++++++ .../views/res_partner_interest_group_view.xml | 2 ++ 5 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 partner_interest_group/security/interest_group_rules.xml diff --git a/partner_interest_group/__manifest__.py b/partner_interest_group/__manifest__.py index 099826a2af0..734f3114f9a 100644 --- a/partner_interest_group/__manifest__.py +++ b/partner_interest_group/__manifest__.py @@ -19,6 +19,7 @@ "views/res_partner_interest_group_view.xml", "views/res_partner_view.xml", "security/ir.model.access.csv", + "security/interest_group_rules.xml", ], "demo": [], "qweb": [], diff --git a/partner_interest_group/i18n/es.po b/partner_interest_group/i18n/es.po index d181596416f..7f622feceb1 100644 --- a/partner_interest_group/i18n/es.po +++ b/partner_interest_group/i18n/es.po @@ -6,21 +6,25 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-08-31 08:13+0000\n" -"Last-Translator: Ivorra78 \n" -"Language-Team: none\n" -"Language: es\n" +"POT-Creation-Date: 2024-01-30 14:22+0000\n" +"PO-Revision-Date: 2024-01-30 14:22+0000\n" +"Last-Translator: \n" +"Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"Plural-Forms: \n" #. module: partner_interest_group #: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group__active msgid "Active" msgstr "Activo" +#. module: partner_interest_group +#: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group__company_id +msgid "Company" +msgstr "Compañía" + #. module: partner_interest_group #: model:ir.model,name:partner_interest_group.model_res_partner_interest_group msgid "Configurable Interest Group for Partners" @@ -59,7 +63,7 @@ msgstr "ID (identificación)" #: model:ir.ui.menu,name:partner_interest_group.menu_res_partner_interest_group #: model_terms:ir.ui.view,arch_db:partner_interest_group.res_partner_interest_group_form_view msgid "Interest Group" -msgstr "Grupo de interés" +msgstr "Grupos de interés" #. module: partner_interest_group #: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group____last_update diff --git a/partner_interest_group/models/res_partner_interest_group.py b/partner_interest_group/models/res_partner_interest_group.py index f0e9ac0b1c7..9df01a06494 100644 --- a/partner_interest_group/models/res_partner_interest_group.py +++ b/partner_interest_group/models/res_partner_interest_group.py @@ -8,3 +8,9 @@ class ResPartnerInterestGroup(models.Model): name = fields.Char(string="Interest Group") active = fields.Boolean(default=True) partner_id = fields.Many2many("res.partner") + company_id = fields.Many2one( + "res.company", + required=False, + domain=lambda self: [("id", "=", self.env.company.id)], + string="Company", + ) diff --git a/partner_interest_group/security/interest_group_rules.xml b/partner_interest_group/security/interest_group_rules.xml new file mode 100644 index 00000000000..4ba9a956ac8 --- /dev/null +++ b/partner_interest_group/security/interest_group_rules.xml @@ -0,0 +1,11 @@ + + + + Partner interest group: multi-company + + + + ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] + + + diff --git a/partner_interest_group/views/res_partner_interest_group_view.xml b/partner_interest_group/views/res_partner_interest_group_view.xml index ba9b9e070ac..761862c0855 100644 --- a/partner_interest_group/views/res_partner_interest_group_view.xml +++ b/partner_interest_group/views/res_partner_interest_group_view.xml @@ -11,6 +11,7 @@ + @@ -21,6 +22,7 @@
+
From 0f762f1bb3a5f0591aeada7ff3fc8c1062077fb6 Mon Sep 17 00:00:00 2001 From: LauraCForgeFlow Date: Mon, 11 Mar 2024 08:46:00 +0100 Subject: [PATCH 2/8] [16.0][IMP] partner_contact_address_default: set default contact --- partner_contact_address_default/README.rst | 8 ++++++-- .../__manifest__.py | 2 +- partner_contact_address_default/i18n/es.po | 14 ++++++++++---- .../i18n/partner_contact_address_default.pot | 8 +++++++- .../models/res_partner.py | 14 +++++++++++--- .../readme/CONTRIBUTORS.rst | 4 ++++ .../readme/DESCRIPTION.rst | 2 +- .../readme/USAGE.rst | 2 +- .../static/description/index.html | 8 ++++++-- .../test_partner_contact_address_default.py | 18 +++++++++++++++--- .../views/res_partner_views.xml | 17 ++++++++++++++--- 11 files changed, 76 insertions(+), 21 deletions(-) diff --git a/partner_contact_address_default/README.rst b/partner_contact_address_default/README.rst index fedca3a2d59..d6a35e6af63 100644 --- a/partner_contact_address_default/README.rst +++ b/partner_contact_address_default/README.rst @@ -29,7 +29,7 @@ Partner Contact address default |badge1| |badge2| |badge3| |badge4| |badge5| This module extends the functionality of base partner module to allow to set a -default delivery and invoice address for contacts. +default delivery and invoice address and a default contact for contacts. **Table of contents** @@ -40,7 +40,7 @@ Usage ===== #. Go to *Contacts*. -#. Select default delivery address or invoice address for partner. +#. Select default delivery address, invoice address or contact for partner. Bug Tracker =========== @@ -76,6 +76,10 @@ Contributors * Carlos Reyes +* `ForgeFlow `_: + + * Laura Cazorla + Maintainers ~~~~~~~~~~~ diff --git a/partner_contact_address_default/__manifest__.py b/partner_contact_address_default/__manifest__.py index f94913dfeb4..5008b3c796c 100644 --- a/partner_contact_address_default/__manifest__.py +++ b/partner_contact_address_default/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Partner Contact address default", - "summary": "Set a default delivery and invoice address for contacts", + "summary": "Set a default delivery address, invoice address and contact for contacts", "version": "16.0.1.0.0", "development_status": "Beta", "category": "Generic Modules/Base", diff --git a/partner_contact_address_default/i18n/es.po b/partner_contact_address_default/i18n/es.po index a5e1203b406..2bfb2c05961 100644 --- a/partner_contact_address_default/i18n/es.po +++ b/partner_contact_address_default/i18n/es.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-11 10:32+0000\n" -"PO-Revision-Date: 2023-01-11 10:32+0000\n" +"POT-Creation-Date: 2024-03-11 07:35+0000\n" +"PO-Revision-Date: 2024-03-11 07:35+0000\n" "Last-Translator: \n" "Language-Team: \n" "Language: \n" @@ -21,6 +21,12 @@ msgstr "" msgid "Contact" msgstr "Contacto" +#. module: partner_contact_address_default +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_partner__partner_contact_id +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_users__partner_contact_id +msgid "Default contact" +msgstr "Contacto predeterminado" + #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "Force addresses" @@ -45,5 +51,5 @@ msgstr "Dirección de envío" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form -msgid "You can force and delivery and invoice address for this contacts." -msgstr "Puede forzar las dirección de envío y facturación para estos contactos" +msgid "You can force contact, delivery and invoice address for this contacts." +msgstr "Puede forzar el contacto y las direcciones de envío y facturación para estos contactos." \ No newline at end of file diff --git a/partner_contact_address_default/i18n/partner_contact_address_default.pot b/partner_contact_address_default/i18n/partner_contact_address_default.pot index d72c9fef142..65db830c9d9 100644 --- a/partner_contact_address_default/i18n/partner_contact_address_default.pot +++ b/partner_contact_address_default/i18n/partner_contact_address_default.pot @@ -18,6 +18,12 @@ msgstr "" msgid "Contact" msgstr "" +#. module: partner_contact_address_default +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_partner__partner_contact_id +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_users__partner_contact_id +msgid "Default contact" +msgstr "" + #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "Force addresses" @@ -42,5 +48,5 @@ msgstr "" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form -msgid "You can force and delivery and invoice address for this contacts." +msgid "You can force contact, delivery and invoice address for this contacts." msgstr "" diff --git a/partner_contact_address_default/models/res_partner.py b/partner_contact_address_default/models/res_partner.py index 3160f150770..13bb2fcfd7a 100644 --- a/partner_contact_address_default/models/res_partner.py +++ b/partner_contact_address_default/models/res_partner.py @@ -1,5 +1,6 @@ # Copyright 2020 Tecnativa - Carlos Dauden # Copyright 2020 Tecnativa - Sergio Teruel +# Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import fields, models @@ -15,14 +16,18 @@ class ResPartner(models.Model): comodel_name="res.partner", string="Invoice address", ) + partner_contact_id = fields.Many2one( + comodel_name="res.partner", + string="Default contact", + ) def get_address_default_type(self): """This will be the extension method for other contact types""" - return ["delivery", "invoice"] + return ["delivery", "invoice", "contact"] def address_get(self, adr_pref=None): - """Force the delivery or invoice addresses. It will try to default - to the one set in the commercial partner if any""" + """Force the contact, delivery or invoice addresses. It will + try to default to the one set in the commercial partner if any""" res = super().address_get(adr_pref) adr_pref = adr_pref or [] default_address_type_list = { @@ -47,4 +52,7 @@ def write(self, vals): self.search([("partner_invoice_id", "in", self.ids)]).write( {"partner_invoice_id": False} ) + self.search([("partner_contact_id", "in", self.ids)]).write( + {"partner_contact_id": False} + ) return super().write(vals) diff --git a/partner_contact_address_default/readme/CONTRIBUTORS.rst b/partner_contact_address_default/readme/CONTRIBUTORS.rst index 3ee18b2565a..56728105c7c 100644 --- a/partner_contact_address_default/readme/CONTRIBUTORS.rst +++ b/partner_contact_address_default/readme/CONTRIBUTORS.rst @@ -10,3 +10,7 @@ * `Studio73 `_: * Carlos Reyes + +* `ForgeFlow `_: + + * Laura Cazorla diff --git a/partner_contact_address_default/readme/DESCRIPTION.rst b/partner_contact_address_default/readme/DESCRIPTION.rst index 479496eccfa..dfb67d6848b 100644 --- a/partner_contact_address_default/readme/DESCRIPTION.rst +++ b/partner_contact_address_default/readme/DESCRIPTION.rst @@ -1,2 +1,2 @@ This module extends the functionality of base partner module to allow to set a -default delivery and invoice address for contacts. +default delivery and invoice address and a default contact for contacts. diff --git a/partner_contact_address_default/readme/USAGE.rst b/partner_contact_address_default/readme/USAGE.rst index 3673953be53..aa423d56cdf 100644 --- a/partner_contact_address_default/readme/USAGE.rst +++ b/partner_contact_address_default/readme/USAGE.rst @@ -1,2 +1,2 @@ #. Go to *Contacts*. -#. Select default delivery address or invoice address for partner. +#. Select default delivery address, invoice address or contact for partner. diff --git a/partner_contact_address_default/static/description/index.html b/partner_contact_address_default/static/description/index.html index 53ec0421da6..8b59243642d 100644 --- a/partner_contact_address_default/static/description/index.html +++ b/partner_contact_address_default/static/description/index.html @@ -371,7 +371,7 @@

Partner Contact address default

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

This module extends the functionality of base partner module to allow to set a -default delivery and invoice address for contacts.

+default delivery and invoice address and a default contact for contacts.

Table of contents

    @@ -389,7 +389,7 @@

    Partner Contact address default

    Usage

    1. Go to Contacts.
    2. -
    3. Select default delivery address or invoice address for partner.
    4. +
    5. Select default delivery address, invoice address or contact for partner.
@@ -424,6 +424,10 @@

Contributors

  • Carlos Reyes
  • +
  • ForgeFlow:
      +
    • Laura Cazorla
    • +
    +
  • diff --git a/partner_contact_address_default/tests/test_partner_contact_address_default.py b/partner_contact_address_default/tests/test_partner_contact_address_default.py index 36b2ac8f139..a3b9073bd27 100644 --- a/partner_contact_address_default/tests/test_partner_contact_address_default.py +++ b/partner_contact_address_default/tests/test_partner_contact_address_default.py @@ -27,27 +27,39 @@ def setUpClass(cls): cls.partner_child_invoice = cls.Partner.create( {"name": "Child invoice", "type": "invoice", "parent_id": cls.partner.id} ) + cls.partner_child_contact = cls.Partner.create( + {"name": "Child contact", "type": "contact", "parent_id": cls.partner.id} + ) def test_contact_address_default(self): self.partner.partner_delivery_id = self.partner self.partner.partner_invoice_id = self.partner - res = self.partner.address_get(["delivery", "invoice"]) + self.partner.partner_contact_id = self.partner + res = self.partner.address_get(["delivery", "invoice", "contact"]) self.assertEqual(res["delivery"], self.partner.id) self.assertEqual(res["invoice"], self.partner.id) + self.assertEqual(res["contact"], self.partner.id) self.partner_child_delivery2.partner_delivery_id = self.partner_child_delivery2 self.partner_child_delivery2.partner_invoice_id = self.partner_child_delivery2 - res = self.partner_child_delivery2.address_get(["delivery", "invoice"]) + self.partner_child_delivery2.partner_contact_id = self.partner_child_delivery2 + res = self.partner_child_delivery2.address_get( + ["delivery", "invoice", "contact"] + ) self.assertEqual(res["delivery"], self.partner_child_delivery2.id) self.assertEqual(res["invoice"], self.partner_child_delivery2.id) + self.assertEqual(res["contact"], self.partner_child_delivery2.id) def test_contact_address_archived(self): self.partner.partner_delivery_id = self.partner_child_delivery2 self.partner.partner_invoice_id = self.partner_child_invoice + self.partner.partner_contact_id = self.partner_child_contact + self.partner_child_contact.write({"active": False}) self.partner_child_invoice.write({"active": False}) self.partner_child_delivery2.write({"active": False}) - res = self.partner.address_get(["delivery", "invoice"]) + res = self.partner.address_get(["delivery", "invoice", "contact"]) # As partner_child_delivery2 is archived, even though it is set as # partner_delivery_id it should fall back to partner_child_delivery1 here: self.assertEqual(res["delivery"], self.partner_child_delivery1.id) self.assertEqual(res["invoice"], self.partner.id) + self.assertEqual(res["contact"], self.partner.id) diff --git a/partner_contact_address_default/views/res_partner_views.xml b/partner_contact_address_default/views/res_partner_views.xml index 25f864a5f4f..fae2c271929 100644 --- a/partner_contact_address_default/views/res_partner_views.xml +++ b/partner_contact_address_default/views/res_partner_views.xml @@ -12,14 +12,19 @@ domain="[('id', 'child_of', commercial_partner_id), ('type', '=', 'delivery')]" widget="selection" /> - - + + + @@ -31,7 +36,7 @@
    You can force and delivery and invoice address for this contacts.
    + >You can force contact, delivery and invoice address for this contacts.
    If you keep empty this fields the Odoo's behavior will be normal
    @@ -48,6 +53,12 @@ domain="[('id', 'child_of', commercial_partner_id), ('type', '=', 'invoice')]" /> + + + From a690a2cb36732079a24715ff53f6684138e5902a Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 18 Mar 2024 09:14:56 +0000 Subject: [PATCH 3/8] [BOT] post-merge updates --- README.md | 2 +- partner_contact_address_default/README.rst | 2 +- partner_contact_address_default/__manifest__.py | 2 +- partner_contact_address_default/static/description/index.html | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c909f6a371b..cd0f8cea66d 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ addon | version | maintainers | summary [partner_company_group](partner_company_group/) | 16.0.1.0.0 | [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Adds the possibility to add a company group to a company [partner_company_type](partner_company_type/) | 16.0.1.0.0 | | Adds a company type to partner that are companies [partner_contact_access_link](partner_contact_access_link/) | 16.0.1.1.0 | [![Yajo](https://github.com/Yajo.png?size=30px)](https://github.com/Yajo) | Allow to visit the full contact form from a company -[partner_contact_address_default](partner_contact_address_default/) | 16.0.1.0.0 | | Set a default delivery and invoice address for contacts +[partner_contact_address_default](partner_contact_address_default/) | 16.0.1.1.0 | | Set a default delivery address, invoice address and contact for contacts [partner_contact_age_range](partner_contact_age_range/) | 16.0.1.0.1 | | Age Range for Contact's [partner_contact_birthdate](partner_contact_birthdate/) | 16.0.1.0.0 | | Contact's birthdate [partner_contact_department](partner_contact_department/) | 16.0.1.0.2 | | Assign contacts to departments diff --git a/partner_contact_address_default/README.rst b/partner_contact_address_default/README.rst index d6a35e6af63..9f253e65311 100644 --- a/partner_contact_address_default/README.rst +++ b/partner_contact_address_default/README.rst @@ -7,7 +7,7 @@ Partner Contact address default !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:b0bc360740d521fe8611939734e13382bffa7d27fcb3eb6bdf16a2de39161928 + !! source digest: sha256:9496d2d1f99fe0aef45114a95ae30624127d3453d894ad1713156e670f6c9d09 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/partner_contact_address_default/__manifest__.py b/partner_contact_address_default/__manifest__.py index 5008b3c796c..a53d4f08046 100644 --- a/partner_contact_address_default/__manifest__.py +++ b/partner_contact_address_default/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Partner Contact address default", "summary": "Set a default delivery address, invoice address and contact for contacts", - "version": "16.0.1.0.0", + "version": "16.0.1.1.0", "development_status": "Beta", "category": "Generic Modules/Base", "website": "https://github.com/OCA/partner-contact", diff --git a/partner_contact_address_default/static/description/index.html b/partner_contact_address_default/static/description/index.html index 8b59243642d..9e5fb212002 100644 --- a/partner_contact_address_default/static/description/index.html +++ b/partner_contact_address_default/static/description/index.html @@ -1,4 +1,3 @@ - @@ -367,7 +366,7 @@

    Partner Contact address default

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:b0bc360740d521fe8611939734e13382bffa7d27fcb3eb6bdf16a2de39161928 +!! source digest: sha256:9496d2d1f99fe0aef45114a95ae30624127d3453d894ad1713156e670f6c9d09 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

    Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

    This module extends the functionality of base partner module to allow to set a From 9f89019efa04d08f5670b59ff2f19e31389c8b8d Mon Sep 17 00:00:00 2001 From: mymage Date: Mon, 18 Mar 2024 07:06:09 +0000 Subject: [PATCH 4/8] Translated using Weblate (Italian) Currently translated at 100.0% (15 of 15 strings) Translation: partner-contact-16.0/partner-contact-16.0-partner_employee_quantity Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_employee_quantity/it/ --- partner_employee_quantity/i18n/it.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/partner_employee_quantity/i18n/it.po b/partner_employee_quantity/i18n/it.po index 51227c6a2a3..c9166f84f43 100644 --- a/partner_employee_quantity/i18n/it.po +++ b/partner_employee_quantity/i18n/it.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-12-26 15:33+0000\n" -"PO-Revision-Date: 2023-03-23 13:23+0000\n" +"PO-Revision-Date: 2024-03-18 09:15+0000\n" "Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" @@ -17,12 +17,12 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.14.1\n" +"X-Generator: Weblate 4.17\n" #. module: partner_employee_quantity #: model:ir.model,name:partner_employee_quantity.model_res_partner msgid "Contact" -msgstr "" +msgstr "Contatto" #. module: partner_employee_quantity #: model:ir.model.fields,field_description:partner_employee_quantity.field_res_partner_employee_quantity_range__create_uid @@ -44,18 +44,18 @@ msgstr "Nome visualizzato" #: model:ir.model.fields,field_description:partner_employee_quantity.field_res_users__employee_quantity #: model_terms:ir.ui.view,arch_db:partner_employee_quantity.view_res_partner_filter msgid "Employee Quantity" -msgstr "" +msgstr "Quantità dipendente" #. module: partner_employee_quantity #: model_terms:ir.ui.view,arch_db:partner_employee_quantity.view_partner_form msgid "Employee quantity" -msgstr "" +msgstr "Quantità dipendente" #. module: partner_employee_quantity #: model:ir.model.fields,field_description:partner_employee_quantity.field_res_partner__employee_quantity_range_id #: model:ir.model.fields,field_description:partner_employee_quantity.field_res_users__employee_quantity_range_id msgid "Employee quantity range" -msgstr "" +msgstr "Intervallo quantità dipendente" #. module: partner_employee_quantity #: model:ir.model.fields,field_description:partner_employee_quantity.field_res_partner_employee_quantity_range__id @@ -85,20 +85,20 @@ msgstr "Nome" #. module: partner_employee_quantity #: model:ir.model,name:partner_employee_quantity.model_res_partner_employee_quantity_range msgid "Partner employee quantity range" -msgstr "" +msgstr "Intervallo quantità dipendente partner" #. module: partner_employee_quantity #: model:ir.model.fields,help:partner_employee_quantity.field_res_partner__employee_quantity_range_id #: model:ir.model.fields,help:partner_employee_quantity.field_res_users__employee_quantity_range_id msgid "Range of this partner depending on the employee quantity." -msgstr "" +msgstr "Intervallo di questo partner conseguente alla quantità dipendente." #. module: partner_employee_quantity #: model:ir.actions.act_window,name:partner_employee_quantity.employees_range_action #: model:ir.ui.menu,name:partner_employee_quantity.menu_employees_range #: model_terms:ir.ui.view,arch_db:partner_employee_quantity.employees_range_tree_view msgid "Ranges by quantity of employees" -msgstr "" +msgstr "Intervalli per quantità di dipendenti" #~ msgid "Partner" #~ msgstr "Partner" From 2bedabcafb4963d9b9daecb1064656b4361cf466 Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 18 Mar 2024 09:15:18 +0000 Subject: [PATCH 5/8] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: partner-contact-16.0/partner-contact-16.0-partner_contact_address_default Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_contact_address_default/ --- partner_contact_address_default/i18n/es.po | 4 +++- partner_contact_address_default/i18n/fr.po | 15 ++++++++++++--- partner_contact_address_default/i18n/fr_FR.po | 15 ++++++++++++--- partner_contact_address_default/i18n/it.po | 15 ++++++++++++--- partner_contact_address_default/i18n/pt.po | 13 +++++++++++-- 5 files changed, 50 insertions(+), 12 deletions(-) diff --git a/partner_contact_address_default/i18n/es.po b/partner_contact_address_default/i18n/es.po index 2bfb2c05961..d61a7e5d69a 100644 --- a/partner_contact_address_default/i18n/es.po +++ b/partner_contact_address_default/i18n/es.po @@ -52,4 +52,6 @@ msgstr "Dirección de envío" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "You can force contact, delivery and invoice address for this contacts." -msgstr "Puede forzar el contacto y las direcciones de envío y facturación para estos contactos." \ No newline at end of file +msgstr "" +"Puede forzar el contacto y las direcciones de envío y facturación para estos " +"contactos." diff --git a/partner_contact_address_default/i18n/fr.po b/partner_contact_address_default/i18n/fr.po index 27aab3de71e..28b39b45935 100644 --- a/partner_contact_address_default/i18n/fr.po +++ b/partner_contact_address_default/i18n/fr.po @@ -21,6 +21,12 @@ msgstr "" msgid "Contact" msgstr "" +#. module: partner_contact_address_default +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_partner__partner_contact_id +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_users__partner_contact_id +msgid "Default contact" +msgstr "" + #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "Force addresses" @@ -45,10 +51,13 @@ msgstr "Adresse de livraison" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form -msgid "You can force and delivery and invoice address for this contacts." +msgid "You can force contact, delivery and invoice address for this contacts." msgstr "" -"Vous pouvez forcer l'adresse de livraison et de facturation pour ces " -"contacts." + +#~ msgid "You can force and delivery and invoice address for this contacts." +#~ msgstr "" +#~ "Vous pouvez forcer l'adresse de livraison et de facturation pour ces " +#~ "contacts." #~ msgid "Display Name" #~ msgstr "Nom affiché" diff --git a/partner_contact_address_default/i18n/fr_FR.po b/partner_contact_address_default/i18n/fr_FR.po index 4a23729a426..32e06752bb9 100644 --- a/partner_contact_address_default/i18n/fr_FR.po +++ b/partner_contact_address_default/i18n/fr_FR.po @@ -21,6 +21,12 @@ msgstr "" msgid "Contact" msgstr "" +#. module: partner_contact_address_default +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_partner__partner_contact_id +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_users__partner_contact_id +msgid "Default contact" +msgstr "" + #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "Force addresses" @@ -45,10 +51,13 @@ msgstr "Adresse de livraison" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form -msgid "You can force and delivery and invoice address for this contacts." +msgid "You can force contact, delivery and invoice address for this contacts." msgstr "" -"Vous pouvez forcer l'adresse de livraison et de facturation pour ces " -"contacts." + +#~ msgid "You can force and delivery and invoice address for this contacts." +#~ msgstr "" +#~ "Vous pouvez forcer l'adresse de livraison et de facturation pour ces " +#~ "contacts." #~ msgid "Display Name" #~ msgstr "Nom affiché" diff --git a/partner_contact_address_default/i18n/it.po b/partner_contact_address_default/i18n/it.po index edc597b38a9..18e11c5aa3a 100644 --- a/partner_contact_address_default/i18n/it.po +++ b/partner_contact_address_default/i18n/it.po @@ -21,6 +21,12 @@ msgstr "" msgid "Contact" msgstr "Contatto" +#. module: partner_contact_address_default +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_partner__partner_contact_id +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_users__partner_contact_id +msgid "Default contact" +msgstr "" + #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "Force addresses" @@ -47,7 +53,10 @@ msgstr "Indirizzo di spedizione" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form -msgid "You can force and delivery and invoice address for this contacts." +msgid "You can force contact, delivery and invoice address for this contacts." msgstr "" -"Si possono forzare gli indirizzi di spedizione e fatturazione per questo " -"contatto." + +#~ msgid "You can force and delivery and invoice address for this contacts." +#~ msgstr "" +#~ "Si possono forzare gli indirizzi di spedizione e fatturazione per questo " +#~ "contatto." diff --git a/partner_contact_address_default/i18n/pt.po b/partner_contact_address_default/i18n/pt.po index f6aff5ff888..b0d34867084 100644 --- a/partner_contact_address_default/i18n/pt.po +++ b/partner_contact_address_default/i18n/pt.po @@ -21,6 +21,12 @@ msgstr "" msgid "Contact" msgstr "Contacto" +#. module: partner_contact_address_default +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_partner__partner_contact_id +#: model:ir.model.fields,field_description:partner_contact_address_default.field_res_users__partner_contact_id +msgid "Default contact" +msgstr "" + #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form msgid "Force addresses" @@ -46,5 +52,8 @@ msgstr "Endereço de envio" #. module: partner_contact_address_default #: model_terms:ir.ui.view,arch_db:partner_contact_address_default.view_partner_form -msgid "You can force and delivery and invoice address for this contacts." -msgstr "Pode forçar um endereço de envio e faturação para este contacto." +msgid "You can force contact, delivery and invoice address for this contacts." +msgstr "" + +#~ msgid "You can force and delivery and invoice address for this contacts." +#~ msgstr "Pode forçar um endereço de envio e faturação para este contacto." From 24671149d80dc0be563b6672141c5a8494b324ff Mon Sep 17 00:00:00 2001 From: oca-ci Date: Mon, 18 Mar 2024 09:23:13 +0000 Subject: [PATCH 6/8] [UPD] Update partner_interest_group.pot --- partner_interest_group/i18n/partner_interest_group.pot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/partner_interest_group/i18n/partner_interest_group.pot b/partner_interest_group/i18n/partner_interest_group.pot index 9b7090e0de0..a553db68e62 100644 --- a/partner_interest_group/i18n/partner_interest_group.pot +++ b/partner_interest_group/i18n/partner_interest_group.pot @@ -18,6 +18,11 @@ msgstr "" msgid "Active" msgstr "" +#. module: partner_interest_group +#: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group__company_id +msgid "Company" +msgstr "" + #. module: partner_interest_group #: model:ir.model,name:partner_interest_group.model_res_partner_interest_group msgid "Configurable Interest Group for Partners" From 8943a9165a1c423a3e9e99b177df266441e5dde4 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 18 Mar 2024 09:27:22 +0000 Subject: [PATCH 7/8] [BOT] post-merge updates --- README.md | 2 +- partner_interest_group/README.rst | 2 +- partner_interest_group/__manifest__.py | 2 +- partner_interest_group/static/description/index.html | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cd0f8cea66d..17b3f630dca 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ addon | version | maintainers | summary [partner_identification_eori](partner_identification_eori/) | 16.0.1.0.0 | | This addon extends "Partner Identification Numbers" to provide a number category for EORI Number [partner_identification_gln](partner_identification_gln/) | 16.0.1.0.1 | | This addon extends "Partner Identification Numbers" to provide a number category for GLN registration [partner_industry_secondary](partner_industry_secondary/) | 16.0.1.0.1 | | Add secondary partner industries -[partner_interest_group](partner_interest_group/) | 16.0.1.1.0 | [![victor-champonnois](https://github.com/victor-champonnois.png?size=30px)](https://github.com/victor-champonnois) | Add Interest Group to Partners +[partner_interest_group](partner_interest_group/) | 16.0.1.2.0 | [![victor-champonnois](https://github.com/victor-champonnois.png?size=30px)](https://github.com/victor-champonnois) | Add Interest Group to Partners [partner_label](partner_label/) | 16.0.1.0.0 | | Print partner labels [partner_lastname_uppercase](partner_lastname_uppercase/) | 16.0.1.0.1 | | Uppercases the the last names of partners [partner_manual_rank](partner_manual_rank/) | 16.0.1.1.2 | [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) [![frahikLV](https://github.com/frahikLV.png?size=30px)](https://github.com/frahikLV) | Be able to manually flag partners as customer or supplier. diff --git a/partner_interest_group/README.rst b/partner_interest_group/README.rst index d832d455b5c..3138f7e9b0d 100644 --- a/partner_interest_group/README.rst +++ b/partner_interest_group/README.rst @@ -7,7 +7,7 @@ Partner Interest Group !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:f870a02c04eae27f79bf2540539573a8dc3af0f67d8a41d7b0a639a2d78a7fc9 + !! source digest: sha256:fbf0ef464e79195f5f811a3105be7dc7df24a2e6b8adfd41f52f96d1d6b8c24f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/partner_interest_group/__manifest__.py b/partner_interest_group/__manifest__.py index 734f3114f9a..cd363251396 100644 --- a/partner_interest_group/__manifest__.py +++ b/partner_interest_group/__manifest__.py @@ -6,7 +6,7 @@ "name": "Partner Interest Group", "summary": """ Add Interest Group to Partners""", - "version": "16.0.1.1.0", + "version": "16.0.1.2.0", "category": "Partner", "website": "https://github.com/OCA/partner-contact", "author": "Coop IT Easy SC, Odoo Community Association (OCA)", diff --git a/partner_interest_group/static/description/index.html b/partner_interest_group/static/description/index.html index 009f898459d..7a017c77d34 100644 --- a/partner_interest_group/static/description/index.html +++ b/partner_interest_group/static/description/index.html @@ -1,4 +1,3 @@ - @@ -367,7 +366,7 @@

    Partner Interest Group

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:f870a02c04eae27f79bf2540539573a8dc3af0f67d8a41d7b0a639a2d78a7fc9 +!! source digest: sha256:fbf0ef464e79195f5f811a3105be7dc7df24a2e6b8adfd41f52f96d1d6b8c24f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

    Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

    Adds an Interests Group field (many2many), with configurable From 4724fc7f985ad4e4ea5bf5ac9195a1418ae278b5 Mon Sep 17 00:00:00 2001 From: Weblate Date: Mon, 18 Mar 2024 09:27:32 +0000 Subject: [PATCH 8/8] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: partner-contact-16.0/partner-contact-16.0-partner_interest_group Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_interest_group/ --- partner_interest_group/i18n/es.po | 1 + partner_interest_group/i18n/fi.po | 5 +++++ partner_interest_group/i18n/fr.po | 5 +++++ partner_interest_group/i18n/it.po | 5 +++++ 4 files changed, 16 insertions(+) diff --git a/partner_interest_group/i18n/es.po b/partner_interest_group/i18n/es.po index 7f622feceb1..b40a9fac885 100644 --- a/partner_interest_group/i18n/es.po +++ b/partner_interest_group/i18n/es.po @@ -10,6 +10,7 @@ msgstr "" "PO-Revision-Date: 2024-01-30 14:22+0000\n" "Last-Translator: \n" "Language-Team: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" diff --git a/partner_interest_group/i18n/fi.po b/partner_interest_group/i18n/fi.po index e492eaaa598..0fdcaf37431 100644 --- a/partner_interest_group/i18n/fi.po +++ b/partner_interest_group/i18n/fi.po @@ -21,6 +21,11 @@ msgstr "" msgid "Active" msgstr "Aktiivinen" +#. module: partner_interest_group +#: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group__company_id +msgid "Company" +msgstr "" + #. module: partner_interest_group #: model:ir.model,name:partner_interest_group.model_res_partner_interest_group msgid "Configurable Interest Group for Partners" diff --git a/partner_interest_group/i18n/fr.po b/partner_interest_group/i18n/fr.po index dca14d87b4b..e026f359df9 100644 --- a/partner_interest_group/i18n/fr.po +++ b/partner_interest_group/i18n/fr.po @@ -21,6 +21,11 @@ msgstr "" msgid "Active" msgstr "Actif" +#. module: partner_interest_group +#: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group__company_id +msgid "Company" +msgstr "" + #. module: partner_interest_group #: model:ir.model,name:partner_interest_group.model_res_partner_interest_group msgid "Configurable Interest Group for Partners" diff --git a/partner_interest_group/i18n/it.po b/partner_interest_group/i18n/it.po index aaaa952455a..19b1bb2681a 100644 --- a/partner_interest_group/i18n/it.po +++ b/partner_interest_group/i18n/it.po @@ -21,6 +21,11 @@ msgstr "" msgid "Active" msgstr "Attivo" +#. module: partner_interest_group +#: model:ir.model.fields,field_description:partner_interest_group.field_res_partner_interest_group__company_id +msgid "Company" +msgstr "" + #. module: partner_interest_group #: model:ir.model,name:partner_interest_group.model_res_partner_interest_group msgid "Configurable Interest Group for Partners"