migrate
parent
38fad33d43
commit
96b089ec8a
|
@ -43,7 +43,12 @@ class Migration(migration.Migration):
|
|||
for seq in get_model("sequence").search_browse([['type','in',['cust_invoice','clinic_invoice_noclaim']]]):
|
||||
for run in seq.running:
|
||||
run.delete()
|
||||
for hdcase in get_model('clinic.hd.case').browse(ids):
|
||||
dom2=[
|
||||
['date','>=','2015-07-01'],
|
||||
['state','=','waiting_payment'],
|
||||
]
|
||||
#for hdcase in get_model('clinic.hd.case').browse(ids):
|
||||
for hdcase in get_model('clinic.hd.case').search_browse(dom2):
|
||||
print('remake_invoice ---> ', hdcase.number)
|
||||
ctx={
|
||||
'is_migrate': True,
|
||||
|
|
Loading…
Reference in New Issue