Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3027 Näkymät

I am using openerp7 for our client project. I am at intial stage now. I am having a doubt which files i should not touch to customize.

When i upgrade from openerp7 to odoo(8 version), which files will override.

Simple Task i am doing now, removing upgrade(announcement) bar at the top of the inner pages.

For this there are two ways i found,

1) Commenting animations.xml line in /addons/mail/__openerp__.py

2) Creating a custom module, that has css file which makes annoucement_bar class as visibility:hidden 

The solution one is perfect for me, because it will never add to the html.

The solution two has the provision for user to make it show using firebug/ console.

Please reply.

 

Avatar
Hylkää
Tekijä

Thanks Ivan So custom module is preferred to customize all the ui related work in openerp right?

Paras vastaus

Sunil, in general if you want to keep the version of your OpenERP/Odoo within the upgrade path, you need to keep it intact, you should not change anything within the odoo and the official addons module unless if it is really very necessary.

So, if I were you I would choose path 2, although maybe there is another option.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 25
1289
2
tammik. 25
2645
2
tammik. 25
3010
0
maalisk. 23
3144
0
elok. 22
2710