콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
13223 화면

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


아바타
취소
베스트 답변

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

베스트 답변

Ça a marché pour moi merci

아바타
취소