Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2628 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
zář 24
2432
1
led 20
7333
3
čvc 19
6391
1
lis 24
1610
1
dub 23
2943