I have created a new module in Odoo for helpdesk and I have 2 problems that I can't seem to fix or find information on so need some help.
I created a status bar (code):
state = fields.Selection({('new','New'), ('open','In Progress'), ('closed','Closed')}, "Status")
_defaults = {
'state': 'new'
}
<header>
<field name="state" widget="statusbar" statusbar_visible="new,open,closed" clickable="True"/>
Even thought I have stated "new, open, closed" it is showing in Odoo as open,new, closed.
I set the state default as new, even though I am not getting any errors, when I click on create it shows state as blank.
Any ideas on how to fix these issues?