Odoo 12, How to modify the lines of tree view from a javascript file - odoo

In the tree view, I need to make the rows that have already been checked and printed uncheckable.
My goal is to make the already printed rows unprintable, and change their background color.
I know how to add a button with javascript but, I don't know how to select the rows. please can someone help me, I really need.

Related

How to create "menu grid" in kotlin

I have searched google/stackoverflow etc. for answer to my question, but I didn't quite manage to find the right one. I believe I just don't know, how to set the question properly, and thus I cannot find solution.
Is there any way, how to create grid like I drawed in following image (with red colour):
I need to add this red grid to several images, which look very simmilar. The grid field (the one selected) have rolling menu, prescribed position, and a field for additional text. Black lines in background are image in background, and the red supposed to be grid above the image. I thought of creating a lot of buttons alined to each other, but i think that is very bad way to do so.
I would like a pop-up menu from selected field, but opening new activity with same fields is usable aswell. Is there any "simple" solution for creating such grid/menu ?
Btw, I am not programmer with many experience with coding, let's say, I know basics only.
Thanks in advance.

User input range for XY graph

I'm a beginner user of labview so bear with me, please. I'm working on a project that takes a data text file with columns and rows as an input. I have the project set up so far to take the data from that file and display it in an XY graph.
I want to add a feature where the user inputs a set of values that represent a range in the x-scale. The program should take those two values and make a new graph (or use the old one, that works too) with the proper scale.
I greatly appreciate your time and help .
Thanks
Edit :
A snippet of the txt file.
The red arrow shows what I tried to use from the help section of labview. Yet I have little to no idea on how to integrate it into my diagram or vet if its the right tool to use.
These numeric values input in the front panel is what I thought could work, but I'm all ears to any suggestions.
You already found the correct property node value :)
You have to connect a minimum and a maximum value to the property node. If you click on the function on the node, you can select the min and max option.
I made this little example for you to see what you need to do.
Property nodes are in genereal very useful as you can set and change so many settings programatically.
A nice feature of LabVIEW: You can drag&drop .png pictures in your Block Diagram. So if you want to test my VI-Snippet, just drag&drop it :)
I hope that I could help you, feel free to ask if you have any more questions.

IntelliJ v14, how to bring up a method parameters information via keyboard or mouse input?

I really like how IntelliJ displays the information of the type of parameters that you are required to fill in as you are writing the code. The problem is that this info sometimes disappears if u click somewhere to check something etc. I never quite know how to get it to display that information again in same fashion. So I always spend some time to fiddle around until it displays that info again in the same fashion. I know you can hold down on ctrl and hover over the method name to bring up parameters information but its not quite the same and it then does not highlight on what parameter you are currently on. IntelliJ also brings up required parameters type of information when you are starting to go wrong. It brings up this big separate box and you can get very clear view of what needs to be done. I've taken a screenshot of the type of information that I'm on about. Both of them are on the same pic.
Please check it out.
My question: is there a way to bring this information up via keystrokes or mouse input at will? I've tried to google for an answer but I haven't had any joy. Please advise as I'm sure someone else might like this information too.
Thank you.
PS. I know that a good code does not usually have that many parameters but in my case there is not much that can be done.
Default shortcut for that is CTRL-P when cursor is inside the brackets.

Fit the bootstrap collapse panel on same line

I am using bootstrap collapse panel and I'm having trouble fitting the panel on the same line as the label.
Basically when there are more than one company, I would like to show it as shown in my example. If there's another way or better way of doing it, please let me know
Here's an example of what is happening
http://www.bootply.com/TliniBg50r
Thank you

How to type data into table rows in selenium ide?

Right now I am trying to use selenium ide to write code that makes sure web pages on a website work. On one particular page there is a table that has text boxes in each cell. You can add a row by clicking a button. What I want to do on this page is type data into the first two rows. I used selenium ide and recorded me typing in data. Then I tried to replay it. It worked fine until it came to the second row. The second row it could not write data to. The first row text boxes had targets of terms[] and defs[] . the second row looks the exact same but has targets of //td[#id='autoDefinerTd']/textarea and //table[#id='termList']/tbody/tr[3]/td[3]/textarea . I am completely stumped on what to do to fix this and why they are different. If someone could help me I would be so grateful.
Thanks in adavnce.
I figured out you just do it the normal way. For some reason selenium was doing it a weird way.