Setting Stock.Move to DRAFT and then DELETE it?
How do I go about setting stock move to draft and then delete it? I've gone to stock.py and defined an action_draft to set state to 'draft'. I then enabled the button in deliver products. When I click on the button it says AttributeError: 'stock.move' object has no attribute 'action_draft'
please advice how do I go about doing this correctly. Thanks