diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-07-17 12:09:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-17 12:09:17 +0200 |
| commit | 1b3db79273fec655c13c94d92d6f49c213c2a630 (patch) | |
| tree | 175cb146711d0779b5c01ce248b4e9035326cd5a /addons/web/static/src/xml/base.xml | |
| parent | c27169f0a22279741907be2aa9bf1d3170848604 (diff) | |
| parent | ff9c37b08ba05bd4ca19e7da020b5b27e9b6e2e8 (diff) | |
[IMP] gamification, survey : auto create challenge on certification survey badge
This PR allow gaining a badge at the end of a certification survey if succeeded.
The badge can be configured on the survey if the certification mode is activated.
The badge is linked directly to the survey and not the challenge,
because it makes more sense to configure directly the reward on the survey and
not the way to gain this reward. As the way is always the same.
Only one badge can be set on the certification survey.
Only the name, description, image and badge level can be configured.
The rest of badge configuration is automatically set to correspond to the use case.
When a badge is configured on a certification survey, the needed challange, goal
and challenge line are autogenerated.
The badge is available on the user's profile page if he gained it.
Note : To avoid having to create a bridge module only to display the
certification badge on the user's profile page, the default website_published value
of the certification badge is defined directly in the survey module even if
survey does not depend of website. This attribute will be ignored until website
module is installed.
Task ID : 1935136
closes odoo/odoo#31486
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
