← Back to team overview

openobject-italia-core-devs team mailing list archive

[Merge] lp:~elbati/openobject-italia/7.0_fix_wizard_vat_statement into lp:openobject-italia/7.0

 

Lorenzo Battistini - Agile BG has proposed merging lp:~elbati/openobject-italia/7.0_fix_wizard_vat_statement into lp:openobject-italia/7.0.

Requested reviews:
  OpenERP Italia core devs (openobject-italia-core-devs)

For more details, see:
https://code.launchpad.net/~elbati/openobject-italia/7.0_fix_wizard_vat_statement/+merge/167273
-- 
https://code.launchpad.net/~elbati/openobject-italia/7.0_fix_wizard_vat_statement/+merge/167273
Your team OpenERP Italia core devs is requested to review the proposed merge of lp:~elbati/openobject-italia/7.0_fix_wizard_vat_statement into lp:openobject-italia/7.0.
=== modified file 'account_vat_period_end_statement/wizard/add_period.py'
--- account_vat_period_end_statement/wizard/add_period.py	2013-04-27 21:58:51 +0000
+++ account_vat_period_end_statement/wizard/add_period.py	2013-06-04 13:45:38 +0000
@@ -25,7 +25,7 @@
 from openerp.osv import orm, fields
 from tools.translate import _
 
-class add_period(orm.Model):
+class add_period(orm.TransientModel):
 
     _name = 'add.period.to.vat.statement'
     

=== modified file 'account_vat_period_end_statement/wizard/add_period.xml'
--- account_vat_period_end_statement/wizard/add_period.xml	2013-03-16 13:18:33 +0000
+++ account_vat_period_end_statement/wizard/add_period.xml	2013-06-04 13:45:38 +0000
@@ -6,12 +6,17 @@
             <field name="model">add.period.to.vat.statement</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form string="Add period">
-                    <field name="period_id"></field>
-                    <group col="2" colspan="4">
+                <form string="Add period" version="7.0">
+                    <group>
+                        <label for="period_id"/>
+                        <div>
+                            <field name="period_id" class="oe_inline"></field>
+                        </div>
+                    </group>
+                    <footer>
                         <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                         <button icon="gtk-ok" name="add_period" string="Add" type="object"/>
-                    </group>
+                    </footer>
                 </form>
             </field>
         </record>


Follow ups