I'm new on Odoo v10. I'm using the debug mode with URL. But on the settings menu there is links to activate developer mode. I want to ask,
What is the difference between "Activate the developer mode" and "Activate developer mode ( with asset)"?
Debug mode (most of the time used by Administrator)
With this mode you can unable some advance features/options in odoo. so if you open odoo with debug mode you will see some extra menus, extra fields to more advance configuration.
Debug with assets mode (most of the time used by developers)
It enables all features from normal debug plus some extra. Odoo internally use assets bundles to improve performance which internal merge+minifies all static assets like css and JavaScript. So debug with assets will use actual css and javascript files instead of minifying/merging css and js files. This mode will reduce performance but it will give you proper error message in console if you are doing some JavaScript changes in odoo
Debug with assets mode (tests assets)
According to this, starting from Odoo 13 (also available in Odoo 14), we have a new debug mode. This mode is mostly for developers & testers.
You can use this chrome plugin to quick switch between all those modes.
Related
I started to learn how to develop my own theme for Prestashop.
I set a shop on my local server with my theme inside the themes folder. When I change the CSS, I can immediately see the changes in my shop. But it seems that when I change the structure (changing .tpl files), I need to reload the theme in the back office.
This is really not a convenient process, how do you organize your work during development?
Go to Advanced Parameters -> Performance and enable "Recompile templates if the files have been updated". Disable cache on the same page. You can also set _PS_MODE_DEV_ to true in your config/defines.inc.php:
define('_PS_MODE_DEV_', true)
I have installed odoo ver8.0 in my local machine.
I just want to know:
Is there any difference between modules & apps in odoo. If yes what is it?
Also i want to know the difference between the links 'Local modules' & 'Apps' in the left menu of odoo
Difference between the links 'Local modules' & 'Apps' in the left menu:
The "Apps" are online (it doesn't work to me because I use the OCA version) and the "Local modules" you can install them offline. What I do is install the disable_openerp_online module, in order to hide the "Apps" menu, because you can install your own local "Apps" from the "Local modules" menu as well.
The main difference between "Application" and "Module":
It’s common to hear about Odoo modules and applications. But what
exactly is the difference between them? Modules are building blocks of
Odoo applications. A module can add or modify Odoo features. It is
supported by a directory containing a manifest or descriptor file
(named __openerp__.py) and the remaining files that implement its
features. Sometimes, modules can also be referred to as “add-ons.”
Applications are not different from regular modules, but functionally,
they provide a central feature, around which other modules add
features or options. They provide the core elements for a functional
area, such as accounting or HR, around which other modules add
features. Because of this, they are highlighted in the Odoo Apps menu.
Modules are individual pieces/directories of code that extend introduce functionality. An app is a collection of modules, usually with a configuration option, that represent the same purpose (for example: Sale or Purchase).
https://www.odoo.com/forum/help-1/question/what-is-the-difference-between-an-app-an-addon-and-a-module-56285
I have downloaded the source code of Odoo (previously OpenERP) and installed OpenERP. I wanted to know how can I create new module, build it and install it (on Windows) when I don't have the Update Module List.
Take a look at this doc. This is in new api version 8.0
Odoo documentation
To build an Odoo module please Have a look here Which is the Basic Odoo Documentation to builds a new addon. To update Apps list after building the addon after restarting the server you have to follow below methods according to the versions so that you can customize it.
Odoo V8
Go to settings -> Users -> Check the Technical Features.
Update Apps list and Install custom add-on.
Odoo V9
click on About, will open wizard
Use active developer mode and then Update Apps list and Install custom add-on.
Odoo V10
Goto Settings -> Activate developer mode and then Update Apps list and Install custom add-on.
After Updating the module list you can see the custom add-on.
First of all place your module into addon folder of your odoo installation
Log in as Administrator
got to settings - users - Administrator
click on Edit
Check Technical properties
Save and refresh your browser
Go to Settings - Modules - Refresh module list
Click on Refresh
If everything went well you will see your own module within the list
Ensure you have technical features enabled for your user in the access rights section.
Once you have enabled it, logout and login again and you should see Update Module List menu item
As a matter of first importance put your module into addon envelope of your odoo establishment
When you have empowered it, logout and login again and you ought to see Update Module List menu thing. An other way to odoo erp customization
Sign in as Administrator
got to settings - clients - Administrator
tap on Edit
Check Technical properties
Spare and invigorate your program
Go to Settings - Modules - Refresh module list
Just updated to IntelliJ 12 from 11. I can't find
deployment feature anymore.
Previously it was in menu Tools > Deployment now its gone. I can't find it in plugin list as well. However according to the Web Help it should be there.
Any idea how to enable it?
EDIT:
I have ultimate edition.
Make sure that Remote Hosts Access plugin (that's the actual name for Deployment functionality) is installed and enabled (though it should be installed and enabled by default, as it is standard functionality .. unless you did some re-configuration at some point (e.g. during upgrading)).
You can also check idea.log (Help | Reveal log in ...) -- it will have a list of all loaded plugins so you can verify if it's loaded or not.
I have been working on firefox add-ons for quite a long time and its been a real headache to use notpad++ for development. Is there any suitable IDE or plug-in for eclipse available.And just like we do **Run on Server" for dynamic web-projects,Is there any way that, I do a change in any of the sorce file and it automatically creates the .xpi file and installs in firefox?
There are a lot of editors or IDEs that could be easily integrated with the SDK to perform basic tasks like running cfx run or cfx xpi. Here's the system that I use:
I have Wladimir Palant's 'Extension Auto Installer' installed in Firefox
I have a script like this in the add-on's root directory:
#!/bin/bash
/path/to/cfx xpi && wget --post-file=filename.xpi http://127.0.0.1:8888/
Every time I want to test the add-on, I just run the script and the xpi is built and installed into Firefox. Most editors will have some capability to bind a shel command like this to a keybinding.
You don't really need IDE to create XPI every time you make a change.
Create a folder with your addon's source code (e.g.
C://addons/myaddon/).
Put a file containing this path to the folder
containing your Firefox addons and call it the same as your addon ID
(e.g. myaddon#domain.com).
In your install.rdf file, add this line: <em:unpack>true</em:unpack>
This way you can just restart the Firefox whenever you want to see the changes. I recommend this addon, it adds a keyboard shortcut Ctrl+Alt+R for quick restart of Firefox (be sure to get the 0.6b2 version, previous versions don't support the keyboard shortcut):
https://addons.mozilla.org/firefox/downloads/file/121516/restart_firefox-0.6b2-fx.xpi?src=dp-btn-devchannel
Also, you will not loose your source code in case you uninstall your addon while testing (this happens when you develop directly in your Firefox addons folder).
As of IDE, for me personally any editor with syntax highlight for XML and JS works just fine. My personal favorites are Aptana (Eclipse based IDE) and Intype (lightweight and extremely fast).