diff --git a/partner_fax/README.rst b/partner_fax/README.rst new file mode 100644 index 000000000..43a120767 --- /dev/null +++ b/partner_fax/README.rst @@ -0,0 +1,78 @@ +=========== +Partner fax +=========== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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_fax + :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_fax + :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| + +This module adds a fax field into the partner form. + + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +1. Go to the partner form +2. There you will see a new field called "Fax" that you can use to save the partner's Fax number + +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 +======= + +Contributors +~~~~~~~~~~~~ + +* Francesco Apruzzese +* Aitor Bouzas + +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_fax/__init__.py b/partner_fax/__init__.py new file mode 100644 index 000000000..83e553ac4 --- /dev/null +++ b/partner_fax/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/partner_fax/__manifest__.py b/partner_fax/__manifest__.py new file mode 100644 index 000000000..d3b69c9e7 --- /dev/null +++ b/partner_fax/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2018 Apruzzese Francesco +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Partner fax', + 'category': 'Extra Tools', + 'summary': 'Add fax number on partner', + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'author': 'Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/partner-contact', + 'depends': [ + 'base_setup' + ], + 'data': [ + 'views/res_partner.xml', + ], + 'installable': True, +} diff --git a/partner_fax/i18n/de.po b/partner_fax/i18n/de.po new file mode 100644 index 000000000..5df8189a6 --- /dev/null +++ b/partner_fax/i18n/de.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: OCA Transbot , 2018\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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Kontakt" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" diff --git a/partner_fax/i18n/es.po b/partner_fax/i18n/es.po new file mode 100644 index 000000000..06481b90d --- /dev/null +++ b/partner_fax/i18n/es.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: partner_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" diff --git a/partner_fax/i18n/fr.po b/partner_fax/i18n/fr.po new file mode 100644 index 000000000..2b6ec18b8 --- /dev/null +++ b/partner_fax/i18n/fr.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: Quentin THEURET , 2018\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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Contact" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "Fax" diff --git a/partner_fax/i18n/hr_HR.po b/partner_fax/i18n/hr_HR.po new file mode 100644 index 000000000..dca658d95 --- /dev/null +++ b/partner_fax/i18n/hr_HR.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: OCA Transbot , 2018\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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Kontakt" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" diff --git a/partner_fax/i18n/it.po b/partner_fax/i18n/it.po new file mode 100644 index 000000000..a14f72a99 --- /dev/null +++ b/partner_fax/i18n/it.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: OCA Transbot , 2018\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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" diff --git a/partner_fax/i18n/nl.po b/partner_fax/i18n/nl.po new file mode 100644 index 000000000..ea17f7172 --- /dev/null +++ b/partner_fax/i18n/nl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: OCA Transbot , 2018\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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Contact" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" diff --git a/partner_fax/i18n/partner_fax.pot b/partner_fax/i18n/partner_fax.pot new file mode 100644 index 000000000..9f7d07116 --- /dev/null +++ b/partner_fax/i18n/partner_fax.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" + diff --git a/partner_fax/i18n/sl.po b/partner_fax/i18n/sl.po new file mode 100644 index 000000000..efcba30d1 --- /dev/null +++ b/partner_fax/i18n/sl.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_fax +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-31 03:43+0000\n" +"PO-Revision-Date: 2018-01-31 03:43+0000\n" +"Last-Translator: OCA Transbot , 2018\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_fax +#: model:ir.model,name:partner_fax.model_res_partner +msgid "Contact" +msgstr "Stik" + +#. module: partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_partner_fax +#: model:ir.model.fields,field_description:partner_fax.field_res_users_fax +msgid "Fax" +msgstr "" diff --git a/partner_fax/models/__init__.py b/partner_fax/models/__init__.py new file mode 100644 index 000000000..ccebc7247 --- /dev/null +++ b/partner_fax/models/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import res_partner diff --git a/partner_fax/models/res_partner.py b/partner_fax/models/res_partner.py new file mode 100644 index 000000000..ef9ec46c6 --- /dev/null +++ b/partner_fax/models/res_partner.py @@ -0,0 +1,11 @@ +# Copyright 2018 Apruzzese Francesco +# 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' + + fax = fields.Char() diff --git a/partner_fax/static/description/icon.png b/partner_fax/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/partner_fax/static/description/icon.png differ diff --git a/partner_fax/static/description/index.html b/partner_fax/static/description/index.html new file mode 100644 index 000000000..fbba3841f --- /dev/null +++ b/partner_fax/static/description/index.html @@ -0,0 +1,422 @@ + + + + + + +Partner fax + + + +
+

Partner fax

+ + +

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

+

This module adds a fax field into the partner form.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to the partner form
  2. +
  3. There you will see a new field called “Fax” that you can use to save the partner’s Fax number
  4. +
+
+
+

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

+
+

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_fax/views/res_partner.xml b/partner_fax/views/res_partner.xml new file mode 100644 index 000000000..a5bdcbb9d --- /dev/null +++ b/partner_fax/views/res_partner.xml @@ -0,0 +1,37 @@ + + + + + Add fax on partner + res.partner + + + + + + + + + + Add fax on partner + res.partner + + + + + + + + + + Add fax on partner + res.partner + + + + + + + + +