Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pfs = [8479,8458,8481,8487]
- from buy_man import bm_manag
- reload(bm_manag)
- bmm = bm_manag.BmManag()
- for c in pfs:
- compraobj = CompraHeader.objects.get(pk=c)
- compraobj.etiquetado_facturado = False
- compraobj.save()
- bmm.update_rs(query_dict={'comprapk': c})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement