How to Set App Icon as button On Dashboard in Odoo 14? - odoo

I want to set App icon on dashboard.
Then i click on sale App icon then redirect on sale Form.

You must to specify the icon file in your module menu definitios as:
<menuitem name="mymenuname" id="myid" web_icon="mymodulename,static/src/img/app_icon.png"/>
Or you can specify the icon file in the menu definition on Odoo.
Here you can generate icons: https://spilymp.github.io/ibo/

Related

Custom to do app not accessible from menu

I'm new at odoo. Reading "Odoo 12 Development Essential, 4th Edition". However, I've installed Odoo 15 in AWS EC2 Instance.
Followed the books steps to create To-Do app in odoo. But its not showing in menu and I can't use it. What have I don't wrong?
First created "To-Do Item" model and added some extra fields
Created "To-do User" group and added "User Types/Internal User" in
'Inherited' Tab. Also give read/write/delete/create access to "To-do
Item" Model in "Access Rights" Tab.
Then added admin user to "To-do User" group.
Now as per the books, admin should be able to create To-do Items and all from menu.
But this item isn't available in menu. What have I done wrongly?
maybe odoo didn`t update your module, because there were some issues.
I had the same problem before, do next:
Activate developer mode in settings.
Then go to settings → technical → security rules. Find and check your access rights and record rules, maybe odoo didnt update it.
if all is right, then go to technical → interface → menu items.
find your menu record and check, if there is your group.
if all is right, maybe app is not app, check that there is a
'installable': True,
'application': True,
parameters in manifest file.
and also for example menuitems from odoo 15 docs:
<menuitem id="estate_root" name="Нерухомість">
<menuitem id="estate_objects" name="Об'єкти нерухомості">
<menuitem id="menuitem_estate_property" action="estate_property_action"/>
</menuitem>
<menuitem id="estate_settings" name="Налаштування">
<menuitem id="menuitem_estate_property_type_id" action="estate_property_type_action"/>
<menuitem id="menuitem_estate_property_tag_id" action="estate_property_tag_action"/>
</menuitem>
</menuitem>
first item in this example is root item
*P.S. if your dont see your app in apps settings, you need to push button "Update apps list"
*P.S.2 check, if there is your file in manifest data:
'data': [
'security/ir.model.access.csv',
'views/estate_property_views.xml',
],

Shopify: How to make a custom template editable in the theme editor?

I am using the theme "Debut" and I've copied it to make a custom theme out of it.
Then, under "Edit code" I have create a new template for "blog".
Now, when I click on "Customize" button at my template, and the theme editor opens, I have a select box in the top bar where I can select the themes templates, and the pages I've created. But I can't find my custom blog template there, to edit it via the drag & drop editor.
How can I achieve this?
Any help is highly appreciated, thanks!
Once you add any custom template for a blog, product, or collection, they are not available directly into the backend customizer in Shopify.
In backend default templates are available, you need to assign the template to a page, product or blog and then navigate to the desired page, collection or product and blog page into backend using customizer window and then you able to edit the sections and blocks that are added to custom template code.

How to put BottomBar for arbitrary page using react-native-navigation Wix library

I am using react-native navigation Wix V2 library. I want to design a login page that is launcher and does not have BottomBar and then go to home page by clicking on an Enter bottom. In home page I want to have a BottomBar menu. The problem is that I only could bring BottomBar menu on my launcher page and I cannot have it on any arbitrary page. How I have to code in index.js?
Please help me with this issue.
Take a look at this example project: https://github.com/atoami/react-native-navigation-redux-starter-kit
Right at the beginning, it shows a screen where you can choose between starting a Single Screen App or a Tab Based App.

How to remove Social Engine Site Logo Title/Label

Scoured the web for answers, and used file searches but cannot solve this problem.
Currently I have a Logo with a title I did not fill up.
But on my site it is showing as an empty <h3> tag. How do I remove the h3 tag?
It is destroying the layout of the site.
That's your Site Title that you entered during SocialEngine installation and it's being displayed by Logo Widget in the Header template. You can remove the Logo Widget or add your own image as your logo.
1) To completely remove the Logo Widget :
Open Header Template in Layout Editor.
SE Admin Panel -> Layout -> Layout Editor -> Header Template
You'll see the Logo widget in the header template. Click on X to remove it and then click on Save Changes.
2) To replace the site title with your own logo:
First, upload your logo via File Manager.
SE Admin Panel -> Layout -> File Manager
Open Header Template in Layout Editor.
SE Admin Panel -> Layout -> Layout Editor -> Header Template
Click Edit on the widget, choose the uploaded image from dropdown and lastly click on Save Changes.
NOTE : It is highly recommended that you do not modify any core files directly, including the .tpl file of any widgets. If you modify core files, you'll lose all your modifications to those files after installing new upgrade packages that SocialEngine releases regularly.
You can remove h3 tag in modules->core->widgets->menu-logo->index.tpl

how to add an image icon to my openerp custom module

Hi I have made a custom module for my openerp-7 . Now I need to include an image icon as the other modules but I am lacking the setting to do this . What changes should I have to made to have this icon view available.
Hopes for suggesstion
Regards
save your icon as 'icon.png' and place it under your_module_directory/static/src/img
for example check account_voucher module. Its icon images path is in account_voucher/static/src/img/icon.png
Openerp will automatically selects the icon from the static/src/img path
for creating an icon to the custom module you have to override your default icon that exists in the base module
base/static/description/icon.png.
write your icon in the description folder.
your project name /static/description/icon.png.
I think this will help you to change the icon.