Browse Source

[RENAME] partner_sector -> partner_industry_secondary

pull/619/head
mreficent 6 years ago
parent
commit
6f9c6490d4
  1. 6
      partner_industry_secondary/README.rst
  2. 0
      partner_industry_secondary/__init__.py
  3. 2
      partner_industry_secondary/__manifest__.py
  4. 0
      partner_industry_secondary/i18n/am.po
  5. 0
      partner_industry_secondary/i18n/ar.po
  6. 0
      partner_industry_secondary/i18n/bg.po
  7. 0
      partner_industry_secondary/i18n/bs.po
  8. 0
      partner_industry_secondary/i18n/ca.po
  9. 0
      partner_industry_secondary/i18n/cs.po
  10. 0
      partner_industry_secondary/i18n/cs_CZ.po
  11. 0
      partner_industry_secondary/i18n/da.po
  12. 0
      partner_industry_secondary/i18n/de.po
  13. 0
      partner_industry_secondary/i18n/el_GR.po
  14. 0
      partner_industry_secondary/i18n/en_GB.po
  15. 0
      partner_industry_secondary/i18n/es.po
  16. 0
      partner_industry_secondary/i18n/es_AR.po
  17. 0
      partner_industry_secondary/i18n/es_CL.po
  18. 0
      partner_industry_secondary/i18n/es_CO.po
  19. 0
      partner_industry_secondary/i18n/es_CR.po
  20. 0
      partner_industry_secondary/i18n/es_DO.po
  21. 0
      partner_industry_secondary/i18n/es_EC.po
  22. 0
      partner_industry_secondary/i18n/es_ES.po
  23. 0
      partner_industry_secondary/i18n/es_MX.po
  24. 0
      partner_industry_secondary/i18n/es_PE.po
  25. 0
      partner_industry_secondary/i18n/es_PY.po
  26. 0
      partner_industry_secondary/i18n/es_VE.po
  27. 0
      partner_industry_secondary/i18n/et.po
  28. 0
      partner_industry_secondary/i18n/eu.po
  29. 0
      partner_industry_secondary/i18n/fa.po
  30. 0
      partner_industry_secondary/i18n/fi.po
  31. 0
      partner_industry_secondary/i18n/fr.po
  32. 0
      partner_industry_secondary/i18n/fr_CA.po
  33. 0
      partner_industry_secondary/i18n/fr_CH.po
  34. 0
      partner_industry_secondary/i18n/gl.po
  35. 0
      partner_industry_secondary/i18n/gl_ES.po
  36. 0
      partner_industry_secondary/i18n/he.po
  37. 0
      partner_industry_secondary/i18n/hr.po
  38. 0
      partner_industry_secondary/i18n/hr_HR.po
  39. 0
      partner_industry_secondary/i18n/hu.po
  40. 0
      partner_industry_secondary/i18n/id.po
  41. 0
      partner_industry_secondary/i18n/it.po
  42. 0
      partner_industry_secondary/i18n/ja.po
  43. 0
      partner_industry_secondary/i18n/ko.po
  44. 0
      partner_industry_secondary/i18n/lt.po
  45. 0
      partner_industry_secondary/i18n/lt_LT.po
  46. 0
      partner_industry_secondary/i18n/lv.po
  47. 0
      partner_industry_secondary/i18n/mk.po
  48. 0
      partner_industry_secondary/i18n/mn.po
  49. 0
      partner_industry_secondary/i18n/nb.po
  50. 0
      partner_industry_secondary/i18n/nb_NO.po
  51. 0
      partner_industry_secondary/i18n/nl.po
  52. 0
      partner_industry_secondary/i18n/nl_BE.po
  53. 0
      partner_industry_secondary/i18n/nl_NL.po
  54. 0
      partner_industry_secondary/i18n/partner_sector.pot
  55. 0
      partner_industry_secondary/i18n/pl.po
  56. 0
      partner_industry_secondary/i18n/pt.po
  57. 0
      partner_industry_secondary/i18n/pt_BR.po
  58. 0
      partner_industry_secondary/i18n/pt_PT.po
  59. 0
      partner_industry_secondary/i18n/ro.po
  60. 0
      partner_industry_secondary/i18n/ru.po
  61. 0
      partner_industry_secondary/i18n/sk.po
  62. 0
      partner_industry_secondary/i18n/sl.po
  63. 0
      partner_industry_secondary/i18n/sr.po
  64. 0
      partner_industry_secondary/i18n/sr@latin.po
  65. 0
      partner_industry_secondary/i18n/sv.po
  66. 0
      partner_industry_secondary/i18n/th.po
  67. 0
      partner_industry_secondary/i18n/tr.po
  68. 0
      partner_industry_secondary/i18n/tr_TR.po
  69. 0
      partner_industry_secondary/i18n/uk.po
  70. 0
      partner_industry_secondary/i18n/vi.po
  71. 0
      partner_industry_secondary/i18n/vi_VN.po
  72. 0
      partner_industry_secondary/i18n/zh_CN.po
  73. 0
      partner_industry_secondary/i18n/zh_TW.po
  74. 0
      partner_industry_secondary/models/__init__.py
  75. 3
      partner_industry_secondary/models/res_config_settings.py
  76. 0
      partner_industry_secondary/models/res_partner.py
  77. 0
      partner_industry_secondary/models/res_partner_industry.py
  78. 8
      partner_industry_secondary/readme/CONFIGURE.rst
  79. 8
      partner_industry_secondary/readme/CONTRIBUTORS.rst
  80. 1
      partner_industry_secondary/readme/DESCRIPTION.rst
  81. 1
      partner_industry_secondary/readme/ROADMAP.rst
  82. 3
      partner_industry_secondary/readme/USAGE.rst
  83. 0
      partner_industry_secondary/security/ir.model.access.csv
  84. 0
      partner_industry_secondary/security/partner_industry_security.xml
  85. 0
      partner_industry_secondary/static/description/icon.png
  86. 0
      partner_industry_secondary/tests/__init__.py
  87. 0
      partner_industry_secondary/tests/test_res_partner_industry.py
  88. 0
      partner_industry_secondary/views/res_config_settings.xml
  89. 0
      partner_industry_secondary/views/res_partner_industry_view.xml
  90. 14
      partner_industry_secondary/views/res_partner_view.xml

