Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

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 !

Avatar
Opusti
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 .

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
sep. 24
2480
1
jan. 20
7385
3
jul. 19
6441
1
nov. 24
1668
1
apr. 23
3003