pull/54/head
Guillaume Auger 2015-01-30 17:07:58 -05:00
parent 83abecc923
commit 8312cc196b
1 changed files with 6 additions and 5 deletions

View File

@ -27,11 +27,12 @@ class ChartOfAccountsReport(models.TransientModel):
_name = 'account.print.chart.accounts.report' _name = 'account.print.chart.accounts.report'
_description = 'Chart of accounts Report' _description = 'Chart of accounts Report'
chart_account_id = fields.Many2one('account.account', chart_account_id = fields.Many2one(
'Chart of Accounts', 'account.account',
help='Select Charts of Accounts', 'Chart of Accounts',
required=True, help='Select Charts of Accounts',
domain=([('parent_id', '=', False)])) required=True,
domain=([('parent_id', '=', False)]))
@api.multi @api.multi
def print_report(self, data): def print_report(self, data):