OpenERP - selecting Create dropdown box option does not launch the dialog window - odoo

I have a dropdown box for Class ID in a custom view. When I type new, non existent classID in the dropdown box, the dropdown shows options, one of which is Create new_class _id. However, when I click on Create '0078' for instance, no dialog window is launched and the new class is created. I don't know 100% if this is correct behaviour. Please see the picture. What I have to do to launch the window?

That will be created automatically , when you click on the Create "0078" ..... after click on that go to the button besides the Item Class field (that logo shows with arrow sign).... that will show you your created item and dialog window... :)
It will be true when there are no required field in the window that will be open for create new item. If you put more than one required field in dialog-box(form view), then it will pop-up. that you are asking.....!!
– Mischievous

Related

why my field field does not want to appear in my link menu?

I would like to add an image type field (QR code precisely) in my edit link menu.
For this: I added and installed the module: Menu Item Extras (which allows to do that).
however, when I create my field in manage field, it does not want to be displayed.
In "manage display", it is not disabled.
what did I forget?
her my field created
manage form display

How to hide graph in qlikview

I want to hide a graph in qlikview, display it when I want, but not delete it.
Your help is very appreciated
Thank you
Solution on website is not showing, so have included this response.
To show/hide an item in Qlikview, there needs to be a variable in place that can be altered. To create a variable, open the Settings Menu and then select variable overview. I would suggest a name of vShowGraph, create this and then click ok.
To set the variable on screen this can be done by either an input box or by way of button/trigger set on an item. For ease of user, I would suggest using a button.
To create a button, right click on your qlikview sheet anywhere blank, select "new sheet object" and then button.
To link the button to your variable, open the actions tab on the button, click "Add", choose Action Type of "External" and Action of "Set Variable". Enter the variable name (vShowGraph in this example). In the value box enter this script
=if(vShowGraph='Show','Hide','Show')
Your variable and button are now linked, you can now click it and it will change the variable from the values Show and Hide.
To hide your graph using this variable, right click on the graph and open the Layout tab. There is a box called "Show", change the radio button from Always to Conditional and enter the below formula.
=vShowGraph='Show'
Click ok and your graph will disappear if you haven't clicked the button. click the button and it will show.
If you have made any mistakes, you can still select the graph by opening the sheet properties and opening the Objects tab.

Select Image File and Display it in Forms (Visual Basic)

I have a form, in which it has a few pictureBoxes that i intended to use as a normal button.
first button is the select file button where when the users click the button, a window will pop up allowing the users to select files to be analyzed.
the second button is a run button where when the users have selected the desired files, clicking this will run the application to analyze the image file.
third button is a stop button to stop the analyzing process.
last button is a help button that provide the help and support.
the question is that how do i display the selected files on the form in a tabular format with basic information like file name, file type, date created and date modified?
You can use a listview control with the .View property set to Details. Add an item and subitems for each file.

How to open an existing record in a form with a click of menu item in openerp?

I have created a menu item- 'Personal Profile'.
On click, it should open the candidate profile in a form view.
I have set rules so that each candidate can see only his/her profile.
In action part of the menu I have - defined view_type as form & view_mode as form,kanban
But,by default on click of the menu item a new form is opened for create.
Instead I want my existing record form view(i.e user/candidate profile) should be displayed every time when I click the menu item.
Please Help..
You need to save the user data in preferences (user defaults) or plist file,database any of these data source.
Than on click you need to check if data exist in these data source than fetch and fill out data in form or if no data exist than open blank form.

Working with Multiple Windows

In my MainMenu.xib, I have the main window of my app with web view, Now i have added a new window (with text field and button) in MainMenu.xib.
I have problem to add a menu tab where i click and my newly added window appears (Not on app Launching). How to connect menu tab item with window..???
Thanks in Advance
Would you like to do it without a single line of code?
i.e. Using Binding.
Here we go:
Create a secondary Window that you want to open on menu click.
Uncheck "Release when Close"
Create a new menu item : ctrl+drag from menu to window, select "makeKeyAndOrderFront"
That's it.