summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Vora <jvo@tinyerp.com>2008-09-04 17:20:54 +0530
committerJay Vora <jvo@tinyerp.com>2008-09-04 17:20:54 +0530
commitb07e22dd24ce02dc82ea6ecd0a0bcfc034a3ddd9 (patch)
treeac1b3691b779b52313161e4644a777d198b2cdbf
parent58d05ef7a284c62ac318789dff44d9c94ad2d211 (diff)
Bugfixes:account and hr_holidays module
bzr revid: jvo@tinyerp.com-20080904115054-whf2nbea2w6e8x2n
-rw-r--r--addons/account/account.py2
-rw-r--r--addons/hr_holidays/hr_holidays_report.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/account.py b/addons/account/account.py
index 1b72e3b0c8d..52e260f4f5d 100644
--- a/addons/account/account.py
+++ b/addons/account/account.py
@@ -1760,7 +1760,7 @@ class account_chart_template(osv.osv):
_columns={
'name': fields.char('Name', size=64, required=True),
- 'account_root_id': fields.many2one('account.account.template','Root Account',required=True),
+ 'account_root_id': fields.many2one('account.account.template','Root Account',required=True,domain=[('parent_id','=',False)]),
'tax_code_root_id': fields.many2one('account.tax.code.template','Root Tax Code',required=True,domain=[('parent_id','=',False)]),
'tax_template_ids': fields.one2many('account.tax.template', 'chart_template_id', 'Tax Template List', help='List of all the taxes that have to be installed by the wizard'),
'bank_account_view_id': fields.many2one('account.account.template','Bank Account',required=True),
diff --git a/addons/hr_holidays/hr_holidays_report.xml b/addons/hr_holidays/hr_holidays_report.xml
index 781cb04656a..4f5c72cc848 100644
--- a/addons/hr_holidays/hr_holidays_report.xml
+++ b/addons/hr_holidays/hr_holidays_report.xml
@@ -4,7 +4,7 @@
<report id="report_holidays_summary"
string="Summary Of Holidays"
model="hr.holidays"
- name="hr.holidays.holidays_summary"
+ name="holidays.summary"
xsl="hr_holidays/report/holidays_summary.xsl"
auto="False"
menu="False"/>