<div>
<group class="oe_subtotal_footer oe_right" attrs="{'invisible' : [('state', '=', 'draft')]}">
<field name="balance_end_real" readonly="1" string="Real Closing Balance" class="oe_subtotal_footer_separator oe_real_closing_balance" widget="monetary" options="{'currency_field': 'currency'}" help="Total of closing cash control lines."/>
- <field name="difference" class="oe_subtotal_footer_separator oe_difference" widget="monetary" options="{'currency_field': 'currency'}"/>
- </group>
+ </group>
+ <group/>
+ <group/>
+ <group class="oe_subtotal_footer oe_right" attrs="{'invisible' : [('state', '=', 'draft')]}">
+ <field name="difference" class="oe_subtotal_footer_separator oe_difference" widget="monetary" options="{'currency_field': 'currency'}"/>
+ </group>
</div>
</group>
</sheet>
--- /dev/null
+.openerp .oe_force_bold {
+ font-weight: bold !important;
+}
+.openerp label.oe_open_balance{
+ margin-right: -18px;
+}
+.openerp label.oe_subtotal_footer_separator{
+ float:right;
+ width: 184px !important;
+}
+.openerp label.oe_mini_subtotal_footer_separator{
+ margin-right: -14px;
+}
+.openerp .oe_account_total, .openerp .oe_pos_total {
+ margin-left: -2px;
+}
+.openerp label.oe_real_closing_balance{
+ min-width: 184px !important;
+}
+.openerp label.oe_difference, .openerp label.oe_pos_difference {
+ margin-right: -10px;
+ padding-left: 10px !important;
+ min-width: 195px !important;
+}
+.openerp .oe_opening_total{
+ margin-right: 4px;
+}
display: table-cell;
width: 50%:
}
-.openerp .oe_force_bold {
- font-weight: bold !important;
-}
-.openerp label.oe_open_balance{
- margin-right: -18px;
-}
-.openerp label.oe_subtotal_footer_separator{
- float:right;
-}
-.openerp label.oe_mini_subtotal_footer_separator{
- margin-right: -14px;
-}
-.openerp .oe_account_total {
- margin-left: -2px;
-}
-.openerp label.oe_real_closing_balance{
- min-width: 184px !important;
-}
-.openerp label.oe_difference {
- margin-right: -10px;
- padding-left: 10px !important;
- min-width: 195px !important;
-}
-
<field name="details_ids" nolabel="1" colspan="2">
<tree string="Cashbox Lines" editable="bottom">
<field name="pieces" readonly="1" />
- <field name="number_closing" />
+ <field name="number_closing" on_change="on_change_sub_closing(pieces, number_closing)"/>
<field name="subtotal_closing" string="Closing Subtotal" sum="Total"/>
</tree>
</field>
<div attrs="{'invisible' : [('cash_control', '=', False)]}">
<group class="oe_subtotal_footer oe_right">
<field name="cash_register_balance_start" readonly="1" string="Opening Balance" class="oe_subtotal_footer_separator" widget="monetary" options="{'currency_field': 'currency_id'}"/>
- <label for="cash_register_total_entry_encoding" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="+ Transactions" class="oe_force_bold oe_pos_opening_total"/>
+ <label for="cash_register_total_entry_encoding" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="+ Transactions" class="oe_force_bold oe_opening_total"/>
<field name="cash_register_total_entry_encoding" nolabel="1" attrs="{'invisible' : [('state', '=', 'opening_control')]}" class="oe_bold oe_pos_total" widget="monetary" options="{'currency_field': 'currency_id'}"/>
- <label for="cash_register_balance_end" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="= Theoretical Closing Balance" class="oe_force_bold oe_pos_opening_total"/>
+ <label for="cash_register_balance_end" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="= Theoretical Closing Balance" class="oe_force_bold oe_opening_total"/>
<field name="cash_register_balance_end" nolabel="1" attrs="{'invisible' : [('state', '=', 'opening_control')]}" class="oe_bold oe_pos_total" widget="monetary" options="{'currency_field': 'currency_id'}"/>
</group>
<div class="oe_clear"/>
</p>
</div>
</div>
-
-
- <group class="oe_subtotal_footer oe_right" attrs="{'invisible': ['|', ('cash_control', '=', False), ('state', '=', 'opening_control')]}">
- <field name="cash_register_balance_end_real" string="Real Closing Balance" class="oe_subtotal_footer_separator" widget="monetary" options="{'currency_field': 'currency_id'}"/>
- <field name="cash_register_difference" class="oe_subtotal_footer_separator oe_right oe_pos_total oe_pos_difference" widget="monetary" options="{'currency_field': 'currency_id'}"/>
- </group>
+ <div>
+ <group class="oe_subtotal_footer oe_right" attrs="{'invisible': ['|', ('cash_control', '=', False), ('state', '=', 'opening_control')]}">
+ <field name="cash_register_balance_end_real" string="Real Closing Balance" class="oe_subtotal_footer_separator" widget="monetary" options="{'currency_field': 'currency_id'}"/>
+ </group>
+ <group/>
+ <group/>
+ <group class="oe_subtotal_footer oe_right" attrs="{'invisible': ['|', ('cash_control', '=', False), ('state', '=', 'opening_control')]}">
+ <field name="cash_register_difference" class="oe_subtotal_footer_separator oe_right oe_pos_total oe_pos_difference" widget="monetary" options="{'currency_field': 'currency_id'}"/>
+ </group>
+ </div>
</group>
-
<separator string="Summary by Payment Methods" attrs="{'invisible' : [('state', '=', 'opening_control')]}"/>
<field name="statement_ids" attrs="{'invisible' : [('state', '=', 'opening_control')]}">
<tree string="Statements">
box-shadow: 0px 3px 38px rgba(0,0,0,0.3);
border-radius: 3px;
}
-.openerp .oe_force_bold{
- font-weight: bold !important;
-}
-.openerp .oe_pos_opening_total{
- margin-right: 4px;
-}
-.openerp .oe_pos_total{
- margin-left: -2px;
-}
-.openerp label.oe_mini_subtotal_footer_separator{
- margin-right: -14px;
-}
-.openerp label.oe_subtotal_footer_separator{
- width: 184px !important;
-}
-.openerp label.oe_pos_difference{
- margin-right: -11px;
- width: 195px !important;
-}