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

Hello,

I created some user defined fields within the models delivery order and invoice. (Same name in both models)

Now I create an invoice from a delivery order and want the values for those user defined fields to be transfered automatically to the same fields in the invoice.

How can I transfer this field values? Is it possible by doing it just with xml without any python changes? Where should I start?

Thanks for help in advance.

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

Hello !

You have to override this method in stock.py file.
def _prepare_invoice()

Thanks,
Acespritech Solutions Pvt. Ltd.
www.acespritech.com
Mail: info@acespritech.com
Skype: acespritech
Blog: http://www.acespritechblog.wordpress.com

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 22
2813
1
thg 4 22
18364
0
thg 1 22
2470
0
thg 2 21
2351
0
thg 12 24
1128