Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3309 Lượt xem

I wanted to change the field of contract creation form

"End of Trial Period"  to another filed name
code is

               <field name="trial_date_end"/>

but i don't know how to do it.

can anyone help?

Thanks in advance!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can Inherit the corresponding form in your module and replace the existing field and add the new field.

For adding a new field to existing view, have a look at this blog: https://www.cybrosys.com/blog/adding-custom-fields-to-existing-views-in-odoo-v12

Thanks

Ảnh đại diện
Huỷ bỏ