摘要: odoo也可以设置json路由,但是返回值会在外边套上一层,考虑直接使用http路由 @route('/mycart/addToCart', csrf=False, type='http', auth="none", methods=['POST']) def addToCart(self, **k 阅读全文
posted @ 2023-05-17 16:30 那时一个人 阅读(47) 评论(0) 推荐(0)
摘要: (0, 0, { values }) link to a new record that needs to be created with the given values dictionary (1, ID, { values }) update the linked record with id 阅读全文
posted @ 2023-05-17 15:41 那时一个人 阅读(200) 评论(0) 推荐(0)