Odoo中文网|Odoo实施培训
标题:
One2many字段使用另一个视图的tree
[打印本页]
作者:
磨叽什么
时间:
2018-10-15 10:51
标题:
One2many字段使用另一个视图的tree
<field name="move_lines" attrs="{'readonly': [('state', 'in', ('cancel', 'partially_available', 'assigned', 'done'))]}" options="{'reload_on_button': True}" mode="tree,kanban"
context
="{'address_in_id': partner_id,
'form_view_ref':'stock.view_move_picking_form', 'tree_view_ref':'stock.view_move_picking_tree',
'default_picking_type_id': picking_type_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id}">
欢迎光临 Odoo中文网|Odoo实施培训 (http://www.chinaodoo.net/)
Powered by Discuz! X3.2