From 8389329d8e464fe255a6ef92cb39e004b5416cb9 Mon Sep 17 00:00:00 2001 From: Ronald Portier Date: Mon, 12 Jun 2017 19:14:23 +0200 Subject: [PATCH 01/11] [ENH] Migration of the 7.0 module partner_noncommercial. (#286) * [ENH] Migration of the 7.0 module partner_noncommercial. This used to be part of therp-oe-staging modules, but seems to be usefull for more organisations that are primarily or completely non-commercial. The organisations might be put of by the commercial lingo that is shown by default. * [FIX] Add name / mail to contributors. --- partner_noncommercial/README.rst | 81 +++++++++++++++ partner_noncommercial/__init__.py | 3 + partner_noncommercial/__openerp__.py | 20 ++++ partner_noncommercial/data/ir_translation.xml | 17 ++++ partner_noncommercial/i18n/nl.po | 45 +++++++++ .../i18n/partner_noncommercial.pot | 46 +++++++++ partner_noncommercial/i18n_extra/en.po | 55 +++++++++++ partner_noncommercial/i18n_extra/nl.po | 57 +++++++++++ partner_noncommercial/views/menu.xml | 98 +++++++++++++++++++ partner_noncommercial/views/res_partner.xml | 13 +++ 10 files changed, 435 insertions(+) create mode 100644 partner_noncommercial/README.rst create mode 100644 partner_noncommercial/__init__.py create mode 100644 partner_noncommercial/__openerp__.py create mode 100644 partner_noncommercial/data/ir_translation.xml create mode 100644 partner_noncommercial/i18n/nl.po create mode 100644 partner_noncommercial/i18n/partner_noncommercial.pot create mode 100644 partner_noncommercial/i18n_extra/en.po create mode 100644 partner_noncommercial/i18n_extra/nl.po create mode 100644 partner_noncommercial/views/menu.xml create mode 100644 partner_noncommercial/views/res_partner.xml diff --git a/partner_noncommercial/README.rst b/partner_noncommercial/README.rst new file mode 100644 index 000000000..965dec042 --- /dev/null +++ b/partner_noncommercial/README.rst @@ -0,0 +1,81 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +====================== +Partner Non Commercial +====================== + +This module changes menu and view descriptions to make partner management +suitable for use in non commercial organisations. + +Installation +============ + +Installing this module needs no special actions. + +Configuration +============= + +This module requires no special configuration. + +Usage +===== + +This module changes the Sales main menu to relations. There it gives special +options to work with persons or organisationss. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/partner-contact/8.0 + +.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt +.. branch is "8.0" for example + +Known issues / Roadmap +====================== + +After installing this module a situation has been encountered where the new +menu's were added to the database, but not shown in the UI. This was due to +partner_left and partner_right not being filled. To solve this, use the +generic solution when the menu-system has been messed up: + 1. stop server + 2. drop parent_left and parent_right columns frm ir_ui_menu table + 3. start server while updating base module + + +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. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Ronald Portier + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/partner_noncommercial/__init__.py b/partner_noncommercial/__init__.py new file mode 100644 index 000000000..c6728a775 --- /dev/null +++ b/partner_noncommercial/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +# © 2016 Therp BV (http://therp.nl). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/partner_noncommercial/__openerp__.py b/partner_noncommercial/__openerp__.py new file mode 100644 index 000000000..b8f65fe74 --- /dev/null +++ b/partner_noncommercial/__openerp__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# © 2015-2016 Therp BV (http://therp.nl). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + 'name': 'Partner Non Commercial', + 'version': '8.0.1.0.0', + "author": "Therp BV,Camptocamp,Odoo Community Association (OCA)", + "complexity": "normal", + "category": "Customer Relationship Management", + 'license': 'AGPL-3', + 'depends': [ + 'base', + ], + 'data': [ + 'data/ir_translation.xml', + 'views/menu.xml', + 'views/res_partner.xml', + ], + 'installable': True, +} diff --git a/partner_noncommercial/data/ir_translation.xml b/partner_noncommercial/data/ir_translation.xml new file mode 100644 index 000000000..af0d56139 --- /dev/null +++ b/partner_noncommercial/data/ir_translation.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/partner_noncommercial/i18n/nl.po b/partner_noncommercial/i18n/nl.po new file mode 100644 index 000000000..70d94eb76 --- /dev/null +++ b/partner_noncommercial/i18n/nl.po @@ -0,0 +1,45 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * vwn_crm_base_translations +# +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: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form +msgid "

Click to add a company in your address book.

" +msgstr "

Klik voor het toevoegen van een organisatie in het adresboek.

" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form +msgid "

Click to add a person in your address book.

" +msgstr "

Klik voor het toevoegen van een persoon in het adresboek.

" + +#. 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 +msgid "All partners" +msgstr "Alle relaties" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +msgid "Organisations" +msgstr "Organisaties" + +#. 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..38f9d608d --- /dev/null +++ b/partner_noncommercial/i18n/partner_noncommercial.pot @@ -0,0 +1,46 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * partner_noncommercial +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-06-11 15:26+0000\n" +"PO-Revision-Date: 2014-06-11 15:26+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_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form +msgid "

Click to add a company in your address book.

" +msgstr "

Click to add a company in your address book.

" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form +msgid "

Click to add a person in your address book.

" +msgstr "

Click to add a person in your address book.

" + +#. 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 +msgid "All partners" +msgstr "All partners" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +#: view:res.partner:0 +msgid "Organisations" +msgstr "Organisations" + +#. 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 "Persons" + diff --git a/partner_noncommercial/i18n_extra/en.po b/partner_noncommercial/i18n_extra/en.po new file mode 100644 index 000000000..cf9ad055a --- /dev/null +++ b/partner_noncommercial/i18n_extra/en.po @@ -0,0 +1,55 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * vwn_crm_base_translations +# +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 +#: model:ir.ui.menu,name:base.menu_base_partner +msgid "Sales" +msgstr "Partners" + +#. module: base +#: model:ir.ui.menu,name:base.menu_sales +msgid "Sales" +msgstr "Address book" + +#. module: base +#: model:ir.actions.act_window,name:base.action_partner_customer_form +#: model:ir.actions.act_window,name:base.action_partner_form +#: model:ir.ui.menu,name:base.menu_partner_form +#: view:res.partner:0 +msgid "Customers" +msgstr "Customers" + +#. 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..58468cb66 --- /dev/null +++ b/partner_noncommercial/i18n_extra/nl.po @@ -0,0 +1,57 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * vwn_crm_base_translations +# +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 +#: model:ir.ui.menu,name:base.menu_base_partner +msgid "Sales" +msgstr "Relaties" + +#. module: base +#: model:ir.ui.menu,name:base.menu_sales +msgid "Sales" +msgstr "Adresboek" + +#. module: base +#: model:ir.actions.act_window,name:base.action_partner_customer_form +#: model:ir.actions.act_window,name:base.action_partner_form +#: model:ir.ui.menu,name:base.menu_partner_form +#: view:res.partner:0 +msgid "Customers" +msgstr "Klanten" + +#. 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/views/menu.xml b/partner_noncommercial/views/menu.xml new file mode 100644 index 000000000..08cb9ffa7 --- /dev/null +++ b/partner_noncommercial/views/menu.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + All partners + ir.actions.act_window + res.partner + form + kanban,tree,form + + + + + + + + + Organisations + ir.actions.act_window + res.partner + form + kanban,tree,form + {"search_default_type_company": 1,"default_is_company": True} + + +

Click to add a company in your address book.

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

Click to add a person in 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..4536b0260 --- /dev/null +++ b/partner_noncommercial/views/res_partner.xml @@ -0,0 +1,13 @@ + + + + + res.partner + + + Organisations + + + + + From 11b6c4a926cccfaa34fd36f87b2120003bbae0f1 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 17 Jun 2017 06:39:33 +0200 Subject: [PATCH 02/11] OCA Transbot updated translations from Transifex --- partner_noncommercial/i18n/nl.po | 55 +++++++++++-------- .../i18n/partner_noncommercial.pot | 18 +++--- partner_noncommercial/i18n/sl.po | 53 ++++++++++++++++++ 3 files changed, 94 insertions(+), 32 deletions(-) create mode 100644 partner_noncommercial/i18n/sl.po diff --git a/partner_noncommercial/i18n/nl.po b/partner_noncommercial/i18n/nl.po index 70d94eb76..f016f6994 100644 --- a/partner_noncommercial/i18n/nl.po +++ b/partner_noncommercial/i18n/nl.po @@ -1,29 +1,40 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# * vwn_crm_base_translations +# * partner_noncommercial # +# Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 6.1\n" +"Project-Id-Version: Odoo Server 8.0\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" +"POT-Creation-Date: 2017-06-13 03:19+0000\n" +"PO-Revision-Date: 2017-06-13 03:19+0000\n" +"Last-Translator: OCA Transbot , 2017\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: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: partner_noncommercial #: model:ir.actions.act_window,help:partner_noncommercial.action_company_form -msgid "

Click to add a company in your address book.

" -msgstr "

Klik voor het toevoegen van een organisatie in het adresboek.

" +msgid "" +"

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

" +msgstr "" +"

Klik voor het toevoegen van een " +"organisatie in het adresboek.

" #. module: partner_noncommercial #: model:ir.actions.act_window,help:partner_noncommercial.action_person_form -msgid "

Click to add a person in your address book.

" -msgstr "

Klik voor het toevoegen van een persoon in het adresboek.

" +msgid "" +"

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

" +msgstr "" +"

Klik voor het toevoegen van een " +"persoon in het adresboek.

" #. module: partner_noncommercial #: model:ir.actions.act_window,name:partner_noncommercial.action_all_partner_form @@ -31,15 +42,15 @@ msgstr "

Klik voor het toevoegen van een pe msgid "All partners" msgstr "Alle relaties" -#. module: partner_noncommercial -#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form -#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form -msgid "Organisations" +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +#: view:res.partner:partner_noncommercial.view_res_partner_filter +msgid "Organisations" msgstr "Organisaties" -#. 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" - +#. 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 index 38f9d608d..59822eba7 100644 --- a/partner_noncommercial/i18n/partner_noncommercial.pot +++ b/partner_noncommercial/i18n/partner_noncommercial.pot @@ -1,13 +1,11 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * partner_noncommercial # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" +"Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-06-11 15:26+0000\n" -"PO-Revision-Date: 2014-06-11 15:26+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -18,29 +16,29 @@ msgstr "" #. module: partner_noncommercial #: model:ir.actions.act_window,help:partner_noncommercial.action_company_form msgid "

Click to add a company in your address book.

" -msgstr "

Click to add a company in your address book.

" +msgstr "" #. module: partner_noncommercial #: model:ir.actions.act_window,help:partner_noncommercial.action_person_form msgid "

Click to add a person in your address book.

" -msgstr "

Click to add a person in your address book.

" +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 msgid "All partners" -msgstr "All partners" +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 -#: view:res.partner:0 +#: view:res.partner:partner_noncommercial.view_res_partner_filter msgid "Organisations" -msgstr "Organisations" +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 "Persons" +msgstr "" diff --git a/partner_noncommercial/i18n/sl.po b/partner_noncommercial/i18n/sl.po new file mode 100644 index 000000000..420551a28 --- /dev/null +++ b/partner_noncommercial/i18n/sl.po @@ -0,0 +1,53 @@ +# 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,help:partner_noncommercial.action_company_form +msgid "" +"

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

" +msgstr "

Dodaj podjetje v imenik.

" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form +msgid "" +"

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

" +msgstr "

Dodaj osebo v imenik.

" + +#. 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 +msgid "All partners" +msgstr "Vsi partnerji" + +#. module: partner_noncommercial +#: model:ir.actions.act_window,name:partner_noncommercial.action_company_form +#: model:ir.ui.menu,name:partner_noncommercial.menu_company_form +#: view:res.partner:partner_noncommercial.view_res_partner_filter +msgid "Organisations" +msgstr "Organizacije" + +#. 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" From 3b5f2a27fe60a2608e119115256499684796bda2 Mon Sep 17 00:00:00 2001 From: Ronald Portier Date: Wed, 3 Oct 2018 20:45:12 +0200 Subject: [PATCH 03/11] [MIG] Migrate partner_noncommercial from 8.0 to 10.0 --- partner_noncommercial/README.rst | 17 +- partner_noncommercial/__init__.py | 3 +- partner_noncommercial/__manifest__.py | 20 ++ partner_noncommercial/__openerp__.py | 20 -- partner_noncommercial/data/ir_translation.xml | 17 -- partner_noncommercial/i18n/nl.po | 64 +++--- .../i18n/partner_noncommercial.pot | 36 +++- partner_noncommercial/i18n_extra/en.po | 30 +-- partner_noncommercial/i18n_extra/nl.po | 31 +-- partner_noncommercial/views/menu.xml | 190 ++++++++++-------- partner_noncommercial/views/res_partner.xml | 41 ++-- 11 files changed, 231 insertions(+), 238 deletions(-) create mode 100644 partner_noncommercial/__manifest__.py delete mode 100644 partner_noncommercial/__openerp__.py delete mode 100644 partner_noncommercial/data/ir_translation.xml diff --git a/partner_noncommercial/README.rst b/partner_noncommercial/README.rst index 965dec042..a1ce02510 100644 --- a/partner_noncommercial/README.rst +++ b/partner_noncommercial/README.rst @@ -27,10 +27,7 @@ options to work with persons or organisationss. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/partner-contact/8.0 - -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example + :target: https://runbot.odoo-community.org/runbot/partner-contact/10.0 Known issues / Roadmap ====================== @@ -39,9 +36,9 @@ After installing this module a situation has been encountered where the new menu's were added to the database, but not shown in the UI. This was due to partner_left and partner_right not being filled. To solve this, use the generic solution when the menu-system has been messed up: - 1. stop server - 2. drop parent_left and parent_right columns frm ir_ui_menu table - 3. start server while updating base module +1. stop server +2. drop parent_left and parent_right columns from ir_ui_menu table +3. start server while updating base module Bug Tracker @@ -58,7 +55,8 @@ Credits Images ------ -* Odoo Community Association: `Icon `_. +* Odoo Community Association: + `Icon `_. Contributors ------------ @@ -78,4 +76,5 @@ 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. -To contribute to this module, please visit https://odoo-community.org. +To contribute to this module, please visit + https://github.com/oca/partner-contact diff --git a/partner_noncommercial/__init__.py b/partner_noncommercial/__init__.py index c6728a775..0eec69fd3 100644 --- a/partner_noncommercial/__init__.py +++ b/partner_noncommercial/__init__.py @@ -1,3 +1,2 @@ # -*- coding: utf-8 -*- -# © 2016 Therp BV (http://therp.nl). -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# 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..8e81507b5 --- /dev/null +++ b/partner_noncommercial/__manifest__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# 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': '10.0.1.0.0', + 'author': 'Therp BV,Camptocamp,Odoo Community Association (OCA)', + 'website': 'https://github.com/oca/partner-contact', + 'complexity': 'normal', + 'category': 'Customer Relationship Management', + 'license': 'AGPL-3', + 'depends': [ + 'sales_team', # Contains address book configuration + ], + 'data': [ + 'views/menu.xml', + 'views/res_partner.xml', + ], + 'installable': True, +} diff --git a/partner_noncommercial/__openerp__.py b/partner_noncommercial/__openerp__.py deleted file mode 100644 index b8f65fe74..000000000 --- a/partner_noncommercial/__openerp__.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2015-2016 Therp BV (http://therp.nl). -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - 'name': 'Partner Non Commercial', - 'version': '8.0.1.0.0', - "author": "Therp BV,Camptocamp,Odoo Community Association (OCA)", - "complexity": "normal", - "category": "Customer Relationship Management", - 'license': 'AGPL-3', - 'depends': [ - 'base', - ], - 'data': [ - 'data/ir_translation.xml', - 'views/menu.xml', - 'views/res_partner.xml', - ], - 'installable': True, -} diff --git a/partner_noncommercial/data/ir_translation.xml b/partner_noncommercial/data/ir_translation.xml deleted file mode 100644 index af0d56139..000000000 --- a/partner_noncommercial/data/ir_translation.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/partner_noncommercial/i18n/nl.po b/partner_noncommercial/i18n/nl.po index f016f6994..f9058ab94 100644 --- a/partner_noncommercial/i18n/nl.po +++ b/partner_noncommercial/i18n/nl.po @@ -1,54 +1,60 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * partner_noncommercial +# Translation of OpenERP Server. # -# Translators: -# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: OpenERP Server 6.1\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: OCA Transbot , 2017\n" -"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" -"Language: nl\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: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: \n" #. module: partner_noncommercial -#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form -msgid "" -"

Click to add a company in your address " -"book.

" -msgstr "" -"

Klik voor het toevoegen van een " -"organisatie in het adresboek.

" - -#. module: partner_noncommercial -#: model:ir.actions.act_window,help:partner_noncommercial.action_person_form -msgid "" -"

Click to add a person in your address " -"book.

" -msgstr "" -"

Klik voor het toevoegen van een " -"persoon in het adresboek.

" +#: 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 -#: view:res.partner:partner_noncommercial.view_res_partner_filter +#: 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 +#: model:ir.ui.menu,name:partner_noncommercial.menu_partner_main +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 diff --git a/partner_noncommercial/i18n/partner_noncommercial.pot b/partner_noncommercial/i18n/partner_noncommercial.pot index 59822eba7..58bf88c0b 100644 --- a/partner_noncommercial/i18n/partner_noncommercial.pot +++ b/partner_noncommercial/i18n/partner_noncommercial.pot @@ -4,8 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-01 12:32+0000\n" +"PO-Revision-Date: 2017-12-01 12:32+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,28 +16,46 @@ msgstr "" "Plural-Forms: \n" #. module: partner_noncommercial -#: model:ir.actions.act_window,help:partner_noncommercial.action_company_form -msgid "

Click to add a company in your address book.

" +#: 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 in your address book.

" +msgid "Click to add a person to your address book." 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 -msgid "All partners" +#: 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 -#: view:res.partner:partner_noncommercial.view_res_partner_filter +#: 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 +#: model:ir.ui.menu,name:partner_noncommercial.menu_partner_main +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 diff --git a/partner_noncommercial/i18n_extra/en.po b/partner_noncommercial/i18n_extra/en.po index cf9ad055a..e55621687 100644 --- a/partner_noncommercial/i18n_extra/en.po +++ b/partner_noncommercial/i18n_extra/en.po @@ -1,6 +1,4 @@ # Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * vwn_crm_base_translations # msgid "" msgstr "" @@ -16,32 +14,14 @@ msgstr "" "Plural-Forms: \n" #. module: base -#: model:ir.ui.menu,name:base.menu_base_partner -msgid "Sales" -msgstr "Partners" - -#. module: base -#: model:ir.ui.menu,name:base.menu_sales -msgid "Sales" -msgstr "Address book" - -#. module: base -#: model:ir.actions.act_window,name:base.action_partner_customer_form -#: model:ir.actions.act_window,name:base.action_partner_form -#: model:ir.ui.menu,name:base.menu_partner_form #: view:res.partner:0 -msgid "Customers" -msgstr "Customers" - -#. module: base -#: view:res.partner:0 -msgid "Is a Company?" +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 +msgid "Sales & Purchases" +msgstr "Details" #. module: base #: view:res.partner:0 diff --git a/partner_noncommercial/i18n_extra/nl.po b/partner_noncommercial/i18n_extra/nl.po index 58468cb66..3b6290d9e 100644 --- a/partner_noncommercial/i18n_extra/nl.po +++ b/partner_noncommercial/i18n_extra/nl.po @@ -1,6 +1,4 @@ # Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * vwn_crm_base_translations # msgid "" msgstr "" @@ -16,32 +14,14 @@ msgstr "" "Plural-Forms: \n" #. module: base -#: model:ir.ui.menu,name:base.menu_base_partner -msgid "Sales" -msgstr "Relaties" - -#. module: base -#: model:ir.ui.menu,name:base.menu_sales -msgid "Sales" -msgstr "Adresboek" - -#. module: base -#: model:ir.actions.act_window,name:base.action_partner_customer_form -#: model:ir.actions.act_window,name:base.action_partner_form -#: model:ir.ui.menu,name:base.menu_partner_form #: view:res.partner:0 -msgid "Customers" -msgstr "Klanten" - -#. module: base -#: view:res.partner:0 -msgid "Is a Company?" +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 +msgid "Sales & Purchases" +msgstr "Details" #. module: base #: view:res.partner:0 @@ -54,4 +34,3 @@ msgstr "Verantwoordelijke" msgid "Related Company" msgstr "Gerelateerde organisatie" - diff --git a/partner_noncommercial/views/menu.xml b/partner_noncommercial/views/menu.xml index 08cb9ffa7..5446a40a6 100644 --- a/partner_noncommercial/views/menu.xml +++ b/partner_noncommercial/views/menu.xml @@ -1,98 +1,110 @@ - - - - - - - - + + + + + - - - - + + + All partners + ir.actions.act_window + res.partner + form + tree,kanban,form + {"search_default_type_relation": 1} + + + - - - All partners - ir.actions.act_window - res.partner - form - kanban,tree,form - - - + + 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.

+
+ - - - Organisations - ir.actions.act_window - res.partner - form - kanban,tree,form - {"search_default_type_company": 1,"default_is_company": True} - - -

Click to add a company in your address book.

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

Click to add item to your address book.

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

Click to add a person in your address book.

-
- + -
-
+ + diff --git a/partner_noncommercial/views/res_partner.xml b/partner_noncommercial/views/res_partner.xml index 4536b0260..5741a1eff 100644 --- a/partner_noncommercial/views/res_partner.xml +++ b/partner_noncommercial/views/res_partner.xml @@ -1,13 +1,28 @@ - - - - - res.partner - - - Organisations - - - - - + + + + + + res.partner + + + + + + + [('is_company','=',0),('type','=','contact')] + + + Organisations + + + + + From 652f5a1febc538779c984299abdf0fe341e5d3f7 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 4 Oct 2018 09:24:01 +0000 Subject: [PATCH 04/11] [UPD] Update partner_noncommercial.pot --- partner_noncommercial/README.rst | 87 ++-- partner_noncommercial/__init__.py | 1 - partner_noncommercial/__manifest__.py | 5 +- .../i18n/partner_noncommercial.pot | 2 - partner_noncommercial/readme/CONFIGURE.rst | 3 + partner_noncommercial/readme/CONTRIBUTORS.rst | 1 + partner_noncommercial/readme/DESCRIPTION.rst | 2 + partner_noncommercial/readme/ROADMAP.rst | 0 partner_noncommercial/readme/USAGE.rst | 3 + .../static/description/index.html | 435 ++++++++++++++++++ partner_noncommercial/views/menu.xml | 19 +- 11 files changed, 496 insertions(+), 62 deletions(-) create mode 100644 partner_noncommercial/readme/CONFIGURE.rst create mode 100644 partner_noncommercial/readme/CONTRIBUTORS.rst create mode 100644 partner_noncommercial/readme/DESCRIPTION.rst create mode 100644 partner_noncommercial/readme/ROADMAP.rst create mode 100644 partner_noncommercial/readme/USAGE.rst create mode 100644 partner_noncommercial/static/description/index.html diff --git a/partner_noncommercial/README.rst b/partner_noncommercial/README.rst index a1ce02510..97c4ca76f 100644 --- a/partner_noncommercial/README.rst +++ b/partner_noncommercial/README.rst @@ -1,80 +1,89 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ====================== 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/11.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-11-0/partner-contact-11-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/11.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. -Installation -============ +**Table of contents** -Installing this module needs no special actions. +.. contents:: + :local: Configuration ============= -This module requires no special configuration. +To configure this module, you need to: + +#. This module requires no special configuration. Usage ===== -This module changes the Sales main menu to relations. There it gives special +This module creates a main menu All partners. There it gives special options to work with persons or organisationss. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/partner-contact/10.0 - -Known issues / Roadmap -====================== - -After installing this module a situation has been encountered where the new -menu's were added to the database, but not shown in the UI. This was due to -partner_left and partner_right not being filled. To solve this, use the -generic solution when the menu-system has been messed up: -1. stop server -2. drop parent_left and parent_right columns from ir_ui_menu table -3. start server while updating base module - 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. +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 ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: - `Icon `_. +* Therp BV +* Camptocamp Contributors ------------- +~~~~~~~~~~~~ * Ronald Portier -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit - https://github.com/oca/partner-contact +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 index 0eec69fd3..c71289ab1 100644 --- a/partner_noncommercial/__init__.py +++ b/partner_noncommercial/__init__.py @@ -1,2 +1 @@ -# -*- coding: utf-8 -*- # 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 index 8e81507b5..da9b1d61c 100644 --- a/partner_noncommercial/__manifest__.py +++ b/partner_noncommercial/__manifest__.py @@ -1,16 +1,15 @@ -# -*- coding: utf-8 -*- # 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': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'author': 'Therp BV,Camptocamp,Odoo Community Association (OCA)', 'website': 'https://github.com/oca/partner-contact', 'complexity': 'normal', 'category': 'Customer Relationship Management', 'license': 'AGPL-3', 'depends': [ - 'sales_team', # Contains address book configuration + 'contacts', ], 'data': [ 'views/menu.xml', diff --git a/partner_noncommercial/i18n/partner_noncommercial.pot b/partner_noncommercial/i18n/partner_noncommercial.pot index 58bf88c0b..7e9817eab 100644 --- a/partner_noncommercial/i18n/partner_noncommercial.pot +++ b/partner_noncommercial/i18n/partner_noncommercial.pot @@ -6,8 +6,6 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-01 12:32+0000\n" -"PO-Revision-Date: 2017-12-01 12:32+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" 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/ROADMAP.rst b/partner_noncommercial/readme/ROADMAP.rst new file mode 100644 index 000000000..e69de29bb 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/index.html b/partner_noncommercial/static/description/index.html new file mode 100644 index 000000000..890a137ef --- /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 index 5446a40a6..35a6043b8 100644 --- a/partner_noncommercial/views/menu.xml +++ b/partner_noncommercial/views/menu.xml @@ -1,17 +1,10 @@ - - + @@ -99,12 +92,4 @@ sequence="41" /> - - - From f3c50f09c82dcec592c1888926f29d54f3e8637e Mon Sep 17 00:00:00 2001 From: oca-travis Date: Thu, 4 Oct 2018 09:24:01 +0000 Subject: [PATCH 05/11] [UPD] Update partner_noncommercial.pot --- partner_noncommercial/readme/ROADMAP.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/partner_noncommercial/readme/ROADMAP.rst b/partner_noncommercial/readme/ROADMAP.rst index e69de29bb..ab755a463 100644 --- a/partner_noncommercial/readme/ROADMAP.rst +++ b/partner_noncommercial/readme/ROADMAP.rst @@ -0,0 +1,9 @@ +After installing this module a situation has been encountered where the new +menu's were added to the database, but not shown in the UI. This was due to +partner_left and partner_right not being filled. To solve this, use the +generic solution when the menu-system has been messed up: + +#. stop server +#. drop parent_left and parent_right columns from ir_ui_menu table +#. start server while updating base module + From 3ddfc8a6ad87acb4fa314e43edb526d1467fc79e Mon Sep 17 00:00:00 2001 From: Ronald Portier Date: Wed, 5 Dec 2018 11:19:28 +0100 Subject: [PATCH 06/11] [IMP] partner_noncommercial. Fully use contacts menu. --- partner_noncommercial/readme/ROADMAP.rst | 9 --------- partner_noncommercial/views/menu.xml | 17 ++++------------- partner_noncommercial/views/res_partner.xml | 2 +- 3 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 partner_noncommercial/readme/ROADMAP.rst diff --git a/partner_noncommercial/readme/ROADMAP.rst b/partner_noncommercial/readme/ROADMAP.rst deleted file mode 100644 index ab755a463..000000000 --- a/partner_noncommercial/readme/ROADMAP.rst +++ /dev/null @@ -1,9 +0,0 @@ -After installing this module a situation has been encountered where the new -menu's were added to the database, but not shown in the UI. This was due to -partner_left and partner_right not being filled. To solve this, use the -generic solution when the menu-system has been messed up: - -#. stop server -#. drop parent_left and parent_right columns from ir_ui_menu table -#. start server while updating base module - diff --git a/partner_noncommercial/views/menu.xml b/partner_noncommercial/views/menu.xml index 35a6043b8..09cf96cce 100644 --- a/partner_noncommercial/views/menu.xml +++ b/partner_noncommercial/views/menu.xml @@ -1,29 +1,20 @@ - - - + All partners ir.actions.act_window res.partner form tree,kanban,form - {"search_default_type_relation": 1} + {"search_default_type_contact": 1} From 139472343c28ca8c91c4a78386285a3a997cf6c1 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 7 Oct 2019 13:50:38 +0000 Subject: [PATCH 07/11] [UPD] README.rst --- partner_noncommercial/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_noncommercial/static/description/index.html b/partner_noncommercial/static/description/index.html index 890a137ef..f7ee8ff26 100644 --- a/partner_noncommercial/static/description/index.html +++ b/partner_noncommercial/static/description/index.html @@ -3,7 +3,7 @@ - + Partner Non Commercial