This question has been flagged
3 Replies
3954 Views

Openerp has messages/explanations when you open a view and there is no item for that view. for example:

 

Click to create a new contract.

Manage all your contracts (leasing, insurances, etc.) with their related services, costs. OpenERP will automatically warn you when some contracts have to be renewed.

Each contract (e.g.: leasing) may include several services (reparation, insurances, periodic maintenance).

The above is an extract from vehicle contracts , a view which is empty because We dont have fleet contracts yet.

Where are such messages stored,so that I customise the message to show on the screen ?

Thanks.

Avatar
Discard
Best Answer

The default Message shows in the below file:-

Edit: Message shows From fleet Module  fleet_view.xml file.

https://github.com/Johnzero/OE7/blob/master/openerp/addons-modules/fleet/fleet_view.xml

https://github.com/Johnzero/OE7/blob/master/openerp/addons-modules/fleet/i18n/cs.po

 

Avatar
Discard
Best Answer

If you using Eclipse/Aptana Studio/ or so,

then Use Ctrl + H, which is a search tool.. it will search in entire modules

Avatar
Discard
Best Answer

The message is from the help field of a Window Action.  As Prakash has mentioned the particular message that you are looking for is in fleet/fleet_view.xml file, particularly in lines 514 - 521.

If you need to customize the message, you can go to Settings >> Technical >> Actions >> Window Actions and search for that particular action, then edit the Help field of that action.

However the updating of Help field mentioned above may "go away" if you upgrade the fleet module.  If you want a more permanent change of message, you can redefine the action (XML ID fleet.fleet_vehicle_log_contract_act) and change the help message and in a new module.

Avatar
Discard