Hi all,
I am under construction of my new custom module . So for that I want to add a small button next to mu custom field in the same line . I don't know how to do that . Kindly anyone help me . It is important for the functionality of my module.
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
13067
أدوات العرض
Hi,
You can take the following as an example for adding a button after a field
<label for="field_name"/>
<div class="o_row">
<field name="field_name"/>
<button name="button_name" type="object" string="Button String"/>
</div>
If you are looking for a view like below, then add class="oe_link oe_read_only pt-0" to the button
Regards
Thanks
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل