Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
701 Tampilan

Hi All,

I have crated multiple button in CRM module.
but the string of the button is getting break.


see the buttons "Review Compliance" & "Review Risk Management".

"Review Compliance" at button the letter 'p' is getting break at the bottom side.
"Review Risk Management" at button the letter 'g' is getting break at the bottom side.



how can I fix it?

Avatar
Buang
Jawaban Terbai

Hello Vikas Maharana,


You can add the class attribute as follows: class="oe_stat_button py-4".


Please adjust the py- value based on your needs. For example, you can replace it with py-2, py-3, or py-5 to achieve different padding sizes in line with Bootstrap’s attributes.

I Hope this information proves helpful to you.


Thanks & Regards,

Email:  odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

Avatar
Buang
Penulis Jawaban Terbai

I get the solution 

 <button class="oe_stat_button" name="action_review_ddlgnc_template" type="object" icon="fa-search" context="{'field_name':'cell_partner_qstn_ids'}" groups="vendor_management.group_vndr_mgmt_due_dlgnc,vendor_management.group_vndr_mgmt_compliance_head,vendor_management.group_vndr_mgmt_ceo" invisible="state not in ['2','3']">                                

​<div class="o_stat_info">                                    

​<span class="o_stat_text fs-5">Review Cell Partner</span>                                

​</div>                            

</button>  

Inside button create another div with a span tag and your desire font-size.

Avatar
Buang
Jawaban Terbai

Hi,

Include buttons inside div.

<sheet>

                    <div class="oe_button_box" name="button_box">

                             // include your buttons inside this div

                     </div>

</sheet>


Hope it helps

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 25
1078
1
Mar 25
1205
3
Mar 25
1976
2
Feb 25
4693
1
Feb 25
1702