Skip to content

Commit

Permalink
[IMP] doc/howtos/backend: fix condition in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rco-odoo committed Aug 25, 2014
1 parent 2df0ae4 commit ba8d37f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/howtos/backend/exercise-state-workflow-automatic
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# HG changeset patch
# Parent 3b19489a47d41e72f88490eb389a05977761c8d2

Index: doc-backend/openacademy/views/session_workflow.xml
Index: addons/openacademy/views/session_workflow.xml
===================================================================
--- doc-backend.orig/openacademy/views/session_workflow.xml 2014-08-24 12:35:50.669411918 +0200
+++ doc-backend/openacademy/views/session_workflow.xml 2014-08-24 12:36:31.173412855 +0200
--- addons.orig/openacademy/views/session_workflow.xml 2014-08-25 16:30:49.708047780 +0200
+++ addons/openacademy/views/session_workflow.xml 2014-08-25 16:31:19.032047345 +0200
@@ -47,5 +47,11 @@
<field name="act_to" ref="done"/>
<field name="signal">done</field>
Expand All @@ -13,7 +13,7 @@ Index: doc-backend/openacademy/views/session_workflow.xml
+ <record model="workflow.transition" id="session_auto_confirm_half_filled">
+ <field name="act_from" ref="draft"/>
+ <field name="act_to" ref="confirmed"/>
+ <field name="condition">seats_taken &gt; 50</field>
+ <field name="condition">taken_seats &gt; 50</field>
+ </record>
</data>
</openerp>

0 comments on commit ba8d37f

Please sign in to comment.