Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] partner_survey: Migration to 17.0 #128

Merged
merged 20 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions partner_survey/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
==============
Partner Survey
==============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2045d5f08db5867aacfc83c1dac1d533283eeaed42ff0558f45fecd9ca671867
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fsurvey-lightgray.png?logo=github
:target: https://github.com/OCA/survey/tree/17.0/partner_survey
:alt: OCA/survey
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/survey-17-0/survey-17-0-partner_survey
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/survey&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds a smartbutton to partner form linked with surveys.

It also adds survey_input_lines field to partner model. This field
serves to filter partners according to their answers in surveys.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/survey/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/survey/issues/new?body=module:%20partner_survey%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa
* Camptocamp

Contributors
------------

- Javier Iniesta <javieria@antiun.com>
- Damien Crier <damien.crier@camptocamp.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Rafael Blasco
- Antonio Espinosa
- Ernesto Tejeda
- Stefan Ungureanu

- Chau Le <chaulb@trobz.com>

Other credits
-------------

The migration of this module from 16.0 to 17.0 was financially supported
by Camptocamp

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/survey <https://github.com/OCA/survey/tree/17.0/partner_survey>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions partner_survey/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions partner_survey/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2016 Tecnativa S.L.
# Copyright 2017 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Partner Survey",
"summary": "Link partners with their survey results",
"category": "Marketing",
"version": "17.0.1.0.0",
"depends": ["contacts", "survey"],
"data": ["views/res_partner_view.xml"],
"author": "Tecnativa, Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/survey",
"license": "AGPL-3",
"installable": True,
}
Empty file added partner_survey/i18n/.gitkeep
Empty file.
89 changes: 89 additions & 0 deletions partner_survey/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_survey
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-24 06:51+0000\n"
"PO-Revision-Date: 2016-12-24 06:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: partner_survey
#: model_terms:ir.ui.view,arch_db:partner_survey.view_partner_form
msgid ""
"<span class=\"o_stat_text\" attrs=\"{'invisible': [('surveys_company_count', "
"'&lt;', 2)]}\">Surveys</span>\n"
" <span class=\"o_stat_text\" attrs=\"{'invisible': "
"[('surveys_company_count', '&gt;', 1)]}\">Survey</span>"
msgstr ""

#. module: partner_survey
#: model_terms:ir.ui.view,arch_db:partner_survey.view_partner_form
msgid ""
"<span class=\"o_stat_text\" attrs=\"{'invisible': [('surveys_count', '&lt;', "
"2)]}\">Surveys</span>\n"
" <span class=\"o_stat_text\" attrs=\"{'invisible': "
"[('surveys_count', '&gt;', 1)]}\">Survey</span>"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_company_count
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_company_count
msgid "Company Surveys Count"
msgstr ""

#. module: partner_survey
#: model:ir.model,name:partner_survey.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_invisible
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_invisible
msgid "Hide surveys link on partner contact if needed"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_company_invisible
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_company_invisible
msgid "Hide surveys link on partner if needed"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_survey_user_input_line__partner_id
msgid "Partner"
msgstr "ተባባሪ"

#. module: partner_survey
#: model:ir.model,name:partner_survey.model_survey_user_input_line
msgid "Survey User Input Line"
msgstr ""

#. module: partner_survey
#: model:ir.actions.act_window,name:partner_survey.res_partner_action_surveys
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__survey_inputs
#: model:ir.model.fields,field_description:partner_survey.field_res_users__survey_inputs
msgid "Surveys"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_count
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_count
msgid "Surveys Count"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__survey_input_lines
#: model:ir.model.fields,field_description:partner_survey.field_res_users__survey_input_lines
msgid "Surveys answers"
msgstr ""
90 changes: 90 additions & 0 deletions partner_survey/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_survey
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-24 06:51+0000\n"
"PO-Revision-Date: 2016-12-24 06:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: partner_survey
#: model_terms:ir.ui.view,arch_db:partner_survey.view_partner_form
msgid ""
"<span class=\"o_stat_text\" attrs=\"{'invisible': [('surveys_company_count', "
"'&lt;', 2)]}\">Surveys</span>\n"
" <span class=\"o_stat_text\" attrs=\"{'invisible': "
"[('surveys_company_count', '&gt;', 1)]}\">Survey</span>"
msgstr ""

