Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for record in records:
- if record.state == 'cancel':
- record.write({'product_uom_qty': 0})
- else:
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement