Bharat Devnani (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk_account_test_qdp-v7-compatible-bde into 
lp:~openerp-dev/openobject-addons/trunk_account_test_qdp.

Requested reviews:
  OpenERP R&D Team (openerp-dev)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk_account_test_qdp-v7-compatible-bde/+merge/132544

Hello Sir, 

I have improved the module and made compatible to version 7.0.

Thanks & Regards,
Devnani Bharat R.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk_account_test_qdp-v7-compatible-bde/+merge/132544
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openobject-addons/trunk_account_test_qdp-v7-compatible-bde into 
lp:~openerp-dev/openobject-addons/trunk_account_test_qdp.
=== added file 'account_test/__openerp__.py'
--- account_test/__openerp__.py	1970-01-01 00:00:00 +0000
+++ account_test/__openerp__.py	2012-11-01 13:06:24 +0000
@@ -0,0 +1,43 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (c) 2011 CCI Connect asbl (http://www.cciconnect.be) All Rights Reserved.
+#                       Philmer <[email protected]>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+{
+    'name' : 'Accounting Consistency Tests',
+    'version' : '1.0',
+    'author' : 'OpenERP',
+    'category' : 'Test accounting',
+    'website': 'http://www.openerp.com',
+    'description': """Asserts on accounting
+                      =====================""",
+    'depends' : ['account'],
+    'data' : [
+        'security/ir.model.access.csv',
+        'account_test_view.xml',
+        'account_test_report.xml',
+        'account_test_data.xml',
+    ],
+    'demo_xml': [
+        'account_test_demo.xml',
+    ],
+    'active': False,
+    'installable': True
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== removed file 'account_test/__terp__.py'
--- account_test/__terp__.py	2012-10-23 11:13:01 +0000
+++ account_test/__terp__.py	1970-01-01 00:00:00 +0000
@@ -1,42 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#    
-#    OpenERP, Open Source Management Solution
-#    Copyright (c) 2011 CCI Connect asbl (http://www.cciconnect.be) All Rights Reserved.
-#                       Philmer <[email protected]>
-#
-#    This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU Affero General Public License as
-#    published by the Free Software Foundation, either version 3 of the
-#    License, or (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU Affero General Public License for more details.
-#
-#    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
-#
-##############################################################################
-{
-    "name" : "OpenERP",
-    "version" : "1.0",
-    "author" : "OpenERP",
-    "category" : "Test accounting",
-    "website": "http://www.openerp.com";,
-    "description": "Asserts on accounting",
-    "depends" : ["account"],
-    "update_xml" : [
-        "account_test_view.xml",
-        "account_test_report.xml",
-        "security/ir.model.access.csv",
-        "account_test_data.xml",
-    ],
-    'demo_xml': [
-        "account_test_demo.xml",
-    ],
-    "active": False,
-    "installable": True
-}
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== modified file 'account_test/account_test_view.xml'
--- account_test/account_test_view.xml	2012-10-23 11:13:01 +0000
+++ account_test/account_test_view.xml	2012-11-01 13:06:24 +0000
@@ -2,10 +2,9 @@
 <openerp>
     <data>
 
-    <record model="ir.ui.view" id="account_assert_tree">
-        <field name="name">Tests</field>
-        <field name="model">accounting.assert.test</field>
-            <field name="type">tree</field>
+        <record model="ir.ui.view" id="account_assert_tree">
+            <field name="name">Tests</field>
+            <field name="model">accounting.assert.test</field>
             <field name="arch" type="xml">
                 <tree string="Tests">
                     <field name="sequence"/>
@@ -14,43 +13,53 @@
                 </tree>
             </field>
         </record>
-
-    <record model="ir.ui.view" id="account_assert_form">
-        <field name="name">Tests</field>
-        <field name="model">accounting.assert.test</field>
-            <field name="type">form</field>
+            
+        <record model="ir.ui.view" id="account_assert_form">
+            <field name="name">Tests</field>
+            <field name="model">accounting.assert.test</field>
             <field name="arch" type="xml">
-                <form string="Tests">
-                <group colspan="4" col="4">
-                    <field name="name"/>
-                    <field name="active"/>
-                    <field name="sequence"/>
-                    <newline/>
-                    <field name="desc" colspan="4" height="50" /> 
-                </group>
-                <separator string="Expression to evaluate" colspan="4"/>
-                <group colspan="4" col="4">
-                    <separator string="Python Code" colspan="4" />
-                    <newline />
-                    <field colspan="4" name="code_exec" nolabel="1" width="100" height="400" />
-                    <separator string="Code Help" colspan="4"/>
-                    <newline />
-                    <label colspan="4"><![CDATA[Example:
-sql = "select id, name, ref, date from account_move_line where account_id in (select id from account_account where type = 'view')"
+                <form string="Tests" version="7.0">
+                    <sheet>
+                        <group>
+                            <group>
+                                <field name="name"/>
+                                <field name="sequence"/>
+                            </group>
+                            <group>
+                                <field name="active"/>
+                            </group>
+                        </group>
+                        <notebook colspan="4">
+                            <page string="Description">
+                                <field name="desc" nolabel="1"/>
+                            </page>
+                            <page string="Expression">
+                                <group string="Python Code">
+                                    <field colspan="4" name="code_exec" nolabel="1"/>
+                                </group>
+                                <group string="Code Help">
+                                    <pre>
+Example: 
+sql = 'select id, name, ref, date from account_move_line where account_id in 
+(select id from account_account where type = 'view')'
 cr.execute(sql)
-result = cr.dictfetchall()]]></label>
-                </group>
+result = cr.dictfetchall()
+                                    </pre>
+                                </group>
+                            </page>
+                        </notebook>
+                    </sheet>
                 </form>
             </field>
         </record>
-
-    <record model="ir.actions.act_window" id="action_accounting_assert">
-        <field name="name">Accounting Tests</field>
-        <field name="res_model">accounting.assert.test</field>
-        <field name="view_mode">tree,form</field>
-    </record>
-
-    <menuitem name="Accounting Tests" parent="account.menu_finance_reporting" id="menu_action_license" action="action_accounting_assert"/>
-
-</data>
+    
+        <record model="ir.actions.act_window" id="action_accounting_assert">
+            <field name="name">Accounting Tests</field>
+            <field name="res_model">accounting.assert.test</field>
+            <field name="view_mode">tree,form</field>
+        </record>
+    
+        <menuitem name="Accounting Tests" parent="account.menu_finance_reporting" id="menu_action_license" action="action_accounting_assert"/>
+
+    </data>
 </openerp>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to