6
partner_sector/README.rst → partner_industry_secondary/README.rst

@ -2,9 +2,9 @@
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
==============
Partner Sector
==============
==========================
Partner Industry Secondary
==========================
This module adds secondary industries for partners.

0
partner_sector/__init__.py → partner_industry_secondary/__init__.py

2
partner_sector/__manifest__.py → partner_industry_secondary/__manifest__.py

@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Partner Sector",
"name": "Partner Industry Secondary",
"summary": "Add secondary partner industries",
"version": "11.0.1.0.0",
"category": "Customer Relationship Management",

0
partner_sector/i18n/am.po → partner_industry_secondary/i18n/am.po

0
partner_sector/i18n/ar.po → partner_industry_secondary/i18n/ar.po

0
partner_sector/i18n/bg.po → partner_industry_secondary/i18n/bg.po

0
partner_sector/i18n/bs.po → partner_industry_secondary/i18n/bs.po

0
partner_sector/i18n/ca.po → partner_industry_secondary/i18n/ca.po

0
partner_sector/i18n/cs.po → partner_industry_secondary/i18n/cs.po

0
partner_sector/i18n/cs_CZ.po → partner_industry_secondary/i18n/cs_CZ.po

0
partner_sector/i18n/da.po → partner_industry_secondary/i18n/da.po

0
partner_sector/i18n/de.po → partner_industry_secondary/i18n/de.po

0
partner_sector/i18n/el_GR.po → partner_industry_secondary/i18n/el_GR.po

0
partner_sector/i18n/en_GB.po → partner_industry_secondary/i18n/en_GB.po

0
partner_sector/i18n/es.po → partner_industry_secondary/i18n/es.po

0
partner_sector/i18n/es_AR.po → partner_industry_secondary/i18n/es_AR.po

0
partner_sector/i18n/es_CL.po → partner_industry_secondary/i18n/es_CL.po

0
partner_sector/i18n/es_CO.po → partner_industry_secondary/i18n/es_CO.po

0
partner_sector/i18n/es_CR.po → partner_industry_secondary/i18n/es_CR.po

0
partner_sector/i18n/es_DO.po → partner_industry_secondary/i18n/es_DO.po

0
partner_sector/i18n/es_EC.po → partner_industry_secondary/i18n/es_EC.po

0
partner_sector/i18n/es_ES.po → partner_industry_secondary/i18n/es_ES.po

0
partner_sector/i18n/es_MX.po → partner_industry_secondary/i18n/es_MX.po

0
partner_sector/i18n/es_PE.po → partner_industry_secondary/i18n/es_PE.po

0
partner_sector/i18n/es_PY.po → partner_industry_secondary/i18n/es_PY.po

0
partner_sector/i18n/es_VE.po → partner_industry_secondary/i18n/es_VE.po

0
partner_sector/i18n/et.po → partner_industry_secondary/i18n/et.po

0
partner_sector/i18n/eu.po → partner_industry_secondary/i18n/eu.po

0
partner_sector/i18n/fa.po → partner_industry_secondary/i18n/fa.po

0
partner_sector/i18n/fi.po → partner_industry_secondary/i18n/fi.po

