I want to create a new group for my custom module Store through the Settings > Users > Groups in odoo.
I am creating the group so that I can assign users to that Store module.
When i click on create, i need to write an Application name. I tried to write the name of my custom module which is Store. But, i am prompted to create one.
Should i be creating it? Or, did i get anything wrong?
In Groups, "Application" is category, if you will add it then it will createnew application under "Application Accesses" in users.
You will have all your groups under that category will display as selection in "Users" menu.
Related
I need to hide the chatter from the form view of the crm module for a specific group of users. How can I do this?
You can add customised access in the ir.model->Access rights then assign to specific group.
If you want to add user chatter visibility by users, i would recommend this app:
https://apps.odoo.com/apps/modules/15.0/titans_access_rights_management
I try to display some additional information on the top of website, if is logged user not only an ordinary customer, but also a seller (we use the module "marketplace" by Webkul).
The module "ps_customersignin" shows only a name of logged user and the button for log out on the website. But I want to display more information (link to a seller's special menu, if is the user also a seller, if not, just display user's name and the log out button).
vs.
I tried add this code in ps_customersigning.tpl, but without a result:
{if $is_seller == 1}Display additional info + name and log out button{else}Display only user's name and the log out button
{/if}
Do you have a tip how call information from the module "marketplace" to the module "ps_customersigning" for check, if the user is also the seller and than display the additional information?
You can have an instance of the marketplace module inside the ps_customersignin module by using
$marketplace = Module::getInstanceByName('marketplace');
inside ps_customersignin main module PHP code.
Then you can access the required $marketplace method / properties, assign $is_seller variable with $smarty->assign, and display your content inside the ps_customersigning.tpl
I am making custom module where am attaching to customers to products with the help of product grid
See screenshot two tabs
and in select product tab m selecting products
Tab 2
while selecting products I want to add one custom input field on all product where I can enter value and that value will store in my database.
Can anyone help me with this.
Hm. The fastet way is add the new custom attribute to the products and use it. You can add new attribute via Admin Panel or from Namespace/Module/Setup/UpgradeData.php (or install) file in your custom module (which is better in my opinion). Then this attribute will be visible in all products in BE and value'll be available in FE via $product->getData('attr_name').
If you want to show this attribute input only for assigned products (not for all) -> then it is most complex, but usually it's not problem that product has additional input.
I am doing an android app project on quickblox. I want to add more fields in the users panel. how can I do that. Also how to integrate location in my app so that I can get the location of the person who logs in
You have 2 options now:
You can have location filed with CustomObjects module
https://quickblox.com/developers/SimpleSample-customObjects-android#Add_Custom_Data_structure_to_your_application
and then to create a special class like UserParams and have a single record per user with all additional data.
Use user's customData field https://quickblox.com/developers/SimpleSample-users-android#Custom_data
but you can not filter users by customData field
I am designing a photographers website.
What i need to do is allow every logged in user to view -ONLY- his portfolio and no other.
Since i haven't found any extension that does that in style, i decided to use a general portfolio extension, and create a portfolio for each user.
Then i need to find a way so that when a user logs in, with his username/password, a menu-item will appear that will hold -ONLY- his portfolio.
So my question is, how can i do that???
Assign a single menuitem to a single user.
Thank you.
The only idea I have in mind is to use user groups here. Create the user, create the user group, assign the user to the group and assign that group to the object you want to protect.
If it's just about showing images I have another idea.
I build that user group specific handling into Event Gallery, a Joomla! gallery component: https://extensions.joomla.org/extensions/extension/photos-a-images/galleries/event-gallery/
Doing this make creating different menu items unnecessary. Once the user logs in he can see his content. In addition the content is protected. A simple menu item might not do that trick.