From 694d610fb2100b7fc9983da03d63e8610c9e37af Mon Sep 17 00:00:00 2001 From: ceeficent Date: Thu, 8 Aug 2019 11:58:54 +0200 Subject: [PATCH 01/14] Add Readme --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..182e22b3 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +My Odoo Custom Addons From 4c0770e340106022c45af398d799efd1a5aa90b9 Mon Sep 17 00:00:00 2001 From: ceeficent Date: Thu, 8 Aug 2019 12:09:21 +0200 Subject: [PATCH 02/14] add_module --- partner_contact_driving_license/README.rst | 80 ++++ partner_contact_driving_license/__init__.py | 3 + .../__manifest__.py | 26 ++ partner_contact_driving_license/hooks.py | 19 + partner_contact_driving_license/i18n/am.po | 48 ++ partner_contact_driving_license/i18n/ar.po | 49 ++ partner_contact_driving_license/i18n/bg.po | 48 ++ partner_contact_driving_license/i18n/bs.po | 49 ++ partner_contact_driving_license/i18n/ca.po | 48 ++ partner_contact_driving_license/i18n/cs.po | 48 ++ partner_contact_driving_license/i18n/da.po | 49 ++ partner_contact_driving_license/i18n/de.po | 48 ++ partner_contact_driving_license/i18n/el_GR.po | 49 ++ partner_contact_driving_license/i18n/en_GB.po | 49 ++ partner_contact_driving_license/i18n/es.po | 49 ++ partner_contact_driving_license/i18n/es_CR.po | 49 ++ partner_contact_driving_license/i18n/es_EC.po | 49 ++ partner_contact_driving_license/i18n/es_MX.po | 49 ++ partner_contact_driving_license/i18n/es_VE.po | 49 ++ partner_contact_driving_license/i18n/et.po | 48 ++ partner_contact_driving_license/i18n/eu.po | 48 ++ partner_contact_driving_license/i18n/fi.po | 49 ++ partner_contact_driving_license/i18n/fr.po | 48 ++ partner_contact_driving_license/i18n/fr_CA.po | 49 ++ partner_contact_driving_license/i18n/fr_CH.po | 49 ++ partner_contact_driving_license/i18n/gl.po | 48 ++ partner_contact_driving_license/i18n/hr.po | 49 ++ partner_contact_driving_license/i18n/hr_HR.po | 50 ++ partner_contact_driving_license/i18n/hu.po | 48 ++ partner_contact_driving_license/i18n/it.po | 48 ++ partner_contact_driving_license/i18n/ja.po | 48 ++ partner_contact_driving_license/i18n/lt.po | 49 ++ partner_contact_driving_license/i18n/lv.po | 49 ++ partner_contact_driving_license/i18n/mk.po | 48 ++ partner_contact_driving_license/i18n/mn.po | 48 ++ partner_contact_driving_license/i18n/nb.po | 49 ++ partner_contact_driving_license/i18n/nb_NO.po | 49 ++ partner_contact_driving_license/i18n/nl.po | 48 ++ partner_contact_driving_license/i18n/nl_BE.po | 49 ++ partner_contact_driving_license/i18n/nl_NL.po | 49 ++ .../i18n/partner_contact_gender.pot | 41 ++ .../i18n/partner_gender.pot | 37 ++ partner_contact_driving_license/i18n/pl.po | 50 ++ partner_contact_driving_license/i18n/pt.po | 48 ++ partner_contact_driving_license/i18n/pt_BR.po | 48 ++ partner_contact_driving_license/i18n/pt_PT.po | 49 ++ partner_contact_driving_license/i18n/ro.po | 49 ++ partner_contact_driving_license/i18n/ru.po | 50 ++ partner_contact_driving_license/i18n/sk.po | 48 ++ partner_contact_driving_license/i18n/sl.po | 49 ++ .../i18n/sr@latin.po | 50 ++ partner_contact_driving_license/i18n/sv.po | 48 ++ partner_contact_driving_license/i18n/th.po | 48 ++ partner_contact_driving_license/i18n/tr.po | 48 ++ partner_contact_driving_license/i18n/tr_TR.po | 49 ++ partner_contact_driving_license/i18n/vi.po | 48 ++ partner_contact_driving_license/i18n/zh_CN.po | 49 ++ partner_contact_driving_license/i18n/zh_TW.po | 49 ++ .../models/__init__.py | 2 + .../models/res_partner.py | 13 + .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 2 + .../readme/USAGE.rst | 2 + .../static/description/icon.png | Bin 0 -> 2686 bytes .../static/description/icon.svg | 45 ++ .../static/description/index.html | 429 ++++++++++++++++++ .../tests/__init__.py | 2 + .../tests/test_partner_contact_gender.py | 18 + .../views/res_partner.xml | 13 + partner_status_certification/README.rst | 1 + partner_status_certification/__init__.py | 1 + partner_status_certification/__manifest__.py | 19 + .../models/__init__.py | 2 + .../models/partner_status_certification.py | 15 + .../models/res_partner.py | 11 + .../security/ir.model.access.csv | 2 + .../tests/__init__.py | 1 + .../test_partner_status_certification.py | 23 + .../views/partner_status_certification.xml | 50 ++ .../views/res_partner.xml | 30 ++ 80 files changed, 3420 insertions(+) create mode 100644 partner_contact_driving_license/README.rst create mode 100644 partner_contact_driving_license/__init__.py create mode 100644 partner_contact_driving_license/__manifest__.py create mode 100644 partner_contact_driving_license/hooks.py create mode 100644 partner_contact_driving_license/i18n/am.po create mode 100644 partner_contact_driving_license/i18n/ar.po create mode 100644 partner_contact_driving_license/i18n/bg.po create mode 100644 partner_contact_driving_license/i18n/bs.po create mode 100644 partner_contact_driving_license/i18n/ca.po create mode 100644 partner_contact_driving_license/i18n/cs.po create mode 100644 partner_contact_driving_license/i18n/da.po create mode 100644 partner_contact_driving_license/i18n/de.po create mode 100644 partner_contact_driving_license/i18n/el_GR.po create mode 100644 partner_contact_driving_license/i18n/en_GB.po create mode 100644 partner_contact_driving_license/i18n/es.po create mode 100644 partner_contact_driving_license/i18n/es_CR.po create mode 100644 partner_contact_driving_license/i18n/es_EC.po create mode 100644 partner_contact_driving_license/i18n/es_MX.po create mode 100644 partner_contact_driving_license/i18n/es_VE.po create mode 100644 partner_contact_driving_license/i18n/et.po create mode 100644 partner_contact_driving_license/i18n/eu.po create mode 100644 partner_contact_driving_license/i18n/fi.po create mode 100644 partner_contact_driving_license/i18n/fr.po create mode 100644 partner_contact_driving_license/i18n/fr_CA.po create mode 100644 partner_contact_driving_license/i18n/fr_CH.po create mode 100644 partner_contact_driving_license/i18n/gl.po create mode 100644 partner_contact_driving_license/i18n/hr.po create mode 100644 partner_contact_driving_license/i18n/hr_HR.po create mode 100644 partner_contact_driving_license/i18n/hu.po create mode 100644 partner_contact_driving_license/i18n/it.po create mode 100644 partner_contact_driving_license/i18n/ja.po create mode 100644 partner_contact_driving_license/i18n/lt.po create mode 100644 partner_contact_driving_license/i18n/lv.po create mode 100644 partner_contact_driving_license/i18n/mk.po create mode 100644 partner_contact_driving_license/i18n/mn.po create mode 100644 partner_contact_driving_license/i18n/nb.po create mode 100644 partner_contact_driving_license/i18n/nb_NO.po create mode 100644 partner_contact_driving_license/i18n/nl.po create mode 100644 partner_contact_driving_license/i18n/nl_BE.po create mode 100644 partner_contact_driving_license/i18n/nl_NL.po create mode 100644 partner_contact_driving_license/i18n/partner_contact_gender.pot create mode 100644 partner_contact_driving_license/i18n/partner_gender.pot create mode 100644 partner_contact_driving_license/i18n/pl.po create mode 100644 partner_contact_driving_license/i18n/pt.po create mode 100644 partner_contact_driving_license/i18n/pt_BR.po create mode 100644 partner_contact_driving_license/i18n/pt_PT.po create mode 100644 partner_contact_driving_license/i18n/ro.po create mode 100644 partner_contact_driving_license/i18n/ru.po create mode 100644 partner_contact_driving_license/i18n/sk.po create mode 100644 partner_contact_driving_license/i18n/sl.po create mode 100644 partner_contact_driving_license/i18n/sr@latin.po create mode 100644 partner_contact_driving_license/i18n/sv.po create mode 100644 partner_contact_driving_license/i18n/th.po create mode 100644 partner_contact_driving_license/i18n/tr.po create mode 100644 partner_contact_driving_license/i18n/tr_TR.po create mode 100644 partner_contact_driving_license/i18n/vi.po create mode 100644 partner_contact_driving_license/i18n/zh_CN.po create mode 100644 partner_contact_driving_license/i18n/zh_TW.po create mode 100644 partner_contact_driving_license/models/__init__.py create mode 100644 partner_contact_driving_license/models/res_partner.py create mode 100644 partner_contact_driving_license/readme/CONTRIBUTORS.rst create mode 100644 partner_contact_driving_license/readme/DESCRIPTION.rst create mode 100644 partner_contact_driving_license/readme/USAGE.rst create mode 100644 partner_contact_driving_license/static/description/icon.png create mode 100644 partner_contact_driving_license/static/description/icon.svg create mode 100644 partner_contact_driving_license/static/description/index.html create mode 100644 partner_contact_driving_license/tests/__init__.py create mode 100644 partner_contact_driving_license/tests/test_partner_contact_gender.py create mode 100644 partner_contact_driving_license/views/res_partner.xml create mode 100644 partner_status_certification/README.rst create mode 100644 partner_status_certification/__init__.py create mode 100644 partner_status_certification/__manifest__.py create mode 100644 partner_status_certification/models/__init__.py create mode 100644 partner_status_certification/models/partner_status_certification.py create mode 100644 partner_status_certification/models/res_partner.py create mode 100644 partner_status_certification/security/ir.model.access.csv create mode 100644 partner_status_certification/tests/__init__.py create mode 100644 partner_status_certification/tests/test_partner_status_certification.py create mode 100644 partner_status_certification/views/partner_status_certification.xml create mode 100644 partner_status_certification/views/res_partner.xml diff --git a/partner_contact_driving_license/README.rst b/partner_contact_driving_license/README.rst new file mode 100644 index 00000000..5060233e --- /dev/null +++ b/partner_contact_driving_license/README.rst @@ -0,0 +1,80 @@ +======================== +Contact driving license +======================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/12.0/partner_contact_gender + :alt: OCA/partner-contact +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_contact_gender + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/134/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Indicates if the partner has a driving license. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== +New 'checkbox' is included in the Personal Information tab on the partner form. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Grupo ESOC +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* Holger Brunn +* Jairo Llopis +* Richard deMeester + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/partner-contact `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_contact_driving_license/__init__.py b/partner_contact_driving_license/__init__.py new file mode 100644 index 00000000..f3aede77 --- /dev/null +++ b/partner_contact_driving_license/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from . import models +from .hooks import post_init_hook diff --git a/partner_contact_driving_license/__manifest__.py b/partner_contact_driving_license/__manifest__.py new file mode 100644 index 00000000..564aed5b --- /dev/null +++ b/partner_contact_driving_license/__manifest__.py @@ -0,0 +1,26 @@ +# Copyright 2014-2015 Grupo ESOC +# Copyright 2017-Apertoso N.V. () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +{ + "name": "Contact driving license", + "summary": "Add driving license field to contacts", + 'version': '12.0.1.0.0', + "category": "Customer Relationship Management", + "website": "https://github.com/oca/partner-contact", + "author": "Grupo ESOC, Tecnativa, Odoo Community Association (OCA)", + "contributors": [ + 'Jairo Llopis ', + 'Richard deMeester ', + ], + "license": "AGPL-3", + 'application': False, + 'installable': True, + 'auto_install': False, + "depends": [ + "partner_contact_personal_information_page", + ], + "data": [ + "views/res_partner.xml", + ], + 'post_init_hook': 'post_init_hook', +} diff --git a/partner_contact_driving_license/hooks.py b/partner_contact_driving_license/hooks.py new file mode 100644 index 00000000..2a9ae744 --- /dev/null +++ b/partner_contact_driving_license/hooks.py @@ -0,0 +1,19 @@ +# Copyright 2016-2018 Therp BV . +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from odoo import api, SUPERUSER_ID + + +def post_init_hook(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + gender_mappings = { + 'female': + env.ref('base.res_partner_title_madam') + + env.ref('base.res_partner_title_miss'), + 'male': env.ref('base.res_partner_title_mister') + } + for gender, titles in list(gender_mappings.items()): + env['res.partner'].with_context(active_test=False).search([ + ('title', 'in', titles.ids), + ]).write({ + 'gender': gender, + }) diff --git a/partner_contact_driving_license/i18n/am.po b/partner_contact_driving_license/i18n/am.po new file mode 100644 index 00000000..f62b6bc8 --- /dev/null +++ b/partner_contact_driving_license/i18n/am.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"Language: am\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "ተባባሪ" diff --git a/partner_contact_driving_license/i18n/ar.po b/partner_contact_driving_license/i18n/ar.po new file mode 100644 index 00000000..774f0590 --- /dev/null +++ b/partner_contact_driving_license/i18n/ar.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "الشريك" diff --git a/partner_contact_driving_license/i18n/bg.po b/partner_contact_driving_license/i18n/bg.po new file mode 100644 index 00000000..4f16d687 --- /dev/null +++ b/partner_contact_driving_license/i18n/bg.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Партньор" diff --git a/partner_contact_driving_license/i18n/bs.po b/partner_contact_driving_license/i18n/bs.po new file mode 100644 index 00000000..6f00e271 --- /dev/null +++ b/partner_contact_driving_license/i18n/bs.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" +"Language: bs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/ca.po b/partner_contact_driving_license/i18n/ca.po new file mode 100644 index 00000000..5bc2bfd3 --- /dev/null +++ b/partner_contact_driving_license/i18n/ca.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/cs.po b/partner_contact_driving_license/i18n/cs.po new file mode 100644 index 00000000..1b592033 --- /dev/null +++ b/partner_contact_driving_license/i18n/cs.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Společník" diff --git a/partner_contact_driving_license/i18n/da.po b/partner_contact_driving_license/i18n/da.po new file mode 100644 index 00000000..3e6dd3c7 --- /dev/null +++ b/partner_contact_driving_license/i18n/da.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-12-17 01:36+0000\n" +"PO-Revision-Date: 2019-07-30 14:44+0000\n" +"Last-Translator: Hans Henrik Gabelgaard \n" +"Language-Team: Danish (http://www.transifex.com/oca/OCA-partner-contact-9-0/" +"language/da/)\n" +"Language: da\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 3.7.1\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "Kontakt" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Kvinde" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Køn" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Mand" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Andet" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/de.po b/partner_contact_driving_license/i18n/de.po new file mode 100644 index 00000000..0d6aeb03 --- /dev/null +++ b/partner_contact_driving_license/i18n/de.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Weiblich" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Geschlecht" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Männlich" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Andere" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/el_GR.po b/partner_contact_driving_license/i18n/el_GR.po new file mode 100644 index 00000000..b3c23967 --- /dev/null +++ b/partner_contact_driving_license/i18n/el_GR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Συνεργάτης" diff --git a/partner_contact_driving_license/i18n/en_GB.po b/partner_contact_driving_license/i18n/en_GB.po new file mode 100644 index 00000000..04cf131b --- /dev/null +++ b/partner_contact_driving_license/i18n/en_GB.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/" +"teams/23907/en_GB/)\n" +"Language: en_GB\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/es.po b/partner_contact_driving_license/i18n/es.po new file mode 100644 index 00000000..dea67ce2 --- /dev/null +++ b/partner_contact_driving_license/i18n/es.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2019-03-01 10:53+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\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 3.4\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Femenino" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Género" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Masculino" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Otro" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/es_CR.po b/partner_contact_driving_license/i18n/es_CR.po new file mode 100644 index 00000000..62964681 --- /dev/null +++ b/partner_contact_driving_license/i18n/es_CR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/" +"teams/23907/es_CR/)\n" +"Language: es_CR\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/es_EC.po b/partner_contact_driving_license/i18n/es_EC.po new file mode 100644 index 00000000..385b40ee --- /dev/null +++ b/partner_contact_driving_license/i18n/es_EC.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: es_EC\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/es_MX.po b/partner_contact_driving_license/i18n/es_MX.po new file mode 100644 index 00000000..aa94a05f --- /dev/null +++ b/partner_contact_driving_license/i18n/es_MX.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"es_MX/)\n" +"Language: es_MX\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/es_VE.po b/partner_contact_driving_license/i18n/es_VE.po new file mode 100644 index 00000000..cd23fce6 --- /dev/null +++ b/partner_contact_driving_license/i18n/es_VE.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/et.po b/partner_contact_driving_license/i18n/et.po new file mode 100644 index 00000000..8c3e2214 --- /dev/null +++ b/partner_contact_driving_license/i18n/et.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"Language: et\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/eu.po b/partner_contact_driving_license/i18n/eu.po new file mode 100644 index 00000000..cd1bd4aa --- /dev/null +++ b/partner_contact_driving_license/i18n/eu.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" +"Language: eu\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Kidea" diff --git a/partner_contact_driving_license/i18n/fi.po b/partner_contact_driving_license/i18n/fi.po new file mode 100644 index 00000000..fbf59661 --- /dev/null +++ b/partner_contact_driving_license/i18n/fi.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +# Timo Talvitie , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-17 02:52+0000\n" +"PO-Revision-Date: 2017-08-17 02:52+0000\n" +"Last-Translator: Timo Talvitie , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Nainen" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Sukupuoli" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Mies" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Muu" + +#~ msgid "Partner" +#~ msgstr "Kumppani" diff --git a/partner_contact_driving_license/i18n/fr.po b/partner_contact_driving_license/i18n/fr.po new file mode 100644 index 00000000..5291b84a --- /dev/null +++ b/partner_contact_driving_license/i18n/fr.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Femme" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Genre" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Homme" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Autre" + +#~ msgid "Partner" +#~ msgstr "Partenaire" diff --git a/partner_contact_driving_license/i18n/fr_CA.po b/partner_contact_driving_license/i18n/fr_CA.po new file mode 100644 index 00000000..f23de008 --- /dev/null +++ b/partner_contact_driving_license/i18n/fr_CA.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" +"fr_CA/)\n" +"Language: fr_CA\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partenaire" diff --git a/partner_contact_driving_license/i18n/fr_CH.po b/partner_contact_driving_license/i18n/fr_CH.po new file mode 100644 index 00000000..ad4a2ee4 --- /dev/null +++ b/partner_contact_driving_license/i18n/fr_CH.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partenaire" diff --git a/partner_contact_driving_license/i18n/gl.po b/partner_contact_driving_license/i18n/gl.po new file mode 100644 index 00000000..1a0bfca9 --- /dev/null +++ b/partner_contact_driving_license/i18n/gl.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/partner_contact_driving_license/i18n/hr.po b/partner_contact_driving_license/i18n/hr.po new file mode 100644 index 00000000..04f7fb15 --- /dev/null +++ b/partner_contact_driving_license/i18n/hr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/hr_HR.po b/partner_contact_driving_license/i18n/hr_HR.po new file mode 100644 index 00000000..9b226aa3 --- /dev/null +++ b/partner_contact_driving_license/i18n/hr_HR.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Žensko" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Spol" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Muško" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Ostali" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/hu.po b/partner_contact_driving_license/i18n/hu.po new file mode 100644 index 00000000..30199219 --- /dev/null +++ b/partner_contact_driving_license/i18n/hu.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" +"Language: hu\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/it.po b/partner_contact_driving_license/i18n/it.po new file mode 100644 index 00000000..633c1333 --- /dev/null +++ b/partner_contact_driving_license/i18n/it.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" +"Language: it\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Femmina" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Genere" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Maschio" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Altro" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/ja.po b/partner_contact_driving_license/i18n/ja.po new file mode 100644 index 00000000..c0102adc --- /dev/null +++ b/partner_contact_driving_license/i18n/ja.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "パートナ" diff --git a/partner_contact_driving_license/i18n/lt.po b/partner_contact_driving_license/i18n/lt.po new file mode 100644 index 00000000..14e84fa2 --- /dev/null +++ b/partner_contact_driving_license/i18n/lt.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n" +"Language: lt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partneris" diff --git a/partner_contact_driving_license/i18n/lv.po b/partner_contact_driving_license/i18n/lv.po new file mode 100644 index 00000000..974fb0b4 --- /dev/null +++ b/partner_contact_driving_license/i18n/lv.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partneris" diff --git a/partner_contact_driving_license/i18n/mk.po b/partner_contact_driving_license/i18n/mk.po new file mode 100644 index 00000000..91a2ba00 --- /dev/null +++ b/partner_contact_driving_license/i18n/mk.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n" +"Language: mk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Партнер" diff --git a/partner_contact_driving_license/i18n/mn.po b/partner_contact_driving_license/i18n/mn.po new file mode 100644 index 00000000..4cb4e409 --- /dev/null +++ b/partner_contact_driving_license/i18n/mn.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n" +"Language: mn\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Харилцагч" diff --git a/partner_contact_driving_license/i18n/nb.po b/partner_contact_driving_license/i18n/nb.po new file mode 100644 index 00000000..ecfe5a3c --- /dev/null +++ b/partner_contact_driving_license/i18n/nb.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"nb/)\n" +"Language: nb\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/nb_NO.po b/partner_contact_driving_license/i18n/nb_NO.po new file mode 100644 index 00000000..8902ab25 --- /dev/null +++ b/partner_contact_driving_license/i18n/nb_NO.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: nb_NO\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/nl.po b/partner_contact_driving_license/i18n/nl.po new file mode 100644 index 00000000..4750f781 --- /dev/null +++ b/partner_contact_driving_license/i18n/nl.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Vrouw" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Geslacht" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Man" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Overige" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/nl_BE.po b/partner_contact_driving_license/i18n/nl_BE.po new file mode 100644 index 00000000..e223bb0d --- /dev/null +++ b/partner_contact_driving_license/i18n/nl_BE.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/" +"nl_BE/)\n" +"Language: nl_BE\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Relatie" diff --git a/partner_contact_driving_license/i18n/nl_NL.po b/partner_contact_driving_license/i18n/nl_NL.po new file mode 100644 index 00000000..b32b7e54 --- /dev/null +++ b/partner_contact_driving_license/i18n/nl_NL.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Geslacht" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Relatie" diff --git a/partner_contact_driving_license/i18n/partner_contact_gender.pot b/partner_contact_driving_license/i18n/partner_contact_gender.pot new file mode 100644 index 00000000..9b2b8148 --- /dev/null +++ b/partner_contact_driving_license/i18n/partner_contact_gender.pot @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \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: \n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + diff --git a/partner_contact_driving_license/i18n/partner_gender.pot b/partner_contact_driving_license/i18n/partner_gender.pot new file mode 100644 index 00000000..b7839051 --- /dev/null +++ b/partner_contact_driving_license/i18n/partner_gender.pot @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_gender +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0-20150514\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-05-18 10:55+0000\n" +"PO-Revision-Date: 2015-05-18 10:55+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: \n" + +#. module: partner_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_gender +#: field:res.partner,gender:0 +msgid "Gender" +msgstr "" + +#. module: partner_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_gender +#: model:ir.model,name:partner_gender.model_res_partner +msgid "Partner" +msgstr "" + diff --git a/partner_contact_driving_license/i18n/pl.po b/partner_contact_driving_license/i18n/pl.po new file mode 100644 index 00000000..9298d3ad --- /dev/null +++ b/partner_contact_driving_license/i18n/pl.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/pt.po b/partner_contact_driving_license/i18n/pt.po new file mode 100644 index 00000000..4f094fb4 --- /dev/null +++ b/partner_contact_driving_license/i18n/pt.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# Tiago Baptista , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-14 03:37+0000\n" +"PO-Revision-Date: 2016-11-14 03:37+0000\n" +"Last-Translator: Tiago Baptista , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" +"Language: pt\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Parceiro" diff --git a/partner_contact_driving_license/i18n/pt_BR.po b/partner_contact_driving_license/i18n/pt_BR.po new file mode 100644 index 00000000..db7307bc --- /dev/null +++ b/partner_contact_driving_license/i18n/pt_BR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (9.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-12-17 01:36+0000\n" +"PO-Revision-Date: 2015-12-15 11:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-" +"contact-9-0/language/pt_BR/)\n" +"Language: pt_BR\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Parceiro" diff --git a/partner_contact_driving_license/i18n/pt_PT.po b/partner_contact_driving_license/i18n/pt_PT.po new file mode 100644 index 00000000..903847f9 --- /dev/null +++ b/partner_contact_driving_license/i18n/pt_PT.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Feminino" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Género" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Masculino" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Outro" + +#~ msgid "Partner" +#~ msgstr "Parceiro" diff --git a/partner_contact_driving_license/i18n/ro.po b/partner_contact_driving_license/i18n/ro.po new file mode 100644 index 00000000..10d2a9de --- /dev/null +++ b/partner_contact_driving_license/i18n/ro.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partener" diff --git a/partner_contact_driving_license/i18n/ru.po b/partner_contact_driving_license/i18n/ru.po new file mode 100644 index 00000000..399a63c0 --- /dev/null +++ b/partner_contact_driving_license/i18n/ru.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Контрагент" diff --git a/partner_contact_driving_license/i18n/sk.po b/partner_contact_driving_license/i18n/sk.po new file mode 100644 index 00000000..7454d499 --- /dev/null +++ b/partner_contact_driving_license/i18n/sk.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/sl.po b/partner_contact_driving_license/i18n/sl.po new file mode 100644 index 00000000..f85f6c10 --- /dev/null +++ b/partner_contact_driving_license/i18n/sl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-01 20:43+0000\n" +"PO-Revision-Date: 2017-05-01 20:43+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "Ženski" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "Spol" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "Moški" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "Drugo" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/sr@latin.po b/partner_contact_driving_license/i18n/sr@latin.po new file mode 100644 index 00000000..62528c0c --- /dev/null +++ b/partner_contact_driving_license/i18n/sr@latin.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/" +"sr@latin/)\n" +"Language: sr@latin\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/partner_contact_driving_license/i18n/sv.po b/partner_contact_driving_license/i18n/sv.po new file mode 100644 index 00000000..6d9064ae --- /dev/null +++ b/partner_contact_driving_license/i18n/sv.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" +"Language: sv\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Företag" diff --git a/partner_contact_driving_license/i18n/th.po b/partner_contact_driving_license/i18n/th.po new file mode 100644 index 00000000..a1f21ebd --- /dev/null +++ b/partner_contact_driving_license/i18n/th.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"Language: th\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "พาร์ทเนอร์" diff --git a/partner_contact_driving_license/i18n/tr.po b/partner_contact_driving_license/i18n/tr.po new file mode 100644 index 00000000..ae75d9cd --- /dev/null +++ b/partner_contact_driving_license/i18n/tr.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" +"Language: tr\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" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "İş Ortağı" diff --git a/partner_contact_driving_license/i18n/tr_TR.po b/partner_contact_driving_license/i18n/tr_TR.po new file mode 100644 index 00000000..b38e8503 --- /dev/null +++ b/partner_contact_driving_license/i18n/tr_TR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Ortak" diff --git a/partner_contact_driving_license/i18n/vi.po b/partner_contact_driving_license/i18n/vi.po new file mode 100644 index 00000000..98cee645 --- /dev/null +++ b/partner_contact_driving_license/i18n/vi.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "Đối tác" diff --git a/partner_contact_driving_license/i18n/zh_CN.po b/partner_contact_driving_license/i18n/zh_CN.po new file mode 100644 index 00000000..3ecd7689 --- /dev/null +++ b/partner_contact_driving_license/i18n/zh_CN.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "业务伙伴" diff --git a/partner_contact_driving_license/i18n/zh_TW.po b/partner_contact_driving_license/i18n/zh_TW.po new file mode 100644 index 00000000..70c8f410 --- /dev/null +++ b/partner_contact_driving_license/i18n/zh_TW.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_gender +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/" +"zh_TW/)\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: partner_contact_gender +#: model:ir.model,name:partner_contact_gender.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Female" +msgstr "" + +#. module: partner_contact_gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_partner__gender +#: model:ir.model.fields,field_description:partner_contact_gender.field_res_users__gender +msgid "Gender" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Male" +msgstr "" + +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +msgid "Other" +msgstr "" + +#~ msgid "Partner" +#~ msgstr "夥伴" diff --git a/partner_contact_driving_license/models/__init__.py b/partner_contact_driving_license/models/__init__.py new file mode 100644 index 00000000..73a41f17 --- /dev/null +++ b/partner_contact_driving_license/models/__init__.py @@ -0,0 +1,2 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from . import res_partner diff --git a/partner_contact_driving_license/models/res_partner.py b/partner_contact_driving_license/models/res_partner.py new file mode 100644 index 00000000..210b5320 --- /dev/null +++ b/partner_contact_driving_license/models/res_partner.py @@ -0,0 +1,13 @@ +# Copyright 2014-2015 Grupo ESOC +# Copyright 2017-Apertoso N.V. () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + driving_license = fields.Boolean( + string="Driving License", + help="Indicates if the contact has a driving license") diff --git a/partner_contact_driving_license/readme/CONTRIBUTORS.rst b/partner_contact_driving_license/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..0e97dc8e --- /dev/null +++ b/partner_contact_driving_license/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Holger Brunn +* Jairo Llopis +* Richard deMeester diff --git a/partner_contact_driving_license/readme/DESCRIPTION.rst b/partner_contact_driving_license/readme/DESCRIPTION.rst new file mode 100644 index 00000000..6d39abc8 --- /dev/null +++ b/partner_contact_driving_license/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module extends the contact management functionality. It allows recording +of a partner's gender. diff --git a/partner_contact_driving_license/readme/USAGE.rst b/partner_contact_driving_license/readme/USAGE.rst new file mode 100644 index 00000000..f96d3ad8 --- /dev/null +++ b/partner_contact_driving_license/readme/USAGE.rst @@ -0,0 +1,2 @@ +New item for 'Gender' can be edited on the 'Personal Information' tab of +the partner contact form. diff --git a/partner_contact_driving_license/static/description/icon.png b/partner_contact_driving_license/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e3761210a2023ef9469e5533c97466694e7c4f90 GIT binary patch literal 2686 zcmZuzdo&Y{7oW$Nw<(6mYkiT;*CTyV%wuX3^V%eY$&}ValJvFau}FDF-r2k@ z6=q*;C0n8L_D$yXMN;_r{`ouS`#I;{&-vVQ?>YD0Kkm7=oiS&n#FfPX0Du%4g>*gO zfPW1na^RzRle@(zfhl)Q4D#hD*#JfcW#V1{g z4Fn`5CFzGohR0pL6dkA^6&p-lKCOIE_!Et^#^N9Hi&LVpqpAal-cAh-p^2aM<=1Okoil+L=?)xQ2SeMjXdrv~SxT9sq` zn}#2lkF9n+^>`GTyY$(2-@~ez{nL~hVf5WN@A?~yh3`N4*P^a1OvJshkkI%q+*A{b zc;Q|v*K^NEX(~Rw%tekN%3wV?K_6w_xv{&U<@w1VTl$GQUEqQ}PL< z;fH3Q&~~TwJ<=fC@%8kD+}I4|Nmh@=@k0aS-m{&l8j3-?hZVnmNyBiTN*!__O<#}& zUsHVlRA+=ZW{^HcOE)qpReCYydT0$V7ck)z4~-70=bY(ULk~9X5CDRHUYYuk8oN1Q=ur+`vbAj0LgG5tb6{ z7rYxilTG)9y!DzE5!9@{1>^J(>aaYBE)=<(txq01>7}sq&v`u5eN-sJ!6t-pac9wL zQ||WY3FW(5)i+`!61>qQpg021lk2~$l`eJLhtl1G&Hn4wmZ*7ajAqVf$%iu8sP%W(?vx(R-&mvTG7N`tpFRsK8*ziyo_Zr9FDS+<0e0+wg)%XocGBj0=wnuf` zf8}M(v)ci=hJFhn+leCtEg?FV`-E)H^G>S#xclIBi7BhH;R;U7F$1;jEc6JY#e*w% z0r4#XA+jYA`%BYeJgX5r=X`kzIFov=t$LI~cT^q?mC67I3q{k=olhg3+w%@3!DPp` z$j$JyH5#T7Rsz>F1mwg_rXPYVD!Pf7bj<5accCx62FM~8My`?;f{)a`?SRH=NY<-v83B(*2k9Agw}G}Y2=cqsxG z6Nmc4Y0O)T!OqJ}H#+qEqH?S*%eKa|J*k2NOYs2Brtmex4}!!t72K7|CmUNfZBCIz z9K9O^W3JNKi?;T%`DMpNW9lgxK?VF4X)FKM291gQD$jlwUM~1mLXDg|`k$rV4LA$| zEl5H?BJ<}J)W7(Vz@f5UZ?&M~7D?UO^?`fc z50RRDQE8ivqs8%2k9ND|YEz{)_D;ipme*VVp7{-1(QIUb3w>@z^sF^(q5Hw)Uq+$y zKEWkcb2~)3)yZxdRBQsr;8ZuBr!pDd?+@;_E0ap)dd+?<(tqC}eqJWqu}U(`I^J_c zhirDRm&RvGp-+!@Ts=|!^>Gw1Iw|aNM8T%Geb0NGpje8tgiQkmx}Tzy6#O~bIaYi1 zhal4ALe&X^cHQ$Xg1~Cza%JrNqylsw6l5%4L9bL;Bv-bemY?ZL_N9iZ{?Zyb1ujM} zzn52=AZ{RifQdovMS$W$O3j<5bFu^2vn6+D6fY!R4tsop*ONWCsKUP%etWi!bz(&| zL~?jek7bg)SmPwyt^6U6YtyD{w&XC?s5KAJ27*Ra?L9>w!S>@VS9y|f8pq50i|g=x z9&{yoSmjR(X(l-11kdvB+{3JOoxvj@Lu@a6*aUH|uJ-L{+4o4<6`3=DP(#$xtw_sH zar#52C+#M29P>nD>ym<|TH!#mzMD#t=Hj*Ds+*RFDH5kCQ^c&<99u3s61a|-2xZ!r z`z8hWJi%>3P;vYgQH7zE`DKCSv7bEAaJS-TxJ!nqzIxl(2aAbbKKc<|kKRVIqOcb- zIh_p-q{!BSkua9p%`slc%R*2-uyy8B)5J{TfY?&1K?Hry9o%2`7qZPe#jL&?b98md z8-I>WwQDy!FFtf8r5NV;N=ds<5?A?s%ZT=g;)~DG0$L2{3oKVPswSVzsc6xzyUFg~ zE9PIJMF43cYcS53yS5$x)4180ws57?i!zvE#gXsoQL((L|J$R%?zlT=s9bb}`)9UE zTSm7&C)Bab>RpN5PGKynd=pZrxK7MPP1s#38MM%ZgyVLBKfeRHkXXS-J^_*s za77Ex8a3dc#fL0L{Om_Xc7@FR>Ew_Q31WoO-yqk&)eYCnyyb7v)Q3l%1YfWF5FnZ@ zQ1=IM<~6-Of2+s}yZC!ox=|^mSFzlznm~r}p2b(aOkDnEb6#d1>iOVI++H60U9Lia zTJtscQ=Ah1)%DE<^@XQQOlbWz%d{K2l6pRq+OEe|TDcMw%fkL-c4Iwrkxz$1tNq0;>_ZsLPJOGksZWcbeE! zKDnPxi!BYgRA__uBaYmgS*?92lAe@teXuri7jiUpF!-gZ^u402zE*WOtHL&~)77X# zNi=Zzvy?a>!UxtM24jXeY`-FYjXG%`Qw~eZY7Q)Iz(-W*{K4!m8m{bH?J9C_M`?$V z>;%6|q`(HgX~M!=j?EO(AJ8x{fNLDt*&5&s9jO!RR8 literal 0 HcmV?d00001 diff --git a/partner_contact_driving_license/static/description/icon.svg b/partner_contact_driving_license/static/description/icon.svg new file mode 100644 index 00000000..2a087ff6 --- /dev/null +++ b/partner_contact_driving_license/static/description/icon.svg @@ -0,0 +1,45 @@ + + + + + + + image/svg+xml + + + + + + + + diff --git a/partner_contact_driving_license/static/description/index.html b/partner_contact_driving_license/static/description/index.html new file mode 100644 index 00000000..2f8d5884 --- /dev/null +++ b/partner_contact_driving_license/static/description/index.html @@ -0,0 +1,429 @@ + + + + + + +Contact gender + + + +
+

