diff --git a/partner_noncommercial/README.rst b/partner_noncommercial/README.rst new file mode 100644 index 000000000..593ec0e4f --- /dev/null +++ b/partner_noncommercial/README.rst @@ -0,0 +1,89 @@ +====================== +Partner Non Commercial +====================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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_noncommercial + :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_noncommercial + :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 changes menu and view descriptions to make partner management +suitable for use in non commercial organisations. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +#. This module requires no special configuration. + +Usage +===== + +This module creates a main menu All partners. There it gives special +options to work with persons or organisationss. + + +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 +~~~~~~~ + +* Therp BV +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Ronald Portier + +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_noncommercial/__init__.py b/partner_noncommercial/__init__.py new file mode 100644 index 000000000..c71289ab1 --- /dev/null +++ b/partner_noncommercial/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). diff --git a/partner_noncommercial/__manifest__.py b/partner_noncommercial/__manifest__.py new file mode 100644 index 000000000..46bd672af --- /dev/null +++ b/partner_noncommercial/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2015-2018 Therp BV (https://therp.nl). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +{ + 'name': 'Partner Non Commercial', + 'version': '12.0.1.0.0', + 'author': 'Therp BV,Camptocamp,Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/partner-contact', + 'category': 'Customer Relationship Management', + 'license': 'AGPL-3', + 'depends': [ + 'contacts', + ], + 'data': [ + 'views/menu.xml', + 'views/res_partner.xml', + ], + 'installable': True, +} diff --git a/partner_noncommercial/i18n/nl.po b/partner_noncommercial/i18n/nl.po new file mode 100644 index 000000000..23d7e1aeb --- /dev/null +++ b/partner_noncommercial/i18n/nl.po @@ -0,0 +1,61 @@ +# Translation of OpenERP Server. +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-01 12:32+0000\n" +"PO-Revision-Date: 2012-03-12 09:28+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_address_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_address_form +msgid "All addresses" +msgstr "Alle adressen" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_all_partner_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_all_partner_form +#: model:ir.ui.view,arch_db:partner_noncommercial.view_res_partner_filter +msgid "All partners" +msgstr "Alle relaties" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form +msgid "Click to add a person to your address book." +msgstr "Klik voor het toevoegen van een persoon aan het adresboek." + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form +msgid "Click to add an organisation to your address book." +msgstr "Klik voor het toevoegen van een organisatie aan het adresboek." + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_address_form +msgid "Click to add item to your address book." +msgstr "Klik voor toevoeging aan het adresboek" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +#: model:ir.ui.view,arch_db:partner_noncommercial.view_res_partner_filter +msgid "Organisations" +msgstr "Organisaties" + +#. module: partner_noncommercial +#: model:ir.ui.menu,name:partner_noncommercial.menu_partner +msgid "Partners" +msgstr "Alle relaties" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_person_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_person_form +msgid "Persons" +msgstr "Personen" diff --git a/partner_noncommercial/i18n/partner_noncommercial.pot b/partner_noncommercial/i18n/partner_noncommercial.pot new file mode 100644 index 000000000..24fba4fd6 --- /dev/null +++ b/partner_noncommercial/i18n/partner_noncommercial.pot @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_noncommercial +# +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_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_address_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_address_form +msgid "All addresses" +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_all_partner_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_all_partner_form +#: model:ir.ui.view,arch_db:partner_noncommercial.view_res_partner_filter +msgid "All partners" +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form +msgid "Click to add a person to your address book." +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form +msgid "Click to add an organisation to your address book." +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_address_form +msgid "Click to add item to your address book." +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +#: model:ir.ui.view,arch_db:partner_noncommercial.view_res_partner_filter +msgid "Organisations" +msgstr "" + +#. module: partner_noncommercial +#: model:ir.ui.menu,name:partner_noncommercial.menu_partner +msgid "Partners" +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_person_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_person_form +msgid "Persons" +msgstr "" + diff --git a/partner_noncommercial/i18n/sl.po b/partner_noncommercial/i18n/sl.po new file mode 100644 index 000000000..39c21104e --- /dev/null +++ b/partner_noncommercial/i18n/sl.po @@ -0,0 +1,79 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_noncommercial +# +# Translators: +# Matjaž Mozetič , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-13 03:19+0000\n" +"PO-Revision-Date: 2017-06-13 03:19+0000\n" +"Last-Translator: Matjaž Mozetič , 2017\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_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_address_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_address_form +#, fuzzy +#| msgid "All partners" +msgid "All addresses" +msgstr "Vsi partnerji" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_all_partner_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_all_partner_form +#: model:ir.ui.view,arch_db:partner_noncommercial.view_res_partner_filter +msgid "All partners" +msgstr "Vsi partnerji" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form +#, fuzzy +#| msgid "" +#| "

Click to add a person in your " +#| "address book.

" +msgid "Click to add a person to your address book." +msgstr "

Dodaj osebo v imenik.

" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form +msgid "Click to add an organisation to your address book." +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_address_form +msgid "Click to add item to your address book." +msgstr "" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +#: model:ir.ui.view,arch_db:partner_noncommercial.view_res_partner_filter +msgid "Organisations" +msgstr "Organizacije" + +#. module: partner_noncommercial +#: model:ir.ui.menu,name:partner_noncommercial.menu_partner +#, fuzzy +#| msgid "All partners" +msgid "Partners" +msgstr "Vsi partnerji" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_person_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_person_form +msgid "Persons" +msgstr "Osebe" + +#~ msgid "" +#~ "

