I have various databases for different versions of Odoo ERP. I've spent a lot of time trying to find out the way to solve this problem but i wasn't successful.
How can i figure out the version of Odoo that was used create the database initially?
In Odoo 10, 11 (probably other versions too):
SELECT latest_version FROM ir_module_module WHERE name = 'base'
Why don't you consider Owner of database. Try this:
Create different user for each odoo version, like user7 for odoo7, user8 for odoo 8 etc.. switch to these user using sudo su - odoo7 -s /bin/bash, then create data base, then the owner will be these user. Then u can identify each database.
Related
I have installed openldap using the back-SQL with Postgres SQL.
I'm able to modify users, update attributes created by the initial SQL scripts, so far so good.
Now, I would like to add new attributes (like mail, Description). I have done several tests but I'm unable to understand how to perform this. I tried to add mail in mapping, ni persons ... both, but mail is never displayed.
Any suggestions? Documentation someone can point me to ?
Thanks
To answer to one questions, here are the SQL scripts for ref
Sources for SQL scripts
yes, I have installed the SQL backend for openldap following these steps ( Postgres ): [link] https://www.darold.net/projects/ldap_pg/HOWTO/x37.html#AEN45
When I try now to add a mobile with the mobile attribute , I get the following error :
but my config already have this schema ( InetOrgPerson ) :
This is my ldif file :
I don't undestand the problem
library : https://github.com/Weakky/ra-data-opencrud/
I've been struggling since 5 days and not able to fixed. I'm using prisma with mysql
if tables in database was like this User, Post . it will work fine
the issue is all tables are named like this am_user , am_post
in this library they used this
${pluralize(camelCase(resource.name))};
who is the hero who can save me? i'm not able to find any workaround
I am not familiar with Prisma but this question is labelled react-admin... do you have no control over your schema type definitions, react admin would only care how your schema is named i am thinking not your db tables... and there must be a way to alias the Post to target ma_post for prisma .. I had to do the same thing but i used sequelize and the functionality for aliasing is quite simple
It sounds to me like you didn't create your database and are attempting to use it with an existing database? I tried this and could not get Prisma to run, that functionality was experimental when i tried it, and i believe it still is and the introspection works for postgres only... however something like this is what i was talking about from a quick google search of prisma docs (This is for postgres)
type Bill #pgTable(name: "ma_bill") {
bill: String!
id: Int! #unique
bill_products: [Bill_product]
}
This link seems to say introspection is possible for mysql tho, check it out
https://www.npmjs.com/package/prisma-db-introspection
Hello I'm running Obi 11g and I'm creating a dashboard for managers and I'm having difficulty finding a way to create a report for the dashboard that shows only the employees directly reporting to the manager running the dashboard / report.
I've done a little research and I'm guessing this is going to be done by session variables? but i'm not sure how. If there was a way I can pull the executing user's username I could just say employee.username = session.username and then run the query accordingly but is there a way to this?
Any help would be appreciated greatly. Thanks.
This is Oracle. It offers a function named USER that returns ... well, current user. So, your query might utilize it as
where employee.username = user
Since this may be an Oracle product but not and Oracle database query, you will need sth more OBI-specific:
VALUEOF(NQ_SESSION.USER)
I found what I was looking for
SELECT fnd_global.user_name FROM DUAL
This posts the username instead of the schema.
I'm using beeline and have no special administrative privilege. It's developers account. Is there any way where I can see list of tables those were created today under particular schema today or within last couple hours? Thank you. Please let me know if you need any further information, thanks again.
One way to do so is by querying your 'metastore'. Since you don't know your 'metastore' credentials follow below mentioned way step by step.
Step 1: Find your metastore string : In your beeline/hive shell write this command 'set -v'.
This command will produce hive properties. Scroll up or down to find these properties :
javax.jdo.option.ConnectionDriverName=com.mysql.jdbc.Driver
javax.jdo.option.ConnectionPassword=password
javax.jdo.option.ConnectionURL=jdbc:mysql://hostName:port/databaseName?createDatabaseIfNotExist=true
javax.jdo.option.ConnectionUserName=userName
STEP 2: Connect to your database with the use of credentials given in property. As in my case it is Mysql so :
mysql -u userName -h hostName -pPassword -Pport
STEP 3 : use databaseName;
STEP 4: select TBL_ID,TBL_NAME,from_unixtime(CREATE_TIME) from TBLS order by CREATE_TIME desc;
you will get all tables created with deacreaing time of creation. You can further filter table list by editing query.
P.S : In my case metastore was Mysql so I wrote queries corresponding to that.
In your case it could be any other database. so you have to modify your queries according to that.
Hope this helped
I am new to SAP ABAP programming, I am trying to display structure of VBRK & VBRP tables using transaction SE11, but it says table VBRK does not exist.
The book which I am using says that this table exists already. Do I need to activate something or run some code in order to use these tables?
Thanks for your help.
It looks like SD module is not installed on your system. Now it is a part of ERP module SAP_APPL aka Logistics and Accounting and is usually installed by default. It seems that your system lacks this basic stuff. You can check its status via System >> Status >> Component
If you don't see it then you won't be able to use SD functionality as well.