Friends, i am using a binary field.
The problem is that the field takes me a lot of space in the view so that the other fields are coming outside the sheet.
So that i want to eliminate the word "Save, Upload, and Download.
I want to inherit the idget and eliinate those words. Just keep the icons.
Can anyone help me know how can i minimise the size of this widget in the view..
In your_module/static/src/xml ... put an xml file contains: [add this file to the __openerp__.py in the 'qweb' key]
<?xml version="1.0" encoding="UTF-8"?>
<t t-jquery="span:contains('Select')" t-operation="replace">
<t t-jquery="span:contains('Save As')" t-operation="replace">
<t t-jquery="span:contains('Clear')" t-operation="replace">
This will extend the template and eliminate the words [Save As, Clear, and Select] from the widget ...
Hope this could helps & works
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: 4/30/16, 9:13 AM|
|Seen: 279 times|
|Last updated: 5/1/16, 1:51 PM|