Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2665 Переглядів

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 !

Аватар
Відмінити
Найкраща відповідь

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 .

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
вер. 24
2547
1
січ. 20
7420
3
лип. 19
6470
1
лист. 24
1733
1
квіт. 23
3079