Odoo Help

0

Setting Stock.Move to DRAFT and then DELETE it?

By
Damian Phang
on 9/23/14, 12:13 AM 1,286 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.

Register

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)

Stats

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