跳至內容
選單
此問題已被標幟
1 回覆
2657 瀏覽次數

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
2509
1
1月 20
7403
3
7月 19
6459
1
11月 24
1686
1
4月 23
3036