Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
sept 24
2417
1
ene 20
7332
3
jul 19
6378
1
nov 24
1599
1
abr 23
2930