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

Hi everyone, I made new app by odoo Studio and the field in this (New app) model was:


Label Name

Technical name

Type

Name

x_name

Text (char)

Date

x_studio_pickup_date

Date & Time (datetime)

Operation Type

x_studio_operation_type

Many2one (many2one)

From

x_studio_from

Many2one (many2one)

To

x_studio_to

Many2one (many2one)

Contact

x_studio_contact

Many2one (many2one)

Product

x_studio_product

Many2one (many2one)

Quantity

x_studio_qty

Decimal (float)


Now when I try to make new automated action to Transfer model after update the status from Draft to Confirmed and the action to do is Create a new Record like Picture down


All the data to write in the green box was working great but the problem in the red box and what I want to do is how to record the Product and Quantity there because the type of field is One2many

hope any one help me to write the correct Python code


Thanks again


Awatar
Odrzuć

Hello. were you able to solve it? . I'm in the same situation

image seems missing from question

Powiązane posty Odpowiedzi Widoki Czynność
0
cze 22
179
1
lut 24
1853
2
sty 24
2079
0
lut 22
2203
0
maj 21
1953