0
partner_sector/i18n/fr.po → partner_industry_secondary/i18n/fr.po

0
partner_sector/i18n/fr_CA.po → partner_industry_secondary/i18n/fr_CA.po

0
partner_sector/i18n/fr_CH.po → partner_industry_secondary/i18n/fr_CH.po

0
partner_sector/i18n/gl.po → partner_industry_secondary/i18n/gl.po

0
partner_sector/i18n/gl_ES.po → partner_industry_secondary/i18n/gl_ES.po

0
partner_sector/i18n/he.po → partner_industry_secondary/i18n/he.po

0
partner_sector/i18n/hr.po → partner_industry_secondary/i18n/hr.po

0
partner_sector/i18n/hr_HR.po → partner_industry_secondary/i18n/hr_HR.po

0
partner_sector/i18n/hu.po → partner_industry_secondary/i18n/hu.po

0
partner_sector/i18n/id.po → partner_industry_secondary/i18n/id.po

0
partner_sector/i18n/it.po → partner_industry_secondary/i18n/it.po

0
partner_sector/i18n/ja.po → partner_industry_secondary/i18n/ja.po

0
partner_sector/i18n/ko.po → partner_industry_secondary/i18n/ko.po

0
partner_sector/i18n/lt.po → partner_industry_secondary/i18n/lt.po

0
partner_sector/i18n/lt_LT.po → partner_industry_secondary/i18n/lt_LT.po

0
partner_sector/i18n/lv.po → partner_industry_secondary/i18n/lv.po

0
partner_sector/i18n/mk.po → partner_industry_secondary/i18n/mk.po

0
partner_sector/i18n/mn.po → partner_industry_secondary/i18n/mn.po

0
partner_sector/i18n/nb.po → partner_industry_secondary/i18n/nb.po

0
partner_sector/i18n/nb_NO.po → partner_industry_secondary/i18n/nb_NO.po

0
partner_sector/i18n/nl.po → partner_industry_secondary/i18n/nl.po

0
partner_sector/i18n/nl_BE.po → partner_industry_secondary/i18n/nl_BE.po

0
partner_sector/i18n/nl_NL.po → partner_industry_secondary/i18n/nl_NL.po

0
partner_sector/i18n/partner_sector.pot → partner_industry_secondary/i18n/partner_sector.pot

0
partner_sector/i18n/pl.po → partner_industry_secondary/i18n/pl.po

0
partner_sector/i18n/pt.po → partner_industry_secondary/i18n/pt.po

0
partner_sector/i18n/pt_BR.po → partner_industry_secondary/i18n/pt_BR.po

0
partner_sector/i18n/pt_PT.po → partner_industry_secondary/i18n/pt_PT.po

0
partner_sector/i18n/ro.po → partner_industry_secondary/i18n/ro.po

0
partner_sector/i18n/ru.po → partner_industry_secondary/i18n/ru.po

0
partner_sector/i18n/sk.po → partner_industry_secondary/i18n/sk.po

0
partner_sector/i18n/sl.po → partner_industry_secondary/i18n/sl.po

0
partner_sector/i18n/sr.po → partner_industry_secondary/i18n/sr.po

0
partner_sector/i18n/sr@latin.po → partner_industry_secondary/i18n/sr@latin.po

0
partner_sector/i18n/sv.po → partner_industry_secondary/i18n/sv.po

0
partner_sector/i18n/th.po → partner_industry_secondary/i18n/th.po

0
partner_sector/i18n/tr.po → partner_industry_secondary/i18n/tr.po

0
partner_sector/i18n/tr_TR.po → partner_industry_secondary/i18n/tr_TR.po

0
partner_sector/i18n/uk.po → partner_industry_secondary/i18n/uk.po

0
partner_sector/i18n/vi.po → partner_industry_secondary/i18n/vi.po

0
partner_sector/i18n/vi_VN.po → partner_industry_secondary/i18n/vi_VN.po

0
partner_sector/i18n/zh_CN.po → partner_industry_secondary/i18n/zh_CN.po

0
partner_sector/i18n/zh_TW.po → partner_industry_secondary/i18n/zh_TW.po

0
partner_sector/models/__init__.py → partner_industry_secondary/models/__init__.py

3
partner_sector/models/res_config_settings.py → partner_industry_secondary/models/res_config_settings.py

@ -11,4 +11,5 @@ class ResConfigSettings(models.TransientModel):
'Use industry for individuals',
help="Set if you want to be able to use industries for "
"individuals also.",
implied_group='partner_sector.group_use_partner_industry_for_person')
implied_group='partner_industry_secondary.'
'group_use_partner_industry_for_person')

0
partner_sector/models/res_partner.py → partner_industry_secondary/models/res_partner.py

0
partner_sector/models/res_partner_industry.py → partner_industry_secondary/models/res_partner_industry.py

