Enforce party required on tests tools default account configuration
issue10317 review351761003
This commit is contained in:
1 parent
c23f29281c
commit
a5cdab4d30
1 file changed
+2
@@ -70,10 +70,12 @@ def create_chart(company, tax=False, chart='account.account_template_root_en'):
|
||||
create_chart.transition_create_account()
|
||||
receivable, = Account.search([
|
||||
('type.receivable', '=', True),
|
||||
('party_required', '=', True),
|
||||
('company', '=', company.id),
|
||||
], limit=1)
|
||||
payable, = Account.search([
|
||||
('type.payable', '=', True),
|
||||
('party_required', '=', True),
|
||||
('company', '=', company.id),
|
||||
], limit=1)
|
||||
create_chart.properties.company = company
|
||||
|
||||
Reference in new issue
Block a user