minor fix in reports

This commit is contained in:
wilson gomez sanchez 2021-03-12 16:18:18 -05:00
parent f8e9ea5282
commit 9ecf7213f8
2 changed files with 2 additions and 2 deletions

View File

@ -269,6 +269,7 @@ class PrintAuxiliaryBook(Wizard):
'party': party,
'empty_account': self.start.empty_account,
'reference': self.start.reference,
'fiscalyearname': self.start.fiscalyear.name
}
return action, data
@ -291,7 +292,6 @@ class AuxiliaryBook(Report):
start_period_name = None
end_period_name = None
dom_accounts = [
('company', '=', data['company']),
('kind', '!=', 'view'),
@ -1617,7 +1617,7 @@ class PrintBalanceSheetCOLGAAPStart(ModelView):
posted = fields.Boolean('Posted Moves', help='Show posted moves only')
period = fields.Many2One('account.period', 'Period', domain=[
('fiscalyear', '=', Eval('fiscalyear')),
], depends=['fiscalyear'])
], depends=['fiscalyear'], required=True)
company = fields.Many2One('company.company', 'Company', required=True)
detailed = fields.Boolean('Detailed')
account_profit = fields.Many2One('account.account',

Binary file not shown.