mirror of
https://github.com/NaN-tic/tryton-upgrades.git
synced 2023-12-14 03:32:55 +01:00
remove company limitation on tax upgrade, added on a test
This commit is contained in:
parent
7a261dcb27
commit
cf1fd90e2b
|
@ -65,7 +65,6 @@ with Transaction().start(dbname, 1, context=context) as transaction:
|
|||
child_companies = Company.search([('parent', '!=', None)])
|
||||
if child_companies:
|
||||
domain.append(('parent', '!=', None))
|
||||
domain = [('id', '=', 3)]
|
||||
for company in Company.search(domain):
|
||||
logger.info("company %s" % company.id)
|
||||
with Transaction().set_context(company=company.id):
|
||||
|
|
Loading…
Reference in a new issue