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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/23/14, 12:13 AM|
|Seen: 1011 times|
|Last updated: 3/16/15, 8:10 AM|