Click to add a company in your " +#~ "address book.

" +#~ msgstr "

Dodaj podjetje v imenik.

" diff --git a/partner_noncommercial/i18n_extra/en.po b/partner_noncommercial/i18n_extra/en.po new file mode 100644 index 000000000..e55621687 --- /dev/null +++ b/partner_noncommercial/i18n_extra/en.po @@ -0,0 +1,35 @@ +# Translation of OpenERP Server. +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-12 09:28+0000\n" +"PO-Revision-Date: 2012-03-12 09:28+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: base +#: view:res.partner:0 +msgid "Is a Company?" +msgstr "Is an organisation?" + +#. module: base +#: view:res.partner:0 +msgid "Sales & Purchases" +msgstr "Details" + +#. module: base +#: view:res.partner:0 +#: field:res.partner,user_id:0 +msgid "Salesperson" +msgstr "Responsible" + +#. module: base +#: field:res.partner,parent_id:0 +msgid "Related Company" +msgstr "Related organisation" diff --git a/partner_noncommercial/i18n_extra/nl.po b/partner_noncommercial/i18n_extra/nl.po new file mode 100644 index 000000000..3b6290d9e --- /dev/null +++ b/partner_noncommercial/i18n_extra/nl.po @@ -0,0 +1,36 @@ +# Translation of OpenERP Server. +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-12 09:28+0000\n" +"PO-Revision-Date: 2012-03-12 09:28+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: base +#: view:res.partner:0 +msgid "Is a Company?" +msgstr "Is een organisatie?" + +#. module: base +#: view:res.partner:0 +msgid "Sales & Purchases" +msgstr "Details" + +#. module: base +#: view:res.partner:0 +#: field:res.partner,user_id:0 +msgid "Salesperson" +msgstr "Verantwoordelijke" + +#. module: base +#: field:res.partner,parent_id:0 +msgid "Related Company" +msgstr "Gerelateerde organisatie" + diff --git a/partner_noncommercial/readme/CONFIGURE.rst b/partner_noncommercial/readme/CONFIGURE.rst new file mode 100644 index 000000000..2d0aff034 --- /dev/null +++ b/partner_noncommercial/readme/CONFIGURE.rst @@ -0,0 +1,3 @@ +To configure this module, you need to: + +#. This module requires no special configuration. diff --git a/partner_noncommercial/readme/CONTRIBUTORS.rst b/partner_noncommercial/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..4e07c28e1 --- /dev/null +++ b/partner_noncommercial/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Ronald Portier diff --git a/partner_noncommercial/readme/DESCRIPTION.rst b/partner_noncommercial/readme/DESCRIPTION.rst new file mode 100644 index 000000000..5a05cb041 --- /dev/null +++ b/partner_noncommercial/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module changes menu and view descriptions to make partner management +suitable for use in non commercial organisations. diff --git a/partner_noncommercial/readme/USAGE.rst b/partner_noncommercial/readme/USAGE.rst new file mode 100644 index 000000000..4791cdad1 --- /dev/null +++ b/partner_noncommercial/readme/USAGE.rst @@ -0,0 +1,3 @@ +This module creates a main menu All partners. There it gives special +options to work with persons or organisationss. + diff --git a/partner_noncommercial/static/description/icon.png b/partner_noncommercial/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/partner_noncommercial/static/description/icon.png differ diff --git a/partner_noncommercial/static/description/index.html b/partner_noncommercial/static/description/index.html new file mode 100644 index 000000000..d654debf7 --- /dev/null +++ b/partner_noncommercial/static/description/index.html @@ -0,0 +1,435 @@ + + + + + + +Partner Non Commercial + + + +
+

Partner Non Commercial

+ + +

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

+

This module changes menu and view descriptions to make partner management +suitable for use in non commercial organisations.

+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. This module requires no special configuration.
  2. +
+
+
+

Usage

+

This module creates a main menu All partners. There it gives special +options to work with persons or organisationss.

+
+
+

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

+
    +
  • Therp BV
  • +
  • Camptocamp
  • +
+
+
+

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_noncommercial/views/menu.xml b/partner_noncommercial/views/menu.xml new file mode 100644 index 000000000..09cf96cce --- /dev/null +++ b/partner_noncommercial/views/menu.xml @@ -0,0 +1,86 @@ + + + + + + + All partners + ir.actions.act_window + res.partner + form + tree,kanban,form + {"search_default_type_contact": 1} + + + + + + + Organisations + ir.actions.act_window + res.partner + form + tree,kanban,form + {"search_default_type_company": 1,"default_is_company": True} + + +

Click to add an organisation to your address book.

+
+ + + + + Persons + ir.actions.act_window + res.partner + form + tree,kanban,form + {"search_default_type_person": 1,"default_is_company": False} + + +

Click to add a person to your address book.

+
+ + + + + All addresses + ir.actions.act_window + res.partner + form + tree,kanban,form + + +

Click to add item to your address book.

+
+ + +
diff --git a/partner_noncommercial/views/res_partner.xml b/partner_noncommercial/views/res_partner.xml new file mode 100644 index 000000000..eb6bfc0e4 --- /dev/null +++ b/partner_noncommercial/views/res_partner.xml @@ -0,0 +1,28 @@ + + + + + + res.partner + + + + + + + [('is_company', '=', False), ('type', '=', 'contact')] + + + Organisations + + + + +