Skip to Content
Menu
This question has been flagged
1 Atsakyti
2714 Rodiniai

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 !

Portretas
Atmesti
Best Answer

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 .

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
rugs. 24
2629
1
saus. 20
7448
3
liep. 19
6485
1
lapkr. 24
1762
1
bal. 23
3103