Bugfixes:account and hr_holidays module

bzr revid: jvo@tinyerp.com-20080904115054-whf2nbea2w6e8x2n
This commit is contained in:
Jay Vora 2008-09-04 17:20:54 +05:30
parent 58d05ef7a2
commit b07e22dd24
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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"/>