Changes are getting lost when i restart the openerp server

Asked by Bushair

Hi,
I have modified one filed in Prdouct page using

CUSTOMIZE ->MANAGE VIEWS in the product page.

But after i restart the server using " ./openerp-server.py -u all -d test2 ", the changes are getting removed

How to resolve this issue?

i want the changes to be permanent in my Database , what should i do?

Thanks
Bushair

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Bushair
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello Bushair ,

Simple done those changes in related view xml file in product module.
To search the particular view , use View Name .
After doing this changes you need to update again the server.

Thanks.

Revision history for this message
Bushair (bushairka) said :
#2

Hi,
After doing these changes how can i update the server to become the changes permanent?

If i do the changes using
CUSTOMIZE ->MANAGE VIEWS

i want to these changes to be permanent even if restart the server

thanks
Bushair

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello Bushair ,

If you have done the changes through client this changes are being lost when you will update your server because in updation time it will load the orignal xml file from addons . So you need to done those changes in original view xml file then and then only your changes will be permanent.

Hope now you are understand what i want to explain you.

Thanks.

Revision history for this message
Bushair (bushairka) said :
#4

Hi,
So does this mean that to make any permanent changes in an Client,
i have to modify the XML file located in /usr/src/openerp-server-5.0.6/bin/addons/mymodule ?

is there is anyway that i can copy the xml file modified using client to the /usr/src/openerp-server-5.0.6/bin/addons location?

thanks
Bushair

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#5

Hello,

No there is not any way to copy the xml file modified using client to the /usr/src/openerp-server-5.0.6/bin/addons location. You need to manually copy the changes in original xml file.

Thanks.

Revision history for this message
Bushair (bushairka) said :
#6

Hi,
Thank you very much

thanks
bushair