From cf2bedf2780a57f6a54e325e1c91ae7110b593ec Mon Sep 17 00:00:00 2001 From: mtr Date: Mon, 3 Jan 2011 11:49:53 +0530 Subject: [PATCH 1/3] [FIX] hr_payroll: removed 'active' field from the view of Leave type to avoid duplication lp bug: https://launchpad.net/bugs/695632 fixed bzr revid: mtr@mtr-20110103061953-jx80offy0hkd8cin --- addons/hr_payroll/hr_payroll_view.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/hr_payroll/hr_payroll_view.xml b/addons/hr_payroll/hr_payroll_view.xml index 57282eed1e4..29ce5e19a12 100755 --- a/addons/hr_payroll/hr_payroll_view.xml +++ b/addons/hr_payroll/hr_payroll_view.xml @@ -277,8 +277,6 @@ - - From 86ba8682441299136e224fdf28bf1ab1cdba762d Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Mon, 3 Jan 2011 14:51:42 +0530 Subject: [PATCH 2/3] [FIX] Account: as user, error message in Accounting Application lp bug: https://launchpad.net/bugs/695296 fixed bzr revid: mra@mra-laptop-20110103092142-u5fj63ik3lj80uhc --- addons/account/security/ir.model.access.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/security/ir.model.access.csv b/addons/account/security/ir.model.access.csv index 83efe67f103..ac6c0833e4d 100755 --- a/addons/account/security/ir.model.access.csv +++ b/addons/account/security/ir.model.access.csv @@ -98,6 +98,7 @@ "access_account_bank_statement_manager","account.bank.statement manager","model_account_bank_statement","account.group_account_manager",1,1,1,1 "access_account_entries_report_manager","account.entries.report","model_account_entries_report","account.group_account_manager",1,1,1,1 "access_account_entries_report_user","account.entries.report","model_account_entries_report","account.group_account_user",1,0,0,0 +"access_account_entries_report_invoice","account.entries.report","model_account_entries_report","account.group_account_invoice",1,0,0,0 "access_account_entries_report_employee","account.entries.report employee","model_account_entries_report","base.group_user",1,0,0,0 "access_analytic_entries_report_manager","analytic.entries.report","model_analytic_entries_report","account.group_account_manager",1,0,0,0 "access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_manager",1,1,1,1 From 501673e54f3822460751e24e3113a6b8e43a08c9 Mon Sep 17 00:00:00 2001 From: "MTR(OpenERP)" <> Date: Mon, 3 Jan 2011 16:05:06 +0530 Subject: [PATCH 3/3] [FIX] l10n_fr: buildbot fixes for yaml bzr revid: mra@mra-laptop-20110103103506-s1uude440q9d3cil --- addons/l10n_fr/test/l10n_fr_report.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/addons/l10n_fr/test/l10n_fr_report.yml b/addons/l10n_fr/test/l10n_fr_report.yml index 7cf9b161223..aadd2c97311 100644 --- a/addons/l10n_fr/test/l10n_fr_report.yml +++ b/addons/l10n_fr/test/l10n_fr_report.yml @@ -1,23 +1,9 @@ -- - In order to test Generate Fiscalyear Opening Entries wizard of OpenERP I first create a fiscalyear "Fiscal Year 2011" to which the entries will move -- - !record {model: account.fiscalyear, id: account_fiscalyear_01}: - code: FY2011 - company_id: base.main_company - date_start: '2012-01-01' - date_stop: '2012-12-31' - name: Fiscal Year 2012 -- - I create the fiscal periods -- - !python {model: account.fiscalyear}: - self.create_period(cr, uid, [ref('account_fiscalyear_01'),]) - In order to test the PDF reports defined on a l10n_fr, we will print an Account Move Line Report for l10n_fr - !python {model: account.move.line}: | import netsvc, tools, os, time - (data, format) = netsvc.LocalService('report.l10n.fr.bilan').create(cr, uid, [], {'model':'account.move.line', 'form':{'fiscalyear_id': ref('account_fiscalyear_01')}}, {}) + (data, format) = netsvc.LocalService('report.l10n.fr.bilan').create(cr, uid, [], {'model':'account.move.line', 'form':{'fiscalyear_id': ref('account.data_fiscalyear')}}, {}) if tools.config['test_report_directory']: file(os.path.join(tools.config['test_report_directory'], 'l10n_fr-bilan_report.'+format), 'wb+').write(data)