从另一个类的create方法更新属性

时间:2018-10-29 09:31:03

标签: python postgresql odoo

当我在video_rental_rentals类中创建新的出租行时,我想将video_rental_copy类中的数据从“状态”更新为“出租”。我不知道如何进行。而且我在使用OpenERP 6.1的网络中找不到示例。

谢谢 拉蒙

Sensors: "192.168.1.1","192.168.1.1"
Locations: "Work Room","Living Room"
Site: Hassan Home
Mqttserver: pi3.garf.de

这里报告了错误:

TypeError:write()为关键字参数“ context”获得了多个值

0 个答案:

没有答案
相关问题