Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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 !

Awatar
Odrzuć
Najlepsza odpowiedź

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 .

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
wrz 24
2391
1
sty 20
7310
3
lip 19
6356
1
lis 24
1585
1
kwi 23
2924