Odoo Help


This community 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.


How to get state value when workflow tagged in Openerp?

on 7/18/13, 3:19 AM 673 views

When we add workflow for model then its gives vals without state value. its only updated in workflow actions.
1. oncreate

def create(self, cr, user, vals, context=None):

my requirement is need to check state values for my business logic. but in workflow actions not gives values.

2. workflow actions

def test_finished(self, cr, uid, ids):

then how to pass the value of state in method parameters

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 7/18/13, 3:19 AM
Seen: 673 times
Last updated: 3/16/15, 8:10 AM