Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2663 Vizualizări

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 !

Imagine profil
Abandonează
Cel mai bun răspuns

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 .

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
sept. 24
2528
1
ian. 20
7409
3
iul. 19
6464
1
nov. 24
1700
1
apr. 23
3050