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

Hello everybody,
I know my question might seem pretty silly but I really couldn't handle it yet,here is my issue:

I am trying to modify slightly the contracts managment module, and I want to copy the value of the field 'description' of the contract to the field 'comment' of the invoice generated by the contract.
I've tried a bench of stuff (overriding some methods,creating a new method) but it's not working.
Please save my life!

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

Hi,

You can use related field which will take the value of description field to the comment field. You just need to make related type field. 
Hope this may solve your issue. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
10690
0
thg 5 16
6165
1
thg 3 15
4961
1
thg 10 21
5666
0
thg 4 21
2694