Change fiscal year form because it can have a lot of sequences

This commit is contained in:
Cédric Krier committed 2008-04-10 11:22:56 +02:00
1 parent b0d497ee5f
commit 9bbb7d2ae0
1 file changed
+19 -12
+19 -12
View File
@@ -15,18 +15,25 @@
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<label name="post_move_sequence"/>
<field name="post_move_sequence"/>
<field name="periods" colspan="4"/>
<group col="2" colspan="4">
<button name="create_period" string="Create Monthly Periods"
type="object"
states="{'invisible': '''state != 'open' or periods '''}"/>
<button name="create_period_3" string="Create 3 Months Periods"
type="object"
states="{'invisible': '''state != 'open' or periods '''}"/>
</group>
<field name="state" colspan="4"/>
<label name="state"/>
<field name="state" colspan="3"/>
<notebook colspan="4">
<page string="Periods">
<field name="periods" colspan="4"/>
<group col="2" colspan="4">
<button name="create_period" string="Create Monthly Periods"
type="object"
states="{'invisible': '''state != 'open' or periods '''}"/>
<button name="create_period_3" string="Create 3 Months Periods"
type="object"
states="{'invisible': '''state != 'open' or periods '''}"/>
</group>
</page>
<page string="Sequences">
<label name="post_move_sequence"/>
<field name="post_move_sequence"/>
</page>
</notebook>
</form>
]]>
</field>