[IMP] account_financial_reports: Several improvements:
* Move to less files to compile variables * hide contacts on partner * Add reports to res partner actions * initialize wizard from context * initialize wizard by current fiscal year
This commit is contained in:
committed by
chaule97
parent
0817cf3c4d
commit
8b43ea4758
@@ -138,8 +138,10 @@ class TrialBalanceReportWizard(models.TransientModel):
|
||||
res['domain']['account_ids'] += [
|
||||
('company_id', '=', self.company_id.id)]
|
||||
res['domain']['partner_ids'] += [
|
||||
'&',
|
||||
'|', ('company_id', '=', self.company_id.id),
|
||||
('company_id', '=', False)]
|
||||
('company_id', '=', False),
|
||||
('parent_id', '=', False)]
|
||||
res['domain']['date_range_id'] += [
|
||||
'|', ('company_id', '=', self.company_id.id),
|
||||
('company_id', '=', False)]
|
||||
|
||||
Reference in New Issue
Block a user