İçereği Atla
Menü
Bu soru işaretlendi

Hi,


I have a model x_studio_bultos that related to sale.order in the field x_pedido but when create the new field using automated action only creates the data from the field x_numero_bulto and x_pedido is empty.


for i in range(record.x_studio_bultos):

  bulto = env['x_bultos_por_pedidos'].create({

      'x_numero_bulto': i + 1,

      'x_pedido': record.name,

  })


What am I doing wrong?


Thanks to all.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Şub 23
6102
1
Şub 24
2443
3
Tem 23
3982
2
May 23
3963
2
May 25
6320