diff --git a/partner_multi_relation/i18n/partner_multi_relation.pot b/partner_multi_relation/i18n/partner_multi_relation.pot index b01213a76..12f7212e8 100644 --- a/partner_multi_relation/i18n/partner_multi_relation.pot +++ b/partner_multi_relation/i18n/partner_multi_relation.pot @@ -167,6 +167,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: partner_multi_relation +#: model:ir.model.fields,help:partner_multi_relation.field_res_partner_relation_type_is_unique +msgid "If a relation type is unique, then there cannot be 2relations with the same parties and the same type." +msgstr "" + #. module: partner_multi_relation #: model:ir.ui.view,arch_db:partner_multi_relation.search_res_partner_relation_all msgid "Include past records" @@ -188,6 +193,11 @@ msgstr "" msgid "Inverse relations are from right to left partner." msgstr "" +#. module: partner_multi_relation +#: model:ir.model.fields,field_description:partner_multi_relation.field_res_partner_relation_type_is_unique +msgid "Is Unique" +msgstr "" + #. module: partner_multi_relation #: model:res.partner.relation.type,name:partner_multi_relation.rel_type_assistant msgid "Is assistant of" @@ -270,7 +280,7 @@ msgid "One Partner" msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:82 +#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:87 #, python-format msgid "Organisation" msgstr "" @@ -317,13 +327,13 @@ msgid "Partner relation" msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation.py:115 +#: code:addons/partner_multi_relation/models/res_partner_relation.py:125 #, python-format msgid "Partners cannot have a relation with themselves." msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:83 +#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:88 #, python-format msgid "Person" msgstr "" @@ -352,7 +362,7 @@ msgid "Reflexive" msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:196 +#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:201 #, python-format msgid "Reflexivity could not be disabled for the relation type {relation_type}. There are existing reflexive relations defined for the following partners: {partners}" msgstr "" @@ -373,6 +383,13 @@ msgstr "" msgid "Relation Types" msgstr "" +#. module: partner_multi_relation +#: code:addons/partner_multi_relation/models/res_partner_relation.py:52 +#: code:addons/partner_multi_relation/models/res_partner_relation.py:59 +#, python-format +msgid "Relation already exists!" +msgstr "" + #. module: partner_multi_relation #: code:addons/partner_multi_relation/models/res_partner_relation_all.py:316 #, python-format @@ -456,13 +473,13 @@ msgid "Symmetric" msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation.py:101 +#: code:addons/partner_multi_relation/models/res_partner_relation.py:111 #, python-format msgid "The %s partner does not have category %s." msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation.py:95 +#: code:addons/partner_multi_relation/models/res_partner_relation.py:105 #, python-format msgid "The %s partner is not applicable for this relation type." msgstr "" @@ -478,19 +495,19 @@ msgid "The id of the object in the model this relation is based on." msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation.py:62 +#: code:addons/partner_multi_relation/models/res_partner_relation.py:72 #, python-format msgid "The starting date cannot be after the ending date." msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:165 +#: code:addons/partner_multi_relation/models/res_partner_relation_type.py:170 #, python-format msgid "There are already relations not satisfying the conditions for partner type or category." msgstr "" #. module: partner_multi_relation -#: code:addons/partner_multi_relation/models/res_partner_relation.py:154 +#: code:addons/partner_multi_relation/models/res_partner_relation.py:164 #, python-format msgid "There is already a similar relation with overlapping dates" msgstr "" @@ -506,7 +523,7 @@ msgid "This relation is the same from right to left as from left to right" msgstr "" #. module: partner_multi_relation -#: model:ir.model.fields,field_description:partner_multi_relation.field_res_partner_relation_type_id_4102 +#: model:ir.model.fields,field_description:partner_multi_relation.field_res_partner_relation_type_id_4103 #: model:ir.model.fields,field_description:partner_multi_relation.field_res_partner_relation_type_selection_type_id msgid "Type" msgstr ""