Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maintenance_equipment_status - Can't set a status to an equipment #103

Closed
alexandreduf opened this issue Sep 12, 2020 · 5 comments
Closed

Comments

@alexandreduf
Copy link

Hi,

I tried the following module : https://github.com/OCA/maintenance/tree/13.0/maintenance_equipment_status

I can manage to create statuses in Maintenance>Configuration>Equipment Statuses and can decide which equipment categories will have those statuses.

Then, at the top right corner of the Equipment form view, I can see a ribbon that displays the different statuses that an equipment from a category can have.

Buttons not clickable

Problem : the buttons in the ribbon are not clickable (I guess they are supposed to be clickable just as they usually are elsewhere in Odoo). I can’t select a status from that upper ribbon. And I can’t seem to find anywhere a button or a field that allows me to set a status.

Is it me or this is a bug?

Thank you for your great work! I'm eager to try that module once I figure that out!

@dalonsod
Copy link
Contributor

Hello,

Tested on runbot, making this change on https://github.com/OCA/maintenance/blob/13.0/maintenance_equipment_status/views/maintenance_equipment_views.xml#L13 the status bar becomes clickable:

options="{'clickable': '1'}"

Maybe you could locally test and make a PR to fix it

@dalonsod
Copy link
Contributor

Hi @alexandreduf , did you take a look at this?

@etobella
Copy link
Member

@alexandreduf Will you make the PR or do you need some help?

@alexandreduf
Copy link
Author

@dalonsod
@etobella

Hi,

Sorry for the delay, I was away for a bit.
I'm not familiar with coding, so if @etobella can check @dalonsod's suggestion and do the PR, that would be great!

Thank you guys!

@dalonsod
Copy link
Contributor

dalonsod commented Oct 5, 2020

@etobella this issue can be closed

@etobella etobella closed this as completed Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants