Skip to content

Commit 311995b

Browse files
committed
Merge PR #62 into 18.0
Signed-off-by ValentinVinagre
2 parents 6970f0a + cc0b382 commit 311995b

19 files changed

Lines changed: 1122 additions & 0 deletions
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
===========================
2+
Partner Private Information
3+
===========================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:350d438ab706b5aabc16f6a4874de7ebb9c81819627fedc573aaf77f4c6b7fe6
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--partner--contact-lightgray.png?logo=github
20+
:target: https://github.com/sygel-technology/sy-partner-contact/tree/18.0/partner_private_information
21+
:alt: sygel-technology/sy-partner-contact
22+
23+
|badge1| |badge2| |badge3|
24+
25+
Adds a dedicated “Private Info” tab to Contacts, containing a second set
26+
of contact data — including phone, mobile, e‑mail, full address, and
27+
categories — that is only visible and exportable by authorised users.
28+
This allows separating general contact details from internal-use-only
29+
data.
30+
31+
Key Features
32+
33+
This module provides:
34+
35+
- A Private Info tab on the partner form view, visible only to users
36+
with the appropriate access.
37+
- Controlled by the group: Extra Rights / Show partner private info.
38+
- Access is enabled via the user form by checking the option “Show
39+
partner private info”.
40+
41+
**Table of contents**
42+
43+
.. contents::
44+
:local:
45+
46+
Configuration
47+
=============
48+
49+
To configure this module, you need to:
50+
51+
1. In the user settings we will find the permission to allow that user
52+
to view the private information tab in the contact.
53+
54+
Usage
55+
=====
56+
57+
To use this module, you need to:
58+
59+
1. In the contact's tab we find a tab called private information.
60+
2. Tags (partner categories) can be flagged as **Private**. When a
61+
category is marked as private, it will only be available for
62+
selection in the **Private Information** tab.
63+
64+
Bug Tracker
65+
===========
66+
67+
Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-partner-contact/issues>`_.
68+
In case of trouble, please check there if your issue has already been reported.
69+
If you spotted it first, help us to smash it by providing a detailed and welcomed
70+
`feedback <https://github.com/sygel-technology/sy-partner-contact/issues/new?body=module:%20partner_private_information%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
71+
72+
Do not contact contributors directly about support or help with technical issues.
73+
74+
Credits
75+
=======
76+
77+
Authors
78+
-------
79+
80+
* Sygel
81+
82+
Contributors
83+
------------
84+
85+
- `Sygel <https://www.sygel.es>`__:
86+
87+
- Roger Sans
88+
- Alberto Martínez
89+
- Valentín Vinagee
90+
- Harald Panten
91+
92+
Maintainers
93+
-----------
94+
95+
This module is part of the `sygel-technology/sy-partner-contact <https://github.com/sygel-technology/sy-partner-contact/tree/18.0/partner_private_information>`_ project on GitHub.
96+
97+
You are welcome to contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2024 Roger Sans <roger.sans@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Partner Private Information",
6+
"version": "18.0.1.0.0",
7+
"license": "AGPL-3",
8+
"author": "Sygel, Odoo Community Association (OCA)",
9+
"category": "Contacts",
10+
"summary": "Add private information tab in partners.",
11+
"website": "https://github.com/sygel-technology/sy-partner-contact",
12+
"depends": [
13+
"contacts",
14+
],
15+
"data": [
16+
"security/partner_private_information_security.xml",
17+
"views/res_partner_view.xml",
18+
"views/res_partner_category_views.xml",
19+
],
20+
}
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * partner_private_information
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 17.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2024-07-11 14:06+0000\n"
10+
"PO-Revision-Date: 2024-07-11 16:11+0200\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"Language: es\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
18+
"X-Generator: Poedit 3.4.3\n"
19+
20+
#. module: partner_private_information
21+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
22+
msgid "<b invisible=\"not is_company\">Address</b>"
23+
msgstr "<b invisible=\"not is_company\">Dirección</b>"
24+
25+
#. module: partner_private_information
26+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
27+
msgid "City"
28+
msgstr "Ciudad"
29+
30+
#. module: partner_private_information
31+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
32+
msgid "Country"
33+
msgstr "País"
34+
35+
#. module: partner_private_information
36+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_city
37+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_city
38+
msgid "Private City"
39+
msgstr "Ciudad privada"
40+
41+
#. module: partner_private_information
42+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_country_id
43+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_country_id
44+
msgid "Private Country"
45+
msgstr "País privado"
46+
47+
#. module: partner_private_information
48+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_country_code
49+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_country_code
50+
msgid "Private Country Code"
51+
msgstr "Código del país"
52+
53+
#. module: partner_private_information
54+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_email
55+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_email
56+
msgid "Private Email"
57+
msgstr "Email privado"
58+
59+
#. module: partner_private_information
60+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
61+
msgid "Private Info"
62+
msgstr "Información privada"
63+
64+
#. module: partner_private_information
65+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_mobile
66+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_mobile
67+
msgid "Private Mobile"
68+
msgstr "Móvil privado"
69+
70+
#. module: partner_private_information
71+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_notes
72+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_notes
73+
msgid "Private Notes"
74+
msgstr "Notas privadas"
75+
76+
#. module: partner_private_information
77+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_phone
78+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_phone
79+
msgid "Private Phone"
80+
msgstr "Teléfono privado"
81+
82+
#. module: partner_private_information
83+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_state_id
84+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_state_id
85+
msgid "Private State"
86+
msgstr "Provincia privada"
87+
88+
#. module: partner_private_information
89+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_street
90+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_street
91+
msgid "Private Street"
92+
msgstr "Calle privada"
93+
94+
#. module: partner_private_information
95+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_street2
96+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_street2
97+
msgid "Private Street2"
98+
msgstr "Calle privada 2"
99+
100+
#. module: partner_private_information
101+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_category_ids
102+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_category_ids
103+
msgid "Private Tags"
104+
msgstr "Etiquetas Privadas"
105+
106+
#. module: partner_private_information
107+
#: model:ir.model.fields,field_description:partner_private_information.field_res_partner__private_zip
108+
#: model:ir.model.fields,field_description:partner_private_information.field_res_users__private_zip
109+
msgid "Private Zip"
110+
msgstr "ZIP"
111+
112+
#. module: partner_private_information
113+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
114+
msgid "Private notes..."
115+
msgstr "Notas privadas..."
116+
117+
#. module: partner_private_information
118+
#: model:res.groups,name:partner_private_information.group_partner_private_info
119+
msgid "Show partner private info"
120+
msgstr "Mostrar información privada de contactos"
121+
122+
#. module: partner_private_information
123+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
124+
msgid "State"
125+
msgstr "País"
126+
127+
#. module: partner_private_information
128+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
129+
msgid "Street 2..."
130+
msgstr "Dirección2..."
131+
132+
#. module: partner_private_information
133+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
134+
msgid "Street..."
135+
msgstr "Dirección..."
136+
137+
#. module: partner_private_information
138+
#: model:ir.model.fields,help:partner_private_information.field_res_partner__private_country_code
139+
#: model:ir.model.fields,help:partner_private_information.field_res_users__private_country_code
140+
msgid ""
141+
"The ISO country code in two chars. \n"
142+
"You can use this field for quick search."
143+
msgstr ""
144+
"El código de país ISO en dos caracteres. \n"
145+
"Puede utilizar este campo para realizar una búsqueda rápida."
146+
147+
#. module: partner_private_information
148+
#: model_terms:ir.ui.view,arch_db:partner_private_information.res_partner_form_inherit_private_info
149+
msgid "ZIP"
150+
msgstr "ZIP"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright 2024 Roger Sans <roger.sans@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from . import res_partner
5+
from . import res_partner_category

0 commit comments

Comments
 (0)