Hello
I would like to add buttons in kanban view , in order to can click on them directly from the kanban view.
How i can make that ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello
I would like to add buttons in kanban view , in order to can click on them directly from the kanban view.
How i can make that ?
Hi zakaria,
you can define like this.
<record id="salon_management_kanban" model="ir.ui.view" > |
|
This is an example of an action button.
Thank you.
Thank you Avinash. Please where i should py my function (Button Action) ?
I have used the following code :
<a type="button">
<button string="Procurement Request" name="message_test" type="action" attrs="{'invisible': [('pin_switch', '==', 0)]}">
<span>Procurement Request</span>
</button>
And the function :
@api.model
def message_test(self):
raise osv.except_osv(('Button test!'), ('Vous avez clicker sur le button'))
But when i click in the button nothing happened; what i should do ?
This is an action button.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up