Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
一般不同name做外键,可能会有重复;
一般是在One2many 的表里建一个Many2one字段,
例如:ocp_worker_id = fields.Many2one('xxx')
然后用 ocp_worker_id 做外键