Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2667 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
set 24
2549
1
gen 20
7422
3
lug 19
6470
1
nov 24
1733
1
apr 23
3079