diff --git a/partner_survey/README.rst b/partner_survey/README.rst index 3ea3277f..8bb058df 100644 --- a/partner_survey/README.rst +++ b/partner_survey/README.rst @@ -70,6 +70,14 @@ Contributors - 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 ----------- diff --git a/partner_survey/__manifest__.py b/partner_survey/__manifest__.py index 47f42a66..c2f0680d 100644 --- a/partner_survey/__manifest__.py +++ b/partner_survey/__manifest__.py @@ -5,7 +5,7 @@ "name": "Partner Survey", "summary": "Link partners with their survey results", "category": "Marketing", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "depends": ["contacts", "survey"], "data": ["views/res_partner_view.xml"], "author": "Tecnativa, Camptocamp, Odoo Community Association (OCA)", diff --git a/partner_survey/readme/CONTRIBUTORS.md b/partner_survey/readme/CONTRIBUTORS.md index 5fea57ab..23bedaeb 100644 --- a/partner_survey/readme/CONTRIBUTORS.md +++ b/partner_survey/readme/CONTRIBUTORS.md @@ -6,3 +6,4 @@ - Antonio Espinosa - Ernesto Tejeda - Stefan Ungureanu +- Chau Le \ No newline at end of file diff --git a/partner_survey/readme/CREDITS.md b/partner_survey/readme/CREDITS.md new file mode 100644 index 00000000..26832616 --- /dev/null +++ b/partner_survey/readme/CREDITS.md @@ -0,0 +1 @@ +The migration of this module from 16.0 to 17.0 was financially supported by Camptocamp diff --git a/partner_survey/static/description/index.html b/partner_survey/static/description/index.html index c91d6772..6253e017 100644 --- a/partner_survey/static/description/index.html +++ b/partner_survey/static/description/index.html @@ -380,7 +380,8 @@

Partner Survey

  • Credits
  • @@ -415,10 +416,16 @@

    Contributors

  • 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

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association diff --git a/partner_survey/views/res_partner_view.xml b/partner_survey/views/res_partner_view.xml index 0d6cc5f8..74a89410 100644 --- a/partner_survey/views/res_partner_view.xml +++ b/partner_survey/views/res_partner_view.xml @@ -19,7 +19,7 @@ type="object" icon="fa-list-alt" name="action_view_surveys" - attrs="{'invisible': ['|', '|', ('surveys_count', '=', 0), ('is_company', '=', True), ('surveys_invisible', '=', True)]}" + invisible="surveys_count == 0 or is_company or surveys_invisible" >
    @@ -27,11 +27,11 @@ Surveys Survey
    @@ -40,7 +40,7 @@ type="object" icon="fa-list-alt" name="action_view_surveys" - attrs="{'invisible': ['|', '|', ('surveys_company_count', '=', 0), ('is_company', '=', False), ('surveys_company_invisible', '=', True)]}" + invisible="surveys_company_count == 0 or not is_company or surveys_company_invisible" >
    @@ -48,11 +48,11 @@ Surveys Survey