I am using Odoo v12, I have one requirement to update the qty to wizard view. I have added two button Plus and Minus and but when I try to update qty using button it is not working. Here I attach the Screenshot my wizard
Here button code in xml.
<button name="action_plus" icon="fa-plus-square" type="object" style="float:right" />
And qty Increment Code in
@api.multi
def action_plus(self):
for record in self:
record.qty = record.qty + 1
return {"type": "set_scrollTop"}
So My Qty not to increasing and decreasing using that button