Contact gender

+ + +

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

+

This module extends the contact management functionality. It allows recording +of a partner’s gender.

+

Table of contents

+ +
+

Usage

+

New item for ‘Gender’ can be edited on the ‘Personal Information’ tab of +the partner contact form.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Grupo ESOC
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/partner-contact project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/partner_contact_driving_license/tests/__init__.py b/partner_contact_driving_license/tests/__init__.py new file mode 100644 index 00000000..93358b69 --- /dev/null +++ b/partner_contact_driving_license/tests/__init__.py @@ -0,0 +1,2 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from . import test_partner_contact_gender diff --git a/partner_contact_driving_license/tests/test_partner_contact_gender.py b/partner_contact_driving_license/tests/test_partner_contact_gender.py new file mode 100644 index 00000000..e4fe0d91 --- /dev/null +++ b/partner_contact_driving_license/tests/test_partner_contact_gender.py @@ -0,0 +1,18 @@ +# Copyright 2016-2018 Therp BV . +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from odoo.tests.common import TransactionCase + + +class TestPartnerContactGender(TransactionCase): + + def setUp(self): + super(TestPartnerContactGender, self).setUp() + self.testpartner = self.env['res.partner'].create({ + 'name': 'test', + 'title': self.env.ref('base.res_partner_title_madam').id, + }) + + def test_partner_contact_gender(self): + from ..hooks import post_init_hook + post_init_hook(self.cr, None) + self.assertEqual(self.testpartner.gender, 'female') diff --git a/partner_contact_driving_license/views/res_partner.xml b/partner_contact_driving_license/views/res_partner.xml new file mode 100644 index 00000000..6b52f5d8 --- /dev/null +++ b/partner_contact_driving_license/views/res_partner.xml @@ -0,0 +1,13 @@ + + + + Partner driving license: personal info + res.partner + + + + + + + + diff --git a/partner_status_certification/README.rst b/partner_status_certification/README.rst new file mode 100644 index 00000000..56459dfc --- /dev/null +++ b/partner_status_certification/README.rst @@ -0,0 +1 @@ +Partner Status Certiniification \ No newline at end of file diff --git a/partner_status_certification/__init__.py b/partner_status_certification/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/partner_status_certification/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/partner_status_certification/__manifest__.py b/partner_status_certification/__manifest__.py new file mode 100644 index 00000000..1915d7d8 --- /dev/null +++ b/partner_status_certification/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + 'name': 'Partner Status Certification', + 'summary': "Adds status certification to partners in order to evaluate .", + 'author': "Eficent, Odoo Community Association (OCA)", + 'website': "https://github.com/OCA/partner-contact", + 'category': 'Customer Relationship Management', + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'depends': ['contacts'], + 'data': ["security/ir.model.access.csv", + "views/partner_status_certification.xml", + "views/res_partner.xml" + ], + 'development_status': 'Beta', + 'maintainers': ['ceeficent'], +} diff --git a/partner_status_certification/models/__init__.py b/partner_status_certification/models/__init__.py new file mode 100644 index 00000000..517f9ad8 --- /dev/null +++ b/partner_status_certification/models/__init__.py @@ -0,0 +1,2 @@ +from . import partner_status_certification +from . import res_partner diff --git a/partner_status_certification/models/partner_status_certification.py b/partner_status_certification/models/partner_status_certification.py new file mode 100644 index 00000000..0b627ff4 --- /dev/null +++ b/partner_status_certification/models/partner_status_certification.py @@ -0,0 +1,15 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models, fields + + +class PartnerStatusCertification(models.Model): + _name = 'partner.status.certification' + _description = 'Partner Status Certification' + + name = fields.Char(string="Status", required=True) + description = fields.Text(required=True) + + organisation_ids = fields.Many2many(comodel_name='res.partner',relation='certification_organisation_rel', + column1= 'cert_id', column2='org_id') diff --git a/partner_status_certification/models/res_partner.py b/partner_status_certification/models/res_partner.py new file mode 100644 index 00000000..30315071 --- /dev/null +++ b/partner_status_certification/models/res_partner.py @@ -0,0 +1,11 @@ +# Copyright 2019 Patrick Wilson +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models, fields + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + status_certification_id = fields.Many2one('partner.status.certification') + is_organisation=fields.Boolean('Certified Organism') diff --git a/partner_status_certification/security/ir.model.access.csv b/partner_status_certification/security/ir.model.access.csv new file mode 100644 index 00000000..29ce8cb7 --- /dev/null +++ b/partner_status_certification/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_partner_status_certification_user,partner.status.certification.user,model_partner_status_certification,base.group_user,1,1,1,1 \ No newline at end of file diff --git a/partner_status_certification/tests/__init__.py b/partner_status_certification/tests/__init__.py new file mode 100644 index 00000000..dee59dec --- /dev/null +++ b/partner_status_certification/tests/__init__.py @@ -0,0 +1 @@ +from . import test_partner_status_certification \ No newline at end of file diff --git a/partner_status_certification/tests/test_partner_status_certification.py b/partner_status_certification/tests/test_partner_status_certification.py new file mode 100644 index 00000000..c00e34cd --- /dev/null +++ b/partner_status_certification/tests/test_partner_status_certification.py @@ -0,0 +1,23 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import odoo.tests.common as common + +class TestPartnerStatusCertification(common.TransactionCase): + + def setUp(self): + super(TestPartnerStatusCertification, self).setUp() + + self.res_partner = self.env['res.partner'] + self.partner = self.res_partner.create({ + 'name': "test1", + 'email': "test@test.com"}) + + def test_status(self): + partner_status_certification = self.env['partner.status.certification'] + status_certification = partner_status_certification.create({ + 'name': 'Super high', + 'description': 'This is super high status certification'}) + + self.partner.status_certification_id = status_certification + self.assertEqual(self.partner.status_certification_id, status_certification) diff --git a/partner_status_certification/views/partner_status_certification.xml b/partner_status_certification/views/partner_status_certification.xml new file mode 100644 index 00000000..14dfbffc --- /dev/null +++ b/partner_status_certification/views/partner_status_certification.xml @@ -0,0 +1,50 @@ + + + + + + Status Certification + partner.status.certification + + + + + + + + + + Status Certification + partner.status.certification + +
+ +
+
+ + + + + + +
+
+
+
+ + + Status Certification + partner.status.certification + tree,form + + + +
diff --git a/partner_status_certification/views/res_partner.xml b/partner_status_certification/views/res_partner.xml new file mode 100644 index 00000000..7c4f0018 --- /dev/null +++ b/partner_status_certification/views/res_partner.xml @@ -0,0 +1,30 @@ + + + + + partner.status.certification.form + res.partner + + + + + + + + + + + partner.status.certification.filter + res.partner + + + + + + + + From 523d45056e8e48fc8b90f5f7f7c2653f3b522299 Mon Sep 17 00:00:00 2001 From: ceeficent Date: Thu, 8 Aug 2019 16:18:26 +0200 Subject: [PATCH 03/14] certification --- README.md | 2 +- certification/__init__.py | 1 + certification/__manifest__.py | 18 +++++++ certification/models/__init__.py | 1 + .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 193 bytes .../__pycache__/certification.cpython-36.pyc | Bin 0 -> 722 bytes certification/models/certification.py | 18 +++++++ certification/security/ir.model.access.csv | 3 ++ certification/views/certification_view.xml | 45 ++++++++++++++++++ .../__pycache__/hooks.cpython-36.pyc | Bin 0 -> 723 bytes .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 209 bytes .../__pycache__/res_partner.cpython-36.pyc | Bin 0 -> 551 bytes .../models/partner_status_certification.py | 3 +- .../models/res_partner.py | 2 +- .../views/partner_status_certification.xml | 3 -- 15 files changed, 89 insertions(+), 7 deletions(-) create mode 100644 certification/__init__.py create mode 100644 certification/__manifest__.py create mode 100644 certification/models/__init__.py create mode 100644 certification/models/__pycache__/__init__.cpython-36.pyc create mode 100644 certification/models/__pycache__/certification.cpython-36.pyc create mode 100644 certification/models/certification.py create mode 100644 certification/security/ir.model.access.csv create mode 100644 certification/views/certification_view.xml create mode 100644 partner_contact_driving_license/__pycache__/hooks.cpython-36.pyc create mode 100644 partner_contact_driving_license/models/__pycache__/__init__.cpython-36.pyc create mode 100644 partner_contact_driving_license/models/__pycache__/res_partner.cpython-36.pyc diff --git a/README.md b/README.md index 182e22b3..8b137891 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -My Odoo Custom Addons + diff --git a/certification/__init__.py b/certification/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/certification/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/certification/__manifest__.py b/certification/__manifest__.py new file mode 100644 index 00000000..ece38f7e --- /dev/null +++ b/certification/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + 'name': 'Certification', + 'summary': "Defines certifaction for different purposes.", + 'author': "Eficent, Odoo Community Association (OCA)", + 'website': "https://github.com/", + 'category': 'Certification Management', + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'depends': ['base'], + 'data': ['security/ir.model.access.csv', + 'views/certification_view.xml' + ], + 'development_status': 'Beta', + 'maintainers': ['ceeficent'], +} \ No newline at end of file diff --git a/certification/models/__init__.py b/certification/models/__init__.py new file mode 100644 index 00000000..ab3658dc --- /dev/null +++ b/certification/models/__init__.py @@ -0,0 +1 @@ +from . import certification diff --git a/certification/models/__pycache__/__init__.cpython-36.pyc b/certification/models/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5c5bef3a789e6941950525a548456bd1fb159353 GIT binary patch literal 193 zcmXr!<>gw&<`XN!z`*brh~a<<$Z`PUVgVqL!jQt4!;s4u#mLBz!W7J)$^4QLD6GkN zi#Iv7s3bEjGdZy&Ge6Hylj#;i5lHJwh9VXq1txxZ=x5~Trs}5xm8IsD=;x>8=j*1V zmO&ULMTwbtnR)5DB}MuuhUw?#r=;c->&M3f0jd7sdKkXJxcwsDd_lk?~ccN5u= z@h4Sj=&93p%3{jhsIx{lH`|ka3a!#~_z>5W|2Vt&czU>P)U?gOJzciV{9=8`Zzl%3 zvz0QoL9%i9f0(cjAtzv08oly; znSk=0Jik@ONgwB=Z^udMjqC^fX5C~j-i@!Y!m^h{+RX}Gv{23FC3QjSHdfnBq2W6- z&-~%Md0b?-ZH*a{loXJ)(6)2HuLH0~>4sFBTaz6qoDJ80=sa6(jK6cQLU%$Y;*v`d v@hN?h3m%D{U#6jxzL24($c7%ng?~pq{r_+SdQL$udOgVY#uw;(-YobH?)=IA literal 0 HcmV?d00001 diff --git a/certification/models/certification.py b/certification/models/certification.py new file mode 100644 index 00000000..182638d6 --- /dev/null +++ b/certification/models/certification.py @@ -0,0 +1,18 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models, fields + + +class Certification(models.Model): + _name = 'certification' + _description = 'Certification' + + name = fields.Char() + date = fields.Date(string='Validation Date') + description = fields.Text(string='Validation Details') + type = fields.Selection([ + ('eucer', 'EU Certification'), + ('noneucer', 'Non-Eu Certification') + ]) + entity_id = fields.Many2one('res.partner') diff --git a/certification/security/ir.model.access.csv b/certification/security/ir.model.access.csv new file mode 100644 index 00000000..f98e3521 --- /dev/null +++ b/certification/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_certification_user,certification.user,model_certification,base.group_user,1,1,1,1 + diff --git a/certification/views/certification_view.xml b/certification/views/certification_view.xml new file mode 100644 index 00000000..2e4b72c4 --- /dev/null +++ b/certification/views/certification_view.xml @@ -0,0 +1,45 @@ + + + + Certification + certification + + + + + + + + + + + + Certification + certification + +
+ + + + + + + + + +
+
+
+ + + Certification + certification + tree,form + + + +
diff --git a/partner_contact_driving_license/__pycache__/hooks.cpython-36.pyc b/partner_contact_driving_license/__pycache__/hooks.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eaf80b0ad5b2f0b2eb984e6e29146a71f865f1cd GIT binary patch literal 723 zcmZ`%&2G~`5Z)i#b&@vZ)Pg7vkV6{@u2qGgK`Mu;YE&UbRF?5hk~RKgcX8XuIT>-| z4Y+dPmG;VsSK!2~3sNs#X=Z0<=9`~S`(kIO|Ml(Z)elCBZ%2dJ&zTB(91(0g8|E8b#Nr3`uE2 z43nhg8`iLt3)<4|W-Z+#oyA)!yzgwoZ(bR%;i=z}mY$HS=kM9Z+xQI={u7c0A`n~O zXu2gr(QEuPT<|5t_!K4Jc$FSU?_UU_GbT18j2mugRM+wSzb@vWCcjHrDUDS|$q{ETIsH?<+@_ z9ZZW_s;_LpAOkB9nld} mkI{EF_N?ccc5HM6bpCF*duk7JZFrQI;&TSajwkKt8}Yv|$j>hT literal 0 HcmV?d00001 diff --git a/partner_contact_driving_license/models/__pycache__/__init__.cpython-36.pyc b/partner_contact_driving_license/models/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2ba2b2b3dadbdbea0b1794364d2d8df55667dc35 GIT binary patch literal 209 zcmX|4F$%&!5ZsFvq6GX#ig<;sh^-bjb^$p+ zGPCnE9p5(V{Q&?TjQ=F8R*W!Z(x8QfS`HM}Lg^{Ls7E^+6zkD^%kg*CZzxoghI( z^n^qNWF9?6ITiF8jp7fFMI+*RGYOS2u2(k#DpQ2=xBU?B_zIvL3zQRq^9blX4zz+k zle{NlPuO$)D=?Q_TLt=lQ-hf-y2sYBmMf`l(lc3rGH^dRRYDfrf=T5pwI!rQqbx6M zT5^-}RCM^N#RrwfYR}+k3Dx3awBZuQ6t96X*JsR2UsfR>Fm}7-Ro6+FR3&I>HSzl0 z#!=H$z*WB0@w1Nq4e5agti$ItE1McJn1$IkYedtG1+3b{YA%)6F}6DEwqu=i_K!4c z@0s~Sunsy|-05)A#JdS0!IV%;@Va_2iX9E()@pU+`z}5YpR#WMN^G-X=qLN_>IZS4 I3|nqTUjv?(R{#J2 literal 0 HcmV?d00001 diff --git a/partner_status_certification/models/partner_status_certification.py b/partner_status_certification/models/partner_status_certification.py index 0b627ff4..7e95b50f 100644 --- a/partner_status_certification/models/partner_status_certification.py +++ b/partner_status_certification/models/partner_status_certification.py @@ -11,5 +11,4 @@ class PartnerStatusCertification(models.Model): name = fields.Char(string="Status", required=True) description = fields.Text(required=True) - organisation_ids = fields.Many2many(comodel_name='res.partner',relation='certification_organisation_rel', - column1= 'cert_id', column2='org_id') + diff --git a/partner_status_certification/models/res_partner.py b/partner_status_certification/models/res_partner.py index 30315071..4c397394 100644 --- a/partner_status_certification/models/res_partner.py +++ b/partner_status_certification/models/res_partner.py @@ -8,4 +8,4 @@ class ResPartner(models.Model): _inherit = 'res.partner' status_certification_id = fields.Many2one('partner.status.certification') - is_organisation=fields.Boolean('Certified Organism') + certification_ids = fields.One2many('certification') diff --git a/partner_status_certification/views/partner_status_certification.xml b/partner_status_certification/views/partner_status_certification.xml index 14dfbffc..7b3b7019 100644 --- a/partner_status_certification/views/partner_status_certification.xml +++ b/partner_status_certification/views/partner_status_certification.xml @@ -27,9 +27,6 @@ - - - From e3f89a197631c75c11a66c51df65a17c8b528a6c Mon Sep 17 00:00:00 2001 From: ceeficent Date: Mon, 12 Aug 2019 15:49:26 +0200 Subject: [PATCH 04/14] example my library --- __init__.py | 0 .../__pycache__/certification.cpython-36.pyc | Bin 722 -> 722 bytes certification/models/certification.py | 1 + my_library/__init__.py | 1 + my_library/__manifest__.py | 22 ++++ my_library/models/__init__.py | 2 + .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 233 bytes .../__pycache__/library_book.cpython-36.pyc | Bin 0 -> 1728 bytes .../library_book_category.cpython-36.pyc | Bin 0 -> 696 bytes my_library/models/library_book.py | 53 ++++++++++ my_library/models/library_book_category.py | 24 +++++ my_library/security/groups.xml | 7 ++ my_library/security/ir.model.access.csv | 3 + my_library/views/library_book.xml | 73 +++++++++++++ partner_legal_documents/__init__.py | 1 + partner_legal_documents/__manifest__.py | 18 ++++ partner_legal_documents/models/__init__.py | 2 + .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 247 bytes .../partner_legal_documents.cpython-36.pyc | Bin 0 -> 742 bytes .../__pycache__/res_partner.cpython-36.pyc | Bin 0 -> 523 bytes .../models/partner_legal_documents.py | 20 ++++ partner_legal_documents/models/res_partner.py | 9 ++ .../security/ir.model.access.csv | 3 + .../views/partner_legal_documents_view.xml | 46 +++++++++ partner_legal_documents/views/res_partner.xml | 18 ++++ partner_status_certification/__manifest__.py | 3 +- .../models/__init__.py | 1 - .../__pycache__/__init__.cpython-36.pyc | Bin 0 -> 206 bytes .../__pycache__/res_partner.cpython-36.pyc | Bin 0 -> 568 bytes .../models/partner_status_certification.py | 14 --- .../models/res_partner.py | 6 +- .../security/ir.model.access.csv | 2 +- .../tests/__init__.py | 1 - .../test_partner_status_certification.py | 23 ----- .../views/res_partner.xml | 22 ++-- partner_vendor_certification/__init__.py | 1 + partner_vendor_certification/__manifest__.py | 23 +++++ .../models/__init__.py | 2 + .../models/partner_certification_status.py | 12 +++ .../models/res_partner.py | 8 ++ .../security/ir.model.access.csv | 2 + .../views/partner_certification_status.xml | 97 +++++++++--------- .../views/res_partner.xml | 19 ++++ 43 files changed, 437 insertions(+), 102 deletions(-) create mode 100644 __init__.py create mode 100644 my_library/__init__.py create mode 100644 my_library/__manifest__.py create mode 100644 my_library/models/__init__.py create mode 100644 my_library/models/__pycache__/__init__.cpython-36.pyc create mode 100644 my_library/models/__pycache__/library_book.cpython-36.pyc create mode 100644 my_library/models/__pycache__/library_book_category.cpython-36.pyc create mode 100644 my_library/models/library_book.py create mode 100644 my_library/models/library_book_category.py create mode 100644 my_library/security/groups.xml create mode 100644 my_library/security/ir.model.access.csv create mode 100644 my_library/views/library_book.xml create mode 100644 partner_legal_documents/__init__.py create mode 100644 partner_legal_documents/__manifest__.py create mode 100644 partner_legal_documents/models/__init__.py create mode 100644 partner_legal_documents/models/__pycache__/__init__.cpython-36.pyc create mode 100644 partner_legal_documents/models/__pycache__/partner_legal_documents.cpython-36.pyc create mode 100644 partner_legal_documents/models/__pycache__/res_partner.cpython-36.pyc create mode 100644 partner_legal_documents/models/partner_legal_documents.py create mode 100644 partner_legal_documents/models/res_partner.py create mode 100644 partner_legal_documents/security/ir.model.access.csv create mode 100644 partner_legal_documents/views/partner_legal_documents_view.xml create mode 100644 partner_legal_documents/views/res_partner.xml create mode 100644 partner_status_certification/models/__pycache__/__init__.cpython-36.pyc create mode 100644 partner_status_certification/models/__pycache__/res_partner.cpython-36.pyc delete mode 100644 partner_status_certification/models/partner_status_certification.py delete mode 100644 partner_status_certification/tests/__init__.py delete mode 100644 partner_status_certification/tests/test_partner_status_certification.py create mode 100644 partner_vendor_certification/__init__.py create mode 100644 partner_vendor_certification/__manifest__.py create mode 100644 partner_vendor_certification/models/__init__.py create mode 100644 partner_vendor_certification/models/partner_certification_status.py create mode 100644 partner_vendor_certification/models/res_partner.py create mode 100644 partner_vendor_certification/security/ir.model.access.csv rename partner_status_certification/views/partner_status_certification.xml => partner_vendor_certification/views/partner_certification_status.xml (50%) create mode 100644 partner_vendor_certification/views/res_partner.xml diff --git a/__init__.py b/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/certification/models/__pycache__/certification.cpython-36.pyc b/certification/models/__pycache__/certification.cpython-36.pyc index 4ece7876f8c69bf946e5251ce668541ec9ff9fbe..b2947b9efed115cbecad141b6ce3e8fdd9792de4 100644 GIT binary patch delta 18 Zcmcb_dWn_On3tEUk1a5kZzJbPCIByn1mpk! delta 18 Zcmcb_dWn_On3tF9GpkQ5??%p(OaL +# Copyright 2017-Apertoso N.V. () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +{ + "name": "Library Book", + "summary": "My library book", + 'version': '12.0.1.0.0', + "category": "Customer Relationship Management", + "website": "https://github.com/ceeficent", + "author": "Grupo ESOC, Tecnativa, Odoo Community Association (OCA)", + "contributors": ['Clara Escriva LLSG_SL*8ID>!*U5fAR; zcYpZqrfE97>CJ8d01wPxL`X}_c8tP-69t+SganR|qas3%w~+Oo1XnWBB}!Jdw4PPQ zoUk7K*KA)pQ5);mS=@mQ_BKYjgY5?n@>6Fh!;Q(gxPHLdQZ}-wb7!gc f>}yW7;X<{PF&sL^CTHIbX4t$aF%OTm;Z#E2KLOSe^9POq;}+w3$hqhusTiIvj`#+f4aT04P)Q z>R$6h`j>F+DSsiSet_h0$RXz2#qMHv@d5m4JRZ*Kw|{O9Jnuj6t0x40j88qqKpy#( zSNqJb0~XXh*7L0{sKPp8k;AGe>6v)H z6cs5G*DZ-knI4~)6W@#vgwE$u6s0QL28w|$YXJ+*3+s9EBmj@`DbM#j;W3{)7Ld<+ z6tIwbEE4hizRiH*PXS9H4X95E4Im96jc6!R8Xfz`0UJBp^w?)>Kxb$SbQWlxexL`m zb?Se=9B8`{L&2GAy*2RaXQfi3`D1iC~Qfi44Gp-VvD0$rucK-YjqbcLpL4eMWr zl+ks{TsAi#-J~0^y5;nJy6N<{A>ARLZqaSXJ$4uJi0;r`x<~hEg7>>mF}p|KqpLrf z(aUlsxjcH>wtsbLwG_5yPFhW6cFqjdVJmgs@LHH?uhf;;LzfdNJ}gQps2fS4w&q;w zMo89wvd}PBu!xnGWpmICY?N%fRk|BG_(qn6=tjFXY~})XYcCotWW%d$r`1B4h$P?F zU&fHKCm(rP@mVFzfS@4b;kj|PP2-R)A6P%!Uft z&zAJIWGW9zt-92y3z+bx>{%Pv!9XJflT2h$F{&g+G6FIB|dBM`VwzgylL@$ljM#od2WVzj6GSlx>073;}p9I86cDiw-32Ap(Ebl6>p9n))>r?JBp!E;K}o< z4UD|N5j%~q4Rd%25&$$%NCYenjm9GAd^^~y?9po#gav)Z;5??Skc^)h>fKqQ7#>M zOybIF8&LLyE~pD?sI<)lOtOqwm37IMmAr0*>jYarVGZRooH2N^1gqo(w*2eKpJDBW zFE6HtZ7rr^AH8Yxw57IvK;q*PXvxb4On#u{v_8sLH^Fpy%T8CKTVQK`B>M*jwozMz yE4}8n^wr(&w%H`M@3zx2hKq?_*}s7cds^@kJ+kx3qa_7@u^ds>Wy4SXwD&(>dJi4| literal 0 HcmV?d00001 diff --git a/my_library/models/__pycache__/library_book_category.cpython-36.pyc b/my_library/models/__pycache__/library_book_category.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..299d0d5dee49ec65c659256a379b9a6a47df3e05 GIT binary patch literal 696 zcmYjPJ8u**5VrSq-sQqkKxk>V$gLD4st84#5LLoc6qb^M1x-Sy$!pj_I}=0{NS zm)uhE7pR!oy8~=_^!b|^&&yBu_KNTA+fVxmV?Wt{3-9b0PyY-BFyIYqx#Vpmqc)Z? zCoXD|HkB!7uNcITd}EN9=rX&Fo1W007(M?bzCn*kFOD`ndQR3oJ@k-I F<3FKPz#RYp literal 0 HcmV?d00001 diff --git a/my_library/models/library_book.py b/my_library/models/library_book.py new file mode 100644 index 00000000..55580607 --- /dev/null +++ b/my_library/models/library_book.py @@ -0,0 +1,53 @@ +# Copyright 2014-2015 Grupo ESOC +# Copyright 2017-Apertoso N.V. () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models, api +from odoo.addons.decimal_precision import get_precision +from datetime import timedelta + + +class LibraryBook(models.Model): + _name = 'library.book' + _description = 'Library Book' + # To sort records from newer to older and by title + # _order = 'data_release, name' + # To add in the form view + _rec_name = 'short_name' + + name = fields.Char('Title', required=True) + author_ids = fields.Many2many('res.partner', string='Authors') + cost_price = fields.Float('Book Cost', get_precision('Book Price')) + short_name = fields.Char('Short Title') + notes = fields.Text('Internal Notes') + state = fields.Selection([('draft', 'Not Available'), + ('available', 'Available'), + ('lost', 'Lost')], + 'State') + description = fields.Html('Description') + cover = fields.Binary('Book Cover') + out_of_print = fields.Boolean('Out of Print?') + date_release = fields.Date('Release Date') + date_updated = fields.Datetime('Last Updated') + pages = fields.Integer('Number of Pages') + reader_rating = fields.Float('Reader Average Rating', digits=(14, 4)) + currency_id = fields.Many2one('res.currency', string='Currency') + retail_price = fields.Monetary('Retail Price') + publisher_id = fields.Many2one('res.partner', string='Publisher') + published_book_id = fields.One2many('library.book', 'publisher_id', string='Published Books') + age_days = fields.Float(string='Days Since Release', compute='_compute_age', inverse='_inverse_age', + search='_search_age', store='False', compute_sudo='False') + + # @api.depends('date_release') + # def _compute_age(self): + # today = fields.Date.today() + # for book in self.filtered('date_release'): + # delta = today - book.date_release + # book.age_days = delta.days + # + # def _inverse_age(self): + # today = fields.Date.today() + # for book in self.filtered('date_release'): + # d = today - timedelta(days=book.age_days) + # book.date_release = d + # \ No newline at end of file diff --git a/my_library/models/library_book_category.py b/my_library/models/library_book_category.py new file mode 100644 index 00000000..78d706e7 --- /dev/null +++ b/my_library/models/library_book_category.py @@ -0,0 +1,24 @@ +# Copyright 2014-2015 Grupo ESOC +# Copyright 2017-Apertoso N.V. () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models, api +from odoo.exceptions import ValidationError + + +class BookCategory(models.Model): + _name = 'library.book.category' + name = fields.Char('Category') + parent_id = fields.Many2one('library.book.category', + string='Parent Category', + ondelete='restrict', + index=True) + child_ids = fields.One2many('library.book.category', 'parent_id', string='Child Categories') + + # @api.constrains('date_release') + # def _check_release_date(self): + # for record in self: + # if record.date_release and record.date_release > fields.Date.today(): + # raise models.ValidationError('Release date must be in the past') + # + # _sql_constraints = [('name_uniq','UNIQUE (name)','Book title must be unique.')] diff --git a/my_library/security/groups.xml b/my_library/security/groups.xml new file mode 100644 index 00000000..63948833 --- /dev/null +++ b/my_library/security/groups.xml @@ -0,0 +1,7 @@ + + + + Librarians + + + diff --git a/my_library/security/ir.model.access.csv b/my_library/security/ir.model.access.csv new file mode 100644 index 00000000..2248e932 --- /dev/null +++ b/my_library/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +acl_book,library.book default,model_library_book,base.group_user,1,0,0,0 +acl_book_librarian,library.book_librarian,model_library_book,group_librarian,1,1,1,1 \ No newline at end of file diff --git a/my_library/views/library_book.xml b/my_library/views/library_book.xml new file mode 100644 index 00000000..2723edc1 --- /dev/null +++ b/my_library/views/library_book.xml @@ -0,0 +1,73 @@ + + + + + Library Books + library.book + form + tree,form + + + + + + + + + Library Book Form + library.book + +
+ + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + Library Book List + library.book + + + + + + + + + + + Library Book Search + library.book + + + + + + + + +
diff --git a/partner_legal_documents/__init__.py b/partner_legal_documents/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/partner_legal_documents/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/partner_legal_documents/__manifest__.py b/partner_legal_documents/__manifest__.py new file mode 100644 index 00000000..a3d068c1 --- /dev/null +++ b/partner_legal_documents/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + 'name': 'Legal documents', + 'summary': "Compiles legal documents of people involved in the corportation.", + 'author': "Eficent, Odoo Community Association (OCA)", + 'website': "https://github.com/", + 'category': 'Human Resources Management', + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'depends': ['contacts'], + 'data': ["security/ir.model.access.csv", + "views/partner_legal_documents_view.xml", + "views/res_partner.xml" + ], + 'development_status': 'Beta', + 'maintainers': ['ceeficent']} diff --git a/partner_legal_documents/models/__init__.py b/partner_legal_documents/models/__init__.py new file mode 100644 index 00000000..ef383b45 --- /dev/null +++ b/partner_legal_documents/models/__init__.py @@ -0,0 +1,2 @@ +from . import partner_legal_documents +from . import res_partner diff --git a/partner_legal_documents/models/__pycache__/__init__.cpython-36.pyc b/partner_legal_documents/models/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e3205cad69df57ed417659ae71a7f40a22b9f077 GIT binary patch literal 247 zcmZ{eI|{-;5QcXX1yNJmc!3nj7Pca}fEL;XWC__Z2KEtlH-bmzF=*f}si zAM^TWl_b+=zC9L%kUQotBBTP-El~s!R1!r?N&`p8Q5hk}2a=8+6h~4zEV{~i4VFu2 zD#?YZdj;A%Y|Sh<{%!Blcpx_1w=v3%*m2+>uRS{(1q@DYjhoB}V=@7k4|rR(y46kQ gE&F4|lo22u;~XbF=XrM>CTlGA5;oyY7kuaR4L(joY5)KL literal 0 HcmV?d00001 diff --git a/partner_legal_documents/models/__pycache__/partner_legal_documents.cpython-36.pyc b/partner_legal_documents/models/__pycache__/partner_legal_documents.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8b5ba4a5042782afddeef95cd990bafc1fcc18d GIT binary patch literal 742 zcmZ`%O>fgc5Zzs`9p|gz077ue2`Psr5?oPLiAV_4Rz&GjB9I<9Rn84|MqDt5!n%6#pzu{FJtRLjVF~AxfFZQYA`? zj{+0~4*~*|x4|w*H0Uca3xAPT%#@GH8nCcFy3VlxyJGX76%sk6Z9fyBNF<0vflLBW ziN^3Yf?y|;9K0LW&uSw+N_g(u= KIECf7XTfjDLCr(} literal 0 HcmV?d00001 diff --git a/partner_legal_documents/models/__pycache__/res_partner.cpython-36.pyc b/partner_legal_documents/models/__pycache__/res_partner.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..783f51a732db880792f0f8a9b0d862f0592cb95b GIT binary patch literal 523 zcmZ8e%}N6?5YFyq>rz`0FWx)~duSIFJc)SoWEI6rK*F+_wkf;WnrsX8B;o}6Uc3J%Qh&18PQnVk0f-IufL$4^4Y7wT3hqDxeBj7AU@FBr7(pHZ)Dr}2qQpPAP5UZz#^ct*tHe( zJ!BmbW5bT^-hsKzb)!H(?`kl^`Pw;LgJB7iyc~+USX7`IW2wq3Kn}g4_AI#bZBMEt zXan9Gr8_p^9&&EGoMYmm1jIegpB8!PO3+KVR8!Eh(GhaB$&G@ODpxCZ;D_? z(S1zv=I0@s))izhmIZRkYEjn%0m~LNI+seS$)M5MdI|ooU)J6)!-e@~&-qHb)5WO9 qfh3@zkBrjTQa3_}j)12cU%L{pc5qZI5RF literal 0 HcmV?d00001 diff --git a/partner_legal_documents/models/partner_legal_documents.py b/partner_legal_documents/models/partner_legal_documents.py new file mode 100644 index 00000000..419fe23d --- /dev/null +++ b/partner_legal_documents/models/partner_legal_documents.py @@ -0,0 +1,20 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models, fields + + +class PartnerLegalDocuments(models.Model): + _name = 'partner.legal.documents' + _description = 'Partner Legal Documents' + + name = fields.Many2one('res.partner') + type = fields.Selection([ + ('pass', 'Passport'), + ('ID', 'ID'), + ('driving', 'Driving License') + ]) + date = fields.Date(string=' Date') + number = fields.Char() + letter = fields.Char() + diff --git a/partner_legal_documents/models/res_partner.py b/partner_legal_documents/models/res_partner.py new file mode 100644 index 00000000..3af98f74 --- /dev/null +++ b/partner_legal_documents/models/res_partner.py @@ -0,0 +1,9 @@ + +from odoo import models, fields + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + legal_documents_id = fields.One2many(comodel_name='partner.legal.documents', inverse_name='name') + diff --git a/partner_legal_documents/security/ir.model.access.csv b/partner_legal_documents/security/ir.model.access.csv new file mode 100644 index 00000000..ae22320e --- /dev/null +++ b/partner_legal_documents/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_partner_legal_documents_user,partner.legal.documents.user,model_partner_legal_documents,base.group_user,1,1,1,1 + diff --git a/partner_legal_documents/views/partner_legal_documents_view.xml b/partner_legal_documents/views/partner_legal_documents_view.xml new file mode 100644 index 00000000..fa987c9b --- /dev/null +++ b/partner_legal_documents/views/partner_legal_documents_view.xml @@ -0,0 +1,46 @@ + + + + Legal Documents + partner.legal.documents + + + + + + + + + + + + + Legal Documents + partner.legal.documents + +
+ + + + + + + + + +
+
+
+ + + Legal Documents + partner.legal.documents + tree,form + + + +
diff --git a/partner_legal_documents/views/res_partner.xml b/partner_legal_documents/views/res_partner.xml new file mode 100644 index 00000000..ef2a07c4 --- /dev/null +++ b/partner_legal_documents/views/res_partner.xml @@ -0,0 +1,18 @@ + + + + + Legal Documents + res.partner + + + + + + + + + + + diff --git a/partner_status_certification/__manifest__.py b/partner_status_certification/__manifest__.py index 1915d7d8..2252eca7 100644 --- a/partner_status_certification/__manifest__.py +++ b/partner_status_certification/__manifest__.py @@ -9,9 +9,8 @@ 'category': 'Customer Relationship Management', 'version': '12.0.1.0.0', 'license': 'AGPL-3', - 'depends': ['contacts'], + 'depends': ['contacts','certification'], 'data': ["security/ir.model.access.csv", - "views/partner_status_certification.xml", "views/res_partner.xml" ], 'development_status': 'Beta', diff --git a/partner_status_certification/models/__init__.py b/partner_status_certification/models/__init__.py index 517f9ad8..91fed54d 100644 --- a/partner_status_certification/models/__init__.py +++ b/partner_status_certification/models/__init__.py @@ -1,2 +1 @@ -from . import partner_status_certification from . import res_partner diff --git a/partner_status_certification/models/__pycache__/__init__.cpython-36.pyc b/partner_status_certification/models/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3083461d848f8f97d30c0051d11a0661b4567c3c GIT binary patch literal 206 zcmX|5K?=e!5ZqJ|Q3{^@K@T+tuOhxc5D$VNAvCK7+N2~~!4C<3saH>a!IN7R7iM-C zc7~m&>F74t9Hs#9VEiXxwPM5xlK~@2sKj0fFv%9O-czuhiFO*dm#M}#2HzKJ3WDst=5h2GyfVWf@TRR&8+Q?(29#(a`$w<}cJG70r2{nb` zHMThSjnN@@zV<8k#_V348O^#X?@Wg!-Zpd8zBFLW6!5VJZ|g=kdNK93+~`&P3^hmV z8)~ZK - partner.status.certification.form + partner.certification.statusv2.form res.partner - - - - + + + + + - partner.status.certification.filter + partner.certification.statusv2.filter res.partner - + - + \ No newline at end of file diff --git a/partner_vendor_certification/__init__.py b/partner_vendor_certification/__init__.py new file mode 100644 index 00000000..9a7e03ed --- /dev/null +++ b/partner_vendor_certification/__init__.py @@ -0,0 +1 @@ +from . import models \ No newline at end of file diff --git a/partner_vendor_certification/__manifest__.py b/partner_vendor_certification/__manifest__.py new file mode 100644 index 00000000..bb71e2aa --- /dev/null +++ b/partner_vendor_certification/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + 'name': 'Certification Status', + 'summary': "Adds a certification status to a supplier.", + 'author': "Eficent, Odoo Community Association (OCA)", + 'website': "https://github.com/OCA/partner-contact", + 'category': 'Customer Relationship Management', + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'depends': [ + 'contacts', 'certification' + ], + 'data': [ + 'security/ir.model.access.csv', + 'views/res_partner.xml', + 'views/partner_certification_status.xml' + + ], + 'development_status': 'Beta', + 'maintainers': ['ClaraEscriva'], +} \ No newline at end of file diff --git a/partner_vendor_certification/models/__init__.py b/partner_vendor_certification/models/__init__.py new file mode 100644 index 00000000..5476ec53 --- /dev/null +++ b/partner_vendor_certification/models/__init__.py @@ -0,0 +1,2 @@ +from . import res_partner +from . import partner_certification_status \ No newline at end of file diff --git a/partner_vendor_certification/models/partner_certification_status.py b/partner_vendor_certification/models/partner_certification_status.py new file mode 100644 index 00000000..30ccb1c5 --- /dev/null +++ b/partner_vendor_certification/models/partner_certification_status.py @@ -0,0 +1,12 @@ +# Copyright 2019 Eficent +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models,fields + + +class PartnerCertificationStatus(models.Model): + _name = 'partner.certification.status' + _description = 'Partner Certification Status' + + name = fields.Char(string="Status", required=True) + description = fields.Text(required=True) diff --git a/partner_vendor_certification/models/res_partner.py b/partner_vendor_certification/models/res_partner.py new file mode 100644 index 00000000..f663f25c --- /dev/null +++ b/partner_vendor_certification/models/res_partner.py @@ -0,0 +1,8 @@ +from odoo import models, fields + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + status_certification_id = fields.Many2one('partner.certification.status') + certification_ids = fields.One2many(comodel_name='certification', inverse_name='entity_id') diff --git a/partner_vendor_certification/security/ir.model.access.csv b/partner_vendor_certification/security/ir.model.access.csv new file mode 100644 index 00000000..25736a8c --- /dev/null +++ b/partner_vendor_certification/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_partner_certification_status_user,partner.certification.status.user,model_partner_certification_status,base.group_user,1,1,1,1 \ No newline at end of file diff --git a/partner_status_certification/views/partner_status_certification.xml b/partner_vendor_certification/views/partner_certification_status.xml similarity index 50% rename from partner_status_certification/views/partner_status_certification.xml rename to partner_vendor_certification/views/partner_certification_status.xml index 7b3b7019..2d976c18 100644 --- a/partner_status_certification/views/partner_status_certification.xml +++ b/partner_vendor_certification/views/partner_certification_status.xml @@ -1,47 +1,50 @@ - - - - - - Status Certification - partner.status.certification - - - - - - - - - - Status Certification - partner.status.certification - -
- -
-
- - - -
-
-
-
- - - Status Certification - partner.status.certification - tree,form - - - -
+ + + + + + Certification List + partner.certification.status + + + + + + + + + + Certification Status Form + partner.certification.status + +
+ +
+
+ + + +
+
+
+
+ + + + + Certification Status Action + partner.certification.status + tree,form + + + + +
diff --git a/partner_vendor_certification/views/res_partner.xml b/partner_vendor_certification/views/res_partner.xml new file mode 100644 index 00000000..25a22cd2 --- /dev/null +++ b/partner_vendor_certification/views/res_partner.xml @@ -0,0 +1,19 @@ + + + + + partner.certification.status.form + res.partner + + + + + + + + + + + + \ No newline at end of file From 25109c32d5607ae0ac4c3bc78c2bbc4c47e00715 Mon Sep 17 00:00:00 2001 From: ceeficent Date: Mon, 12 Aug 2019 16:51:05 +0200 Subject: [PATCH 05/14] my library 2 --- .../__pycache__/library_book.cpython-36.pyc | Bin 1728 -> 3868 bytes my_library/models/library_book.py | 77 +++++++++++++++++- my_library/views/library_book.xml | 3 + 3 files changed, 77 insertions(+), 3 deletions(-) diff --git a/my_library/models/__pycache__/library_book.cpython-36.pyc b/my_library/models/__pycache__/library_book.cpython-36.pyc index e2a7fbaa0ff8d26a9d505136b6c5132048512c54..d17b644ae1b08225989240aad7270998fc1a4f6d 100644 GIT binary patch literal 3868 zcmb7HTXWP_64q^IG*=A4#N3BKLWYYSAmp+@xY(Orw!mRATU(_nN+qk0Z5fR;9BBxn zGB4}A@dV(Xx4PZdr1R+hmy)JHwh+)3hDehYhb`8hTAZJ@d5i716$QMA`w%j>cf;ooGCjPMFUfHH%0D`qzI!dN)rg0c{CKz$b*odoPJyo z5AeL{pVbe|s3!%ds!=?I;8Z+oAJG!$FdK}B1NY;hFGJQ31sJRIjx&!ADyav3F?MU!{#FQ-{vv^4olMxiL$YrJh=Z&>sm zC%KSG5cgNpTx6<7GT6v}?Skt+d=o@*upSH54ED)=sS{&s1%mK^N-f~uQ70xlZkjkHPe{G@Nxqa)nqDXIrX+G1LxcN)*Ans&#)mM6f;1r|AMy7oi4oMK@o+zOISQM&9h zBpIWRVYSSj=~~6YtlhJ!A)rZr_?J!B=JK2G7~6o-U6UabCRwXxL```PHwR{E&|XNS zwxTx-UI~9MJC~rDX@6M7saXpSs{I)obcX$*4PCwYG*xfSm~irUCQP;dj0HM>|ImV_ zwt%bg+nLkne|NgB*Y=9YLK%%X>ndDWPTvSwbblJ>{dA)blt}XXMdx`5M*S6(N6~o_ zWO@HzBZes|j;xM{>q2VnU{hqp{Bscy1P`$h1pVhhj)M5WVg0~4$*4rpW|U_|hfymW zODU3YqTJ<*;`4Ig4Idw(9G{KX<0#t_QgudC(vNWT^ag3*%!*?x!6fUiMM;QbOOw5h zAEv|67>EjEz(on{%1W;7XCjc{7T;2}AA>j(gSu?PNY$vGQjO{XK&jT{sz{|k(pTGN zV@iwO)D+oYj`B%ybk@+t5Tb#l8o+e+8RK?9X%bID9JTj3FiL#fvPEsXPBxDWXlV^_ zF1KxRb>nVrx2d^nQj6NUd3LCSs_7OdX2bqmWY5Y5aiCi$hnvbr4XIal5K%c66~|5~ z7WQL(P(dBv^KzJulUySl`j2GnQAY#aj|6EkBA4yuJQpZ~m9Bg)?zamXsOH|8xv^tz z0|RzU-|utb;_Bg!Sv>45RtH_>`nvV{ zzH0eCzi1@Jq}{_A2=7Og&d7?Rrgbg3XuGAs`)fXCO3yzN|PJhWjAs6HttHc zi2LM7B$R1GXN=bXr?IWIAG`!lWGyVN>EP;_JxksPdw426!JUJtM0R9)j!q}*U^-zY zYU;#lfNFti?;2i5OI%30)I?IXiUUYi`SGb>3@CbWHPsADes(HRt!g|${83#&76K)B zhDj4luYz%<+@-AFV(x{I!zclGq)CZ8T}B_qne|BKTdRYfWQddB@$x+uRV(MC<}?sl z839*EAjM?#fVCXnMzt8dxMRs&xtc}oTkg=}X;l54`sP%X4vnPv|aQZy(ti)}^ftc*=j$ zbRFs_AC@GNCtohyYz2$1UdzFS3O46-iqtXfIcCf5wR&#P!PVi!nO>~N6BX-r%(-*N z+Iq*;K}$J2gqA^Pb99irvn*T;2#qFNB>Z6<2K>I&KSv$=GV|H1vd+)F2_OIf delta 571 zcmXYrJ8u&~6oqHjvrq3j0qi8s!+F~AhNl7zG6kg+ixp18V zMs)lEI;1p|i2pz{4gUmjcZIIz>O1Ei-ML>oKa=Qwl0@$&uiv)9Pto@|I=SbWKw101(yw?B_u@4MAvW&w{d4w zLz7b1$+>|R&6-3ltPriJxp%&bRl+qg+gKx7C)z-pXp?9Q>qH%*IyP_@9Xeo})DE_> zQ=PL*Y7e`V+OK>cdzF7cstb;N9FVTb9_c!|=;083q*OkhTVZX%(IEI@epcurpFh>c$(XAsMT3D&<;hdc=kTiR#eIG zG|N98PpFw+@e|*=vmz^$d5}Extax6cPI{^JPx3;Il(z0gHc~U0Xq7?fq0WkNKC(fz zWtuDVBkA$B`I8)l-UOv`7aYS!+OfBGo3n82aZ}4RvQF+`U&#So9WtG#i cmkINw@oLMur&Fj8)vo``s~^ht==0L%KYk{Qz5oCK diff --git a/my_library/models/library_book.py b/my_library/models/library_book.py index 55580607..90ac5e4e 100644 --- a/my_library/models/library_book.py +++ b/my_library/models/library_book.py @@ -11,7 +11,7 @@ class LibraryBook(models.Model): _name = 'library.book' _description = 'Library Book' # To sort records from newer to older and by title - # _order = 'data_release, name' + _order = 'date_release, name' # To add in the form view _rec_name = 'short_name' @@ -23,7 +23,42 @@ class LibraryBook(models.Model): state = fields.Selection([('draft', 'Not Available'), ('available', 'Available'), ('lost', 'Lost')], - 'State') + 'State', default='draft') + + # Define a method to change the state of a selection of books + + # Check whether a state transition is allowed - creation of is_allowed_transition + @api.model + def is_allowed_transition(self, old_state, new_state): + allowed = [('draft', 'available'), + ('available', 'borrowed'), + ('borrowed', 'available'), + ('available', 'lost'), + ('borrowed', 'lost'), + ('lost', 'available')] + return (old_state, new_state) in allowed + + # Method to change the state of some books to a new state passed as an argument + @api.multi + def change_state(self, new_state): + for book in self: + if book.is_allowed_transition(book.state, new_state): + book.state = new_state + else: + continue + # Method to change the book state by calling the change_State + @api.model + def make_available(self): + self.change_state('available') + + @api.model + def make_borrowed(self): + self.change_state('borrowed') + + @api.model + def make_lost(self): + self.change_state('lost') + description = fields.Html('Description') cover = fields.Binary('Book Cover') out_of_print = fields.Boolean('Out of Print?') @@ -37,17 +72,53 @@ class LibraryBook(models.Model): published_book_id = fields.One2many('library.book', 'publisher_id', string='Published Books') age_days = fields.Float(string='Days Since Release', compute='_compute_age', inverse='_inverse_age', search='_search_age', store='False', compute_sudo='False') + publisher_city = fields.Char('Publisher City', related='publisher_id.city', readonly=True) # @api.depends('date_release') + # Add the method withe the value computation logic # def _compute_age(self): # today = fields.Date.today() # for book in self.filtered('date_release'): # delta = today - book.date_release # book.age_days = delta.days # + # Add the method and implement the logic to write on the computed field # def _inverse_age(self): # today = fields.Date.today() # for book in self.filtered('date_release'): # d = today - timedelta(days=book.age_days) # book.date_release = d - # \ No newline at end of file + # Implement the logic to search in the computed field + # def _search_age(self, operator, value): + # today = fields.Date.today() + # value_days = timedelta(days=value) + # value_date = today - value_days + # # convert the operator: + # # book with age > value have a date < value_date + # operator_map = { + # '>': '<', '>=': '<=', + # '<': '>', '<=': '>=', + # } + # new_op = operator_map.get(operator, operator) + # return [('date_release', new_op, value_date)] + + class ResPartner(models.Model): + _inherit = 'res.partner' + _order = 'name' + authored_book_ids = fields.Many2many('library.book', string='Authored Books') + count_books = fields.Integer('Number of Authored Books', compute='_compute_count_books') + + @api.depends('authored_book_ids') + def _compute_count_books(self): + for r in self: + r.count_books = len(r.authored_book_ids) + + class LibraryMember(models.Model): + _name = 'library.member' + _inherits = {'res.partner': 'partner_id'} + + partner_id = fields.Many2one('res.partner', ondelete='cascade') + date_start = fields.Date('Member Since') + date_end = fields.Date('Termination Date') + member_number = fields.Char() + date_of_birth = fields.Date('Date of birth') diff --git a/my_library/views/library_book.xml b/my_library/views/library_book.xml index 2723edc1..7a21402e 100644 --- a/my_library/views/library_book.xml +++ b/my_library/views/library_book.xml @@ -39,6 +39,9 @@ +