Hello, i'm pretty new to odoo, and i'm trying to send the data of my custom field "adress" in sale.order to sale.order.line. It is possible ? If yess, can i have some suggestions ?
Thanks in advance !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello, i'm pretty new to odoo, and i'm trying to send the data of my custom field "adress" in sale.order to sale.order.line. It is possible ? If yess, can i have some suggestions ?
Thanks in advance !
Hi,
create custom field (adress) in sale.order.line. And write the field when the sale.order.line created.
example :
adress = fields.Char('Address', compute='so_address')
def so_address(self):
self.adress = self.order_id.adress
Note : This is only example, i am not sure this code is working .
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
3
9월 24
|
2553 | ||
|
1
1월 20
|
7425 | ||
|
3
7월 19
|
6470 | ||
|
1
11월 24
|
1739 | ||
|
1
4월 23
|
3082 |