active_domain not found in context when using wizard - odoo-9

I'm trying to get the active_domain to a wizard.When I use :
self.env.context.get('active_domain',False)
This works only when I check "select all check box" but when I select a few items and execute the wizard, I cannot find the active_domain in context, is this a bug or I'm doing it wrong?
P.S: I'm using Odoo 9

Related

Oracle endeca property not displaying in jsp ref app

I am trying to implement partial update in Oracle Endeca. I have a property named "depth" in developer studio. The full update works fine but in partial update I get the error that "Unable to parse value 15.1 for property depth". Why does this happen. Please ask for any information you might need.
Can you please check property type of depth. Also check mapping for partial update pipeline.
The property were not showing as MDEX engine had different datatype from the updates. To fix this I used a perl manipulator to format the properties .

Cognos session parameters usage

I have setup LDAP authentication and set up "custom properties" in cognos configuration to get a attribute i have defined in the LDAP entry.
For example this custom property is called ORG_NAME, how do i use this ORG_NAME in report studio as a parameter to filter on? I have seen online about mapping with Framework manager.. however the particular reports i am using access the database directly and DO NOT have a framework manager package associated with them, so i need to use the ORG_NAME without using FM....
You can use the same syntax you would use in FM. So, for example:
#sq($account.personalInfo.givenName)#
will return the first name, and so on.
If you feel some burning need to for user-written SQL, instead of using FM, you can include the macro as a query item in your "outer" query (that gets the results from your sql query, Query2 in the image below).

Does not contain a definition...and no extension method

I am using linqpad4 with it's CRM 2011 plugin.
I get this error. How to fix it.
Does not contain a definition...and no extension method...
This error means something is changed in CRM schema, customization is published and you're trying to use new attribute in query but LinqPad schema is not updated.
Select the connection from left navigation, Right click and select Connection Properties. Ont he dialog bottom left Click on Refresh Schema. This will update the schema. Now you can work with latest schema.

jbpm form builder's "IO Data" search is displaying processes only from default package

Problem:
I have form builder embedded in guvnor. When I create a new form definition within from guvnor, and provide the package for the form definition, still I can't see processes from that package. The only processes that I can get in that search are conming from DEFAULT package.
Expectation:
I want to get processes only from the package which I have provided in popup screen while creating form definition.
Environment:
I am using drools-guvnor 5.4.0.Final with jbpm-form-builder.war downloaded from the following path.
https://repository.jboss.org/nexus/content/groups/public-jboss/org/jbpm/jbpm-form-builder-distribution/5.4.0.Final/
To get the processes from the package follow the following steps ,
i. Create a form without any process attachment
ii. Save it
iii. Then again open it and press Search
iv. Processes from the selected package will appear
This issue was first reported and fixed in Version 5.2 as stated in the below jboss JIRA issues.
https://issues.jboss.org/browse/JBPM-3157#comment-12777068

Cannot create an ADO.NET entity data model through wizard

I have an issue and I cannot find out what the problem is. In visual studio 2010 I'm trying to add a new ADO.NET entity data model through the wizard (I'm using Entity Framework 4.1). After the second wizard step (that says "Choose your Data Connection") I press next and the wizard is closed right away, and there are no following steps at all. Here is my entity connection string:
metadata=res://*/DAL.Model1.csdl|res://*/DAL.Model1.ssdl|res://*/DAL.Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=DMITRIY-TOSH\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True"
Is there anything wrong with that connection string? What should I change in it and how? Or what else can be the cause of the problem? Help me with this, please. I don't even know how to make it work to see the next wizard step where I can choose tables.
Found the solution. The folder "App_Data" (with the database inside) wasn't included into the project. Only because of that the wizard did not work.
I had this problem too, all the above didn't work for me. What helped for me was the following.
When you try to connect with a database that database can have different users with different credentials it can accept. Let's say user A till D.
If you try to connect with a user make sure that user has the right credentials enabled, in this case, read and write options enabled.
To do this start MS SQL Server Managment Studio, connected with your SQL server and select the database you try to make a connection with in visual studio. Under 'your_dbname' --> Security --> Users you find a list of users. Rightclick the username you try to login with and select properties. A window opens. Select the 'General' (selected by default) page and under tab 'Database role membership' make sure 'db_datareader' and 'db_datawrite' are selected.
Note: When you log in too MS SQL Server Managment Studio make sure you log in with a user which can enable/disable these options...
I created an empty model, then selected it in 'Model browser', right clicked on it and selected 'Update model from database'. Then I was able to add a table to it...

Resources