我使用odoo 11社区版 . 有没有办法通过xml和SaaS访问字段值?例如,我在产品模板和产品模型中创建了一个字段: name: x_qty_available type: float base properties: stored, copied . 也是一个字段: name: x_new_quantity type: float base properties: required, stored, copied 在更改产品数量模型中 . 然后将x_qty_available添加到product.template.stock.tree.inherit和product.stock.tree.inherit视图中,并将x_new_quantity添加到stock.change.product.qty视图 . 我想做的事:

  • 手头有一个字段名称数量 . 我想将数量值传递给我的自定义字段名称x_qty_available . 是否可以从SaaS那样做?

  • 如果不可能,我在向x_new_quantity输入值后,我想通过SaaS将x_new_quantity值传递给x_qty_available . 那可能吗?提前致谢