someone can help me i want to make a button to download the current file pdf, in openerp ya can only make a link but , for me i must make a button , so i search a function in python or javascript that can help me ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
4215
أدوات العرض
Quick and dirty hack (I'm using windows):
openerp\addons\web\static\src\xml\base.xml
look at "<t t-name="FieldURI.readonly">"
change related line to this
<a href="#" class="oe_button oe_form_uri"/>
That will change attachment url style to look like button.
is not available.. I am using ubuntu version of OpenERP. Can you please help
Sigh, I use the old source. Sorry.
can't find FieldURI.readonly ?? in base.xml
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل