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 ?
The default Message shows in the below file:-
Edit: Message shows From fleet Module fleet_view.xml file.
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/5/14, 4:15 AM|
|Seen: 608 times|
|Last updated: 3/16/15, 8:10 AM|