跳至内容
菜单
此问题已终结

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
6105
1
2月 24
2446
3
7月 23
3983
2
5月 23
3964
2
5月 25
6322