8
partner_industry_secondary/readme/CONFIGURE.rst

@ -0,0 +1,8 @@
To manage industries, you need to:
* Go to *Contacts > Configuration > Sectors of Activity*.
By default only companies have industries. To activate industries in individuals also,
you need to activate the following setting:
* Go to *Settings > General Settings > Partner Industries > Industry in contacts > Use industry for individuals*

8
partner_industry_secondary/readme/CONTRIBUTORS.rst

@ -0,0 +1,8 @@
* Rafael Blasco <rafabn@antiun.com>
* Antonio Espinosa <antonioea@antiun.com>
* Javier Iniesta <javieria@antiun.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Luis M. Ontalba <luis.martinez@tecnativa.com>
* Jordi Ballester Alomar <jordi.ballester@eficent.com>
* Miquel Raïch <miquel.raich@eficent.com>

1
partner_industry_secondary/readme/DESCRIPTION.rst

@ -0,0 +1 @@
This module adds secondary industries for partners.

1
partner_industry_secondary/readme/ROADMAP.rst

@ -0,0 +1 @@
* Add a unique constraint for name per parent industry.

3
partner_industry_secondary/readme/USAGE.rst

@ -0,0 +1,3 @@
To use this module, you need to:
* Go to any partner's form.

0
partner_sector/security/ir.model.access.csv → partner_industry_secondary/security/ir.model.access.csv

0
partner_sector/security/partner_industry_security.xml → partner_industry_secondary/security/partner_industry_security.xml

0
partner_sector/static/description/icon.png → partner_industry_secondary/static/description/icon.png

Before

Width: 128  |  Height: 128  |  Size: 9.2 KiB

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

0
partner_sector/tests/__init__.py → partner_industry_secondary/tests/__init__.py

0
partner_sector/tests/test_res_partner_sector.py → partner_industry_secondary/tests/test_res_partner_industry.py

0
partner_sector/views/res_config_settings.xml → partner_industry_secondary/views/res_config_settings.xml

0
partner_sector/views/res_partner_industry_view.xml → partner_industry_secondary/views/res_partner_industry_view.xml

14
partner_sector/views/res_partner_view.xml → partner_industry_secondary/views/res_partner_view.xml

@ -62,7 +62,7 @@
<field name="name">Partner form with industry</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="groups_id" eval="[(4, ref('partner_sector.group_use_partner_industry_for_person'))]"/>
<field name="groups_id" eval="[(4, ref('partner_industry_secondary.group_use_partner_industry_for_person'))]"/>
<field name="arch" type="xml">
<xpath expr="//page/group/group/field[@name='industry_id']" position="attributes">
<attribute name="attrs">{'invisible': 0}</attribute>
@ -73,8 +73,8 @@
<record model="ir.ui.view" id="view_partner_form_industry_person">
<field name="name">Partner form with industry</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="partner_sector.view_partner_form_industry"/>
<field name="groups_id" eval="[(4, ref('partner_sector.group_use_partner_industry_for_person'))]"/>
<field name="inherit_id" ref="partner_industry_secondary.view_partner_form_industry"/>
<field name="groups_id" eval="[(4, ref('partner_industry_secondary.group_use_partner_industry_for_person'))]"/>
<field name="arch" type="xml">
<xpath expr="//page/group/group/field[@name='secondary_industry_ids']" position="attributes">
<attribute name="attrs">{'invisible': 0}</attribute>
@ -91,8 +91,8 @@
<record model="ir.ui.view" id="view_partner_tree_industry_person">
<field name="name">Partner tree with industry</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="partner_sector.view_partner_tree_industry"/>
<field name="groups_id" eval="[(4, ref('partner_sector.group_use_partner_industry_for_person'))]"/>
<field name="inherit_id" ref="partner_industry_secondary.view_partner_tree_industry"/>
<field name="groups_id" eval="[(4, ref('partner_industry_secondary.group_use_partner_industry_for_person'))]"/>
<field name="arch" type="xml">
<field name="industry_id" position="attributes">
<attribute name="attrs">{'invisible': 0}</attribute>
@ -103,8 +103,8 @@
<record model="ir.ui.view" id="view_res_partner_filter_industry_person">
<field name="name">Partner search with industry</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="partner_sector.view_res_partner_filter_industry"/>
<field name="groups_id" eval="[(4, ref('partner_sector.group_use_partner_industry_for_person'))]"/>
<field name="inherit_id" ref="partner_industry_secondary.view_res_partner_filter_industry"/>
<field name="groups_id" eval="[(4, ref('partner_industry_secondary.group_use_partner_industry_for_person'))]"/>
<field name="arch" type="xml">
<filter name="industry" position="attributes">
<attribute name="domain"/>
Loading…
Cancel
Save