Odoo Help


Setting Stock.Move to DRAFT and then DELETE it?

Damian Phang
on 9/23/14, 12:13 AM 1,430 views

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/23/14, 12:13 AM
Seen: 1430 times
Last updated: 3/16/15, 8:10 AM