~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to crm_bayes/crm_bayes_view.xml

  • Committer: ysa(Open ERP)
  • Date: 2009-09-12 12:40:01 UTC
  • mto: This revision was merged to the branch mainline in revision 3815.
  • Revision ID: ysa@tinyerp.co.in-20090912124001-ldenvvio63tzx9di
[IMP] crm_bayes module:- add perform action method in crm_case

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
                                        <group colspan="8" col="8">
129
129
                        <field name="category_id" attrs="{'readonly':[('state_bayes','=','trained')]}"/>
130
130
                        <field colspan="2" name="state_bayes"/>
 
131
                        <button name="perform_action" string="Perform action" type ="object"/>
131
132
                                        <button name="trained" string="Trained" attrs="{'invisible':[('state_bayes','=','trained')]}"   type ="object"/>
132
133
                                        <button name="untrained" string="Untrained"  attrs="{'invisible':[('state_bayes','=','untrained')]}" type ="object"/>
133
134
                        </group>
162
163
                                        <group colspan="8" col="8">
163
164
                        <field name="category_id" attrs="{'readonly':[('state_bayes','=','trained')]}"/>
164
165
                        <field colspan="2" name="state_bayes"/>
 
166
                        <button name="perform_action" string="Perform action" type ="object"/>
165
167
                                        <button name="trained" string="Trained" attrs="{'invisible':[('state_bayes','=','trained')]}"   type ="object"/>
166
168
                                        <button name="untrained" string="Untrained"  attrs="{'invisible':[('state_bayes','=','untrained')]}" type ="object"/>
167
169
                        </group>
196
198
                                        <group colspan="8" col="8">
197
199
                        <field name="category_id" attrs="{'readonly':[('state_bayes','=','trained')]}"/>
198
200
                        <field colspan="2" name="state_bayes"/>
 
201
                        <button name="perform_action" string="Perform action" type ="object"/>
199
202
                                        <button name="trained" string="Trained" attrs="{'invisible':[('state_bayes','=','trained')]}"   type ="object"/>
200
203
                                        <button name="untrained" string="Untrained"  attrs="{'invisible':[('state_bayes','=','untrained')]}" type ="object"/>
201
204
                        </group>
230
233
                                        <group colspan="8" col="8">
231
234
                        <field name="category_id" attrs="{'readonly':[('state_bayes','=','trained')]}"/>
232
235
                        <field colspan="2" name="state_bayes"/>
 
236
                                        <button name="perform_action" string="Perform action" type ="object"/>
233
237
                                        <button name="trained" string="Trained" attrs="{'invisible':[('state_bayes','=','trained')]}"   type ="object"/>
234
238
                                        <button name="untrained" string="Untrained"  attrs="{'invisible':[('state_bayes','=','untrained')]}" type ="object"/>
235
239
                        </group>
280
284
            <field name="arch" type="xml">
281
285
                <graph string="Cases by Statistics Group" type="bar">
282
286
                    <field name="category_id" />
283
 
                    <field name="total_case"/>
 
287
                    <field name="total_case" />
284
288
                </graph>
285
289
            </field>
286
290
        </record>