mirror of
https://github.com/NaN-tic/tryton-upgrades.git
synced 2023-12-14 03:32:55 +01:00
Sync all ir.model.data records, not only the ones out of sync.
This commit is contained in:
parent
aede1c50f3
commit
da500dcfb0
|
@ -27,7 +27,8 @@ logger.addHandler(ch)
|
|||
with Transaction().start(dbname, 0, context=context):
|
||||
Data = pool.get('ir.model.data')
|
||||
|
||||
datas = Data.search([('out_of_sync', '=', True)])
|
||||
#datas = Data.search([('out_of_sync', '=', True)])
|
||||
datas = Data.search([])
|
||||
Data.sync(datas)
|
||||
|
||||
Transaction().commit()
|
||||
|
|
Loading…
Reference in a new issue