跳至內容
選單
此問題已被標幟

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
2月 23
6097
1
2月 24
2441
3
7月 23
3976
2
5月 23
3957
2
5月 25
6312