Skip to Content
Menu
This question has been flagged
1 Reply
3141 Views

I create a website, this insert a res.partner for wich user that insert your access code.


I need search this record for use in another tables and funcions, but when i try browse or seach this record, the seach returns empty.


And when i try insert a record in my custom table, this not work too.


My website needs insert and list records without login in Odoo.


What i do ?

Avatar
Discard
Best Answer

Hi,

Didn't get what exactly you are looking for, if you want the public user to create records inside the system you have to grant the create access for corresponding table to base.group_public , once this is granted the public user can have the permission to create record in the corresponding database table. Or if you just want to read the record in the database table, you can give read permission for the above group.


Also you can try with sudo in your code but it is not a good method as it bypass the access rights and record rules.


Thanks

Avatar
Discard