Odoo Help


"Edit FormView" doesn't change sale_view.xml?

on 10/12/13, 1:06 AM 1,858 views

I'm using windows7 and addons are in C:\Program Files (x86)\OpenERP 7.0-20130921-231041\Server\server\openerp

I changed a label on Quotation at "Edit FormView" and put a comment like below


But when I open sale_view.xml under C:\Program Files (x86)\OpenERP 7.0-20130921-231041\Server\server\openerp\addons\sale, I couldn't find the change


I have even do a window search the whole addons folder on the comment I put, i.e. and get no luck. Can someone educate me:

  1. how to modify the xml directly in windows instead of using only the web based tool to modify the view?

  2. where are the changes saved after editing views using web based tool as below?



odoo.ma by IBS Group

--odoo.ma by IBS Group--
| 4 6 8
Tétouan, Morocco
--odoo.ma by IBS Group--

For more informations about IBS, please visit our website at www.ibs-na.com.

For a specific questions, collaboration or help, please send us an email to support@ibs-na.com

odoo.ma by IBS Group
On 10/12/13, 7:33 AM

When you edit views via OpenERP, your changes are saved in the database and not the file.

When you edit an XML views file, you need to update the module associated with that file ( from the modules list ) , so that the new changes are saved to the database.

What's advised is that you create your own module, inherit the view you want to change and then apply changes to it as you wish.

Thank you. I am running no Windows 7, and have tried to create my_addons in C:\Program Files (x86)\OpenERP 7.0-20130921-231041\Server\server\openerp\, same folder with the default addons folder, and created a mymodule folder with 4 required files inside it (I have my __init__.py __openerp__.py mymodule.py and mymodule_view.xml); also added my_addons path in openerp-server.conf. Restarted the service, checked technical features, clicked Update Module List, but mymodule isn't there for me to install. May I know why?

on 10/12/13, 8:40 AM

your module directory must be inside addons/, otherwise there is probably a python code error, check your log file for clues or paste the code in another question for assistance.

odoo.ma by IBS Group
on 10/12/13, 1:11 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/12/13, 1:06 AM
Seen: 1858 times
Last updated: 3/16/15, 8:10 AM