← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~acsone-openerp/account-financial-report/7.0-bug-1281579-sbi2 into lp:account-financial-report

 

Stéphane Bidoul (Acsone) has proposed merging lp:~acsone-openerp/account-financial-report/7.0-bug-1281579-sbi2 into lp:account-financial-report.

Requested reviews:
  Account Report Core Editors (account-report-core-editor)
Related bugs:
  Bug #1281579 in Account - Financial Report: "Broken yml test in account_payment account_financial_report_webkit"
  https://bugs.launchpad.net/account-financial-report/+bug/1281579

For more details, see:
https://code.launchpad.net/~acsone-openerp/account-financial-report/7.0-bug-1281579-sbi2/+merge/225620
-- 
https://code.launchpad.net/~acsone-openerp/account-financial-report/7.0-bug-1281579-sbi2/+merge/225620
Your team Account Report Core Editors is requested to review the proposed merge of lp:~acsone-openerp/account-financial-report/7.0-bug-1281579-sbi2 into lp:account-financial-report.
=== modified file 'account_financial_report_webkit/tests/general_ledger.yml'
--- account_financial_report_webkit/tests/general_ledger.yml	2012-03-06 09:13:59 +0000
+++ account_financial_report_webkit/tests/general_ledger.yml	2014-07-04 09:21:40 +0000
@@ -1,4 +1,33 @@
 -
+  I first fix the demo periods (7.0 only)
+  see https://code.launchpad.net/~acsone-openerp/openobject-addons/7.0-bug-1281579-sbi/+merge/207311
+  which was merged in 8.0
+-
+    !python  {model: account.period}: |
+        import time
+        self.create(cr, uid, {
+          'code': '00/'+time.strftime('%Y'),
+          'name': 'X 00/'+time.strftime('%Y'),
+          'special': True,
+          'fiscalyear_id': ref('account.data_fiscalyear'),
+          'date_start': time.strftime('%Y')+'-01-01',
+          'date_stop': time.strftime('%Y')+'-01-01',
+          'company_id': ref('base.main_company'),
+        })
+        self.write(cr, uid, ref('account.period_1'), {'special': False})
+        self.write(cr, uid, ref('account.period_2'), {'special': False})
+        self.write(cr, uid, ref('account.period_3'), {'special': False})
+        self.write(cr, uid, ref('account.period_4'), {'special': False})
+        self.write(cr, uid, ref('account.period_5'), {'special': False})
+        self.write(cr, uid, ref('account.period_6'), {'special': False})
+        self.write(cr, uid, ref('account.period_7'), {'special': False})
+        self.write(cr, uid, ref('account.period_8'), {'special': False})
+        self.write(cr, uid, ref('account.period_9'), {'special': False})
+        self.write(cr, uid, ref('account.period_10'), {'special': False})
+        self.write(cr, uid, ref('account.period_11'), {'special': False})
+        self.write(cr, uid, ref('account.period_12'), {'special': False})
+
+-
   In order to test the PDF General Ledger webkit wizard I will print report with default setting
 -
     !python {model: account.account}: |


Follow ups