Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
In Open ERP 7 there is feature in status bar that have attribute clickable.I've set clickable="True" but when I click the status bar, there is just return null value. And the state doesnt update to state that I clicked. Did I miss something?
I think it is a bug, and as such I posted it here >>bugs.launchpad.net/openerp-web/+bug/1175960<< (copy without ">>" "<<", I can't post links yet), but I haven't received any reply so far. Maybe if you click on "Does this bug affect you?" it will get more visibility and recieve an answer from the dev team.
I have this same problem right now. When I put in view
<field name="state" widget="statusbar" clickable="True" />
and in _columns
'state' : fields.selection([ ('active','Active'), ('inactive','Inactive'), ('expiring', 'Expiring'), ], 'State', track_visibility='onchange'),
when I click a status on the statusbar server receive vals['state'] == None.
But when I use in _columns
'state_id': fields.many2one('jp.offer.state', 'State', track_visibility='onchange', ondelete="set null"),
and in view
<field name="state_id" widget="statusbar" clickable="True"/>
It works properly.
Does it mean statusbar widget works only with many2one fields?
As standard the status bar is not a selected object that I can see (correct me if if I am wrong) simply setting the attributes to click-able will really do nothing.
You or somebody would need to write a module to do what you want. Order status changes depending on the location in the order workflow. i.e from draft to confirmed to done. It is possible to create a module that would change the order or object state say if you pressed a button. Hope this helps
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
|Asked: 3/25/13, 12:41 PM|
|Seen: 7293 times|
|Last updated: 3/16/15, 8:10 AM|