Odoo Help

0

Need to change the state of form from default draft state to another state?

By
vadivel
on 7/18/14, 2:40 AM 625 views

Hi Friends,

In draft state is default state for account voucher form.So now i have to change this state to hardcore state put by me when i save the form, due to checking for approval conditions.I have tried with commented the state: 'draft' in source and in my module i have added like in defaults i have added like

'state': 'to_be_checked'

But when i save the form the state changes to draft state.Even i have checked all modules whether this inherited or not.But i haven't found anything like that.So please help me in this ASAP.Thanks in advance

0
vadivel
On 7/18/14, 3:48 AM

Finally i have managed to dont this by using Workflow.In default in Workflow mentioned as draft for initial i changed it to to_be_checked state.So it was done

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: 7/18/14, 2:40 AM
Seen: 625 times
Last updated: 3/16/15, 8:10 AM