#. module: partner_survey
#: model_terms:ir.ui.view,arch_db:partner_survey.view_partner_form
msgid ""
"<span class=\"o_stat_text\" attrs=\"{'invisible': [('surveys_count', '&lt;', "
"2)]}\">Surveys</span>\n"
" <span class=\"o_stat_text\" attrs=\"{'invisible': "
"[('surveys_count', '&gt;', 1)]}\">Survey</span>"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_company_count
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_company_count
msgid "Company Surveys Count"
msgstr ""

#. module: partner_survey
#: model:ir.model,name:partner_survey.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_invisible
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_invisible
msgid "Hide surveys link on partner contact if needed"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_company_invisible
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_company_invisible
msgid "Hide surveys link on partner if needed"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_survey_user_input_line__partner_id
msgid "Partner"
msgstr "الشريك"

#. module: partner_survey
#: model:ir.model,name:partner_survey.model_survey_user_input_line
msgid "Survey User Input Line"
msgstr ""

#. module: partner_survey
#: model:ir.actions.act_window,name:partner_survey.res_partner_action_surveys
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__survey_inputs
#: model:ir.model.fields,field_description:partner_survey.field_res_users__survey_inputs
msgid "Surveys"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_count
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_count
msgid "Surveys Count"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__survey_input_lines
#: model:ir.model.fields,field_description:partner_survey.field_res_users__survey_input_lines
msgid "Surveys answers"
msgstr ""
89 changes: 89 additions & 0 deletions partner_survey/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_survey
#
# Translators:
# Kaloyan Naumov <kaloyan@lumnus.net>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-18 12:41+0000\n"
"PO-Revision-Date: 2016-09-18 12:41+0000\n"
"Last-Translator: Kaloyan Naumov <kaloyan@lumnus.net>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_survey
#: model_terms:ir.ui.view,arch_db:partner_survey.view_partner_form
msgid ""
"<span class=\"o_stat_text\" attrs=\"{'invisible': [('surveys_company_count', "
"'&lt;', 2)]}\">Surveys</span>\n"
" <span class=\"o_stat_text\" attrs=\"{'invisible': "
"[('surveys_company_count', '&gt;', 1)]}\">Survey</span>"
msgstr ""

#. module: partner_survey
#: model_terms:ir.ui.view,arch_db:partner_survey.view_partner_form
msgid ""
"<span class=\"o_stat_text\" attrs=\"{'invisible': [('surveys_count', '&lt;', "
"2)]}\">Surveys</span>\n"
" <span class=\"o_stat_text\" attrs=\"{'invisible': "
"[('surveys_count', '&gt;', 1)]}\">Survey</span>"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_company_count
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_company_count
msgid "Company Surveys Count"
msgstr ""

#. module: partner_survey
#: model:ir.model,name:partner_survey.model_res_partner
msgid "Contact"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_invisible
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_invisible
msgid "Hide surveys link on partner contact if needed"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_company_invisible
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_company_invisible
msgid "Hide surveys link on partner if needed"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_survey_user_input_line__partner_id
msgid "Partner"
msgstr "Партньор"

#. module: partner_survey
#: model:ir.model,name:partner_survey.model_survey_user_input_line
msgid "Survey User Input Line"
msgstr ""

#. module: partner_survey
#: model:ir.actions.act_window,name:partner_survey.res_partner_action_surveys
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__survey_inputs
#: model:ir.model.fields,field_description:partner_survey.field_res_users__survey_inputs
msgid "Surveys"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__surveys_count
#: model:ir.model.fields,field_description:partner_survey.field_res_users__surveys_count
msgid "Surveys Count"
msgstr ""

#. module: partner_survey
#: model:ir.model.fields,field_description:partner_survey.field_res_partner__survey_input_lines
#: model:ir.model.fields,field_description:partner_survey.field_res_users__survey_input_lines
msgid "Surveys answers"
msgstr ""
Loading
Loading