2014-06-03 02:09:31 |
Nguyễn Hoàng Thao |
description |
my bug : i want change page in notebook with openerp client 6.01, so what is solution for me?
ex:
I have a <notebook> with two <page> : page 1, page 2 ; and one button
in page1 : i have two <field> with type float : field1 , field2
in page 2 : has <field> result total two field in page1, name field3
and, my button has use to sum value of field1 and field2 to field3 when i click
problem in here is when i click on button, i want page2 is show(focus) for me see the result .
I feel very difficult to do this, I hope you give me the solution. thanks |
my bug : i want change page in notebook with openerp client 6.01, so what is solution for me?
ex:
I have a <notebook> with two <page> : page 1, page 2 ; and one button
in page1 : i have two <field> with type float : field1 , field2
in page 2 : has <field> result total two field in page1, name field3
and, my button has use to sum value of field1 and field2 to field3 when i click
problem in here is when i click on button, i want page2 is show(focus) for me see the result .
I feel very difficult to do this, I hope you give me the solution. thanks
code:
<notebook>
<page string="page1">
<field name="field1" />
<field name="field2" />
</page>
<page string="page2">
<field name="field3" />
</page>
</notebook>
</newline/>
<button name="button_total" string="Total" type="object" icon="terp-report"/> |
|