I have a problem when i was try to create a condition for selection field. I not have idea how to create condition for selection field. So, here my code :
_columns = {
'choose': fields.selection((
('first','First'),
('second', 'Second'),
))
}
As all of you know, after i selected the choice, i want to make a condition using "if else". If using basic python,i understand what i have to do. But in odoo, I still confuse about it. Should i build a method or what, i noy have idea.