assets (images,css,js) files are not loading properly in Odoo 11 - odoo

I am trying to install a custom module in our Odoo11 app. The app was installed successfully and was able to access the modules table. But when I tried to access the urls from controllers, it seems that the assets (images,css,js) files are not loading properly.
Steps I followed to install:
copied the custom module into the ~/custom-addons
Updated the Applist
with the Admin account went to Apps and installed the custom module.
Are there any additional steps that I have to do?
Note: It was properly working in the local development server. Problem is when installing in the production server.

Related

Vue Project not working after ubuntu customization

I have created a project using vue.js at the frontend and flask at the backend, It was working perfectly. But, after I customized my ubuntu OS, suddenly I am unable to run the project, my flask and every other framework and library was uninstalled and I am unable to reinstall vue and I get this error message when I try to install vue again:
Can someone tell me how to resolve this issue?
By Customization, I installed some extensions and then some wallpapers, icon packs etc..
As a user has mentioned in the replies earlier, what you are trying to do is installing a global package, and the error displayed there clearly stated that you lacked permissions, and the customizations you mentioned should not have any impact on this.
Since you are using Ubuntu, just add a sudo in front of the command that you are trying to execute and it should be fixed.

Project in Yii2 cloned does not work for me locally

I've never worked with Yii, only with Laravel, java, .Net and c#. The thing is that they gave me a project to make some modifications but I can't make it run locally in windows.
I configured the paths in Xampp, I tried to occupy php yii serve but it throws me an error with the web folder that does not exist nor I know that it calls in that folder.
Someone who could guide me to make it work for me, please.
These are all the folders that were installed when I cloned the project, I executed the composer was updated and installed the dependencies

install module manually in yii2_advanced

I downloaded Yeesoft CMS and now I want to add another module to this CMS without COMPOSER but its very complex and not working, I caught and very confuse to add or install module manually
These are my requests:
download this cms from https://yee-soft.com/installing
then explain to me how could add a new module to this CMS?
could I add these modules to new Yii2 Advanced Project Manually without COMPOSER?
I read many topics to install manually module to yii2 without composer but it's not working on this CMS.

How to change the local folder for an App Engine project?

TIA for your help.
I recently started experimenting with Google App Engine, and I have been able to set up a project successfully.
However, I made a mistake with the location of my local files and I would like to change it.
This is the output from my console when I deploy:
jnkrois#dev:~/Development/My_Project$ gcloud app deploy
Initializing App Engine resources...done.
You are about to deploy the following services:
My_Project/default/1234567890 (from [/home/jnkrois/Development/My_Project/app.yaml])
Notice that the local folder is /home/jnkrois/Development/My_Project/app.yaml
I want to change the gcloud settings in order to pull the files from my /var/www/html/My_Project/
That way I can run the project locally via my Apache server.
Thanks for your help.
That way I can run the project locally via my Apache server.
In the vast majority of cases you won't be able to run your GAE project through apache. Except, maybe, for a totally static website with a very particular config.
The proper way to run your GAE project locally is using the development server, see Using the Local Development Server
But to answer your question - there is no extra dependency of the project outside the project directory, so just move the project directory to where you want (up to you to check address any permission issues, assuming all permissions are met in the example below) and run the gcloud cmd from the new project location:
mv /home/jnkrois/Development/My_Project /var/www/html
cd /var/www/html/My_Project/
gcloud app deploy
Again, donno if this will help you run it through apache or not.

Easier way to test an existing DNN module?

Each time I want to test the DotNetNuke module I'm working on, I uninstall it from the DNN website host control panel, I zip my module dev folder, and then I reinstall it from the DNN website.
Is there any faster way to test my module?
Are you testing the install process?
If not - all the changes in DesktopModules/YourModule or App_Code/YourModule will take effect immediately and will be ready for testing (assuming you're using a Website project, and your virtual directory is pointing to your dev. directory)
If you're using the Web Application project - make changes, build, move the files to the virtual directory target folder, then test.
Let me know if this helps.