Applied this to Odoo 17 and it's working. Thank you sir!
@odooistic11 ай бұрын
amazing.
@fiq3062 Жыл бұрын
Hello, i have trouble to run debug the Odoo where it didnt open the odoo server, how to make the module is appear?
@odooistic Жыл бұрын
hi you need to set your addons path
@ahmedbenbettaieb2931 Жыл бұрын
where to put the custom module , the path I mean ?
@odooistic Жыл бұрын
hello @ahmed you can add custom addons folder anywhere in odoo installation folder and then set the path in launch.json file
@vishnus91179 ай бұрын
what are all the extensions to be installed in vscode to make the coding easier in odoo. how to create all the files inside the custom/customisation folder , does it created manually or by any other extensions
@odooistic8 ай бұрын
XML - Many of Odoo's views and data files are written in XML. An XML extension can provide better highlighting and linting for XML files. Better Jinja - Odoo uses Jinja in its QWeb reporting engine. This extension provides syntax highlighting and code snippets for Jinja templates, which can be very useful. Rainbow CSV - Odoo often involves working with CSV files for data import. Rainbow CSV highlights columns in CSV files in different colors, making them easier to read and edit. Odoo Snippets - This extension provides snippets for Python and XML that are commonly used in Odoo development, speeding up the coding process. Pylint - If you install pylint-odoo, a plugin for Pylint that checks for specific Odoo coding guidelines, you can integrate it into VSCode to automatically check your Python code against Odoo standards.
@odooistic8 ай бұрын
Additionally, using the terminal within VSCode, you can also run Odoo's scaffold command (odoo-bin scaffold ), which automatically creates a new Odoo module with all the necessary file and folder structure. This command generates a basic structure for an Odoo module in the specified destination, which can be a great starting point for further customization.
@faktalagi2 жыл бұрын
hello, in my case, I have to restart my odoo service so that the module is updated in the application. But I see you didn't restart the service, how do you do that?
@odooistic2 жыл бұрын
Hi Fakta Thanks a lot for your message. Regarding your question Fakta we have to restart our Odoo service everytime we have done any change in backend code. in my video you have not seen because i paused video recording for not wasting time and once it was restarted then i resumed. i hope i answered your question
@faktalagi2 жыл бұрын
@@odooistic ahh, okay thanks
@AndresRojas-lw9hq Жыл бұрын
Hello, can you please tell me how to restart the Odoo service? I don't see my app and want to try that as well, thanks
@odooistic Жыл бұрын
@@AndresRojas-lw9hq Hi Andres you need to press F5 or click on Run and click start Debugging.
@odooistic Жыл бұрын
@@AndresRojas-lw9hq Amazing! so glad to hear that 😍
@ramayan4017 Жыл бұрын
i cant see my module i have added path, and restarted the server, updated applist { 'name': 'Testingasdf', 'application': True, } addons_path = c:\oddo\server\odoo\addons, C:\oddo\server\custom
@odooistic Жыл бұрын
Confirm the module structure: Make sure that your custom module is properly structured and located within one of the specified addons paths. The module should have a valid manifest.py file and all the necessary files and directories. Update the app list: In the Odoo interface, go to the Apps menu and click on the "Update Apps List" button. This action refreshes the list of installed modules and should include your custom module if it is correctly placed in the addons paths.
@ramayan4017 Жыл бұрын
@@odooistic I have created a folder named custom and a sub folder test and then two files in test folder named __manifest__.py(i have mentioned its content above) and __init__.py(this one is empty)
@jaiminthejack Жыл бұрын
I tried all options even restarting computer
@stories__status Жыл бұрын
Sir i don't have that odoo.xml, what can I do
@odooistic Жыл бұрын
Hi you need to create a new file and name is any name.xml , this is how you create an empty xml file and remember to create in views folder if you want to create forms or menus or trees
@JustXee Жыл бұрын
Thank you for the great videos! I've followed all your steps, including keeps all the folders and structure the same as yours. I've hit update apps from Odoo and refreshed a few times. I also tried logging in as Super User but I can't see my Custom app in Odoo. I've also tried searching for Author or other values. Do you have any idea what could be the issue? Thanks so much!
@JustXee Жыл бұрын
I figured it out by restarting the service. :D
@odooistic Жыл бұрын
can you please click on odoo.conf file and check if you have given your custom addons path , like an example (addons_path = c:\odoo16\server\odoo\addons, C:\odoo16\server\custom)