diff options
| author | Martin Trigaux <mat@openerp.com> | 2014-04-18 14:08:46 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2014-04-18 14:08:46 +0200 |
| commit | 067f21ce5aa9d215f6b174797ec8f79673f7033a (patch) | |
| tree | 58f1e8870afdca699c013d3ce9f685c207343fa2 /addons/gamification/data | |
| parent | e0451e28cd780ad32e2e5ef6abb48dbda0d18c92 (diff) | |
[FIX] gamification: set data in noupdate blocks to allow the user to customise it without loosing changes after update
bzr revid: mat@openerp.com-20140418120846-h8yo4ljult88f1h3
Diffstat (limited to 'addons/gamification/data')
| -rw-r--r-- | addons/gamification/data/badge.xml | 4 | ||||
| -rw-r--r-- | addons/gamification/data/cron.xml | 2 | ||||
| -rw-r--r-- | addons/gamification/data/goal_base.xml | 4 |
3 files changed, 1 insertions, 9 deletions
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml index 5a390be9deb..4035c51cfc8 100644 --- a/addons/gamification/data/badge.xml +++ b/addons/gamification/data/badge.xml @@ -32,10 +32,6 @@ <field name="rule_max_number">2</field> <field name="image" type="base64" file="gamification/static/img/badge_idea-image.png"/> </record> - </data> - - - <data noupdate="0"> <record id="email_template_badge_received" model="email.template"> <field name="name">Received Badge</field> diff --git a/addons/gamification/data/cron.xml b/addons/gamification/data/cron.xml index 8585771c97d..105f7d25681 100644 --- a/addons/gamification/data/cron.xml +++ b/addons/gamification/data/cron.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <openerp> - <data> + <data noupdate="1"> <record forcecreate="True" id="ir_cron_check_challenge" model="ir.cron"> <field name="name">Run Goal Challenge Checker</field> diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/goal_base.xml index c8c18564772..1c18a5a70e5 100644 --- a/addons/gamification/data/goal_base.xml +++ b/addons/gamification/data/goal_base.xml @@ -92,10 +92,6 @@ ]]></field> </record> - </data> - - <data> - <!-- goal definitions --> <record model="gamification.goal.definition" id="definition_base_timezone"> <field name="name">Set your Timezone</field> |
