Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/30/16, 9:13 AM|
|Seen: 478 times|
|Last updated: 5/1/16, 1:51 PM|