|
1 | 1 | <?xml version="1.0" encoding="utf-8" ?> |
2 | 2 | <odoo> |
3 | | - <record id="view_stock_move_operations" model="ir.ui.view"> |
4 | | - <field name="name">stock.move.operations.form</field> |
5 | | - <field name="model">stock.move</field> |
6 | | - <field name="inherit_id" ref="stock.view_stock_move_operations" /> |
7 | | - <field name="arch" type="xml"> |
8 | | - <field name="move_line_ids" position="after"> |
9 | | - <newline /> |
10 | | - <field name="allocation_ids" /> |
11 | | - </field> |
12 | | - </field> |
13 | | - </record> |
14 | 3 | <record id="view_move_form" model="ir.ui.view"> |
15 | 4 | <field name="name">stock.move.form</field> |
16 | 5 | <field name="model">stock.move</field> |
17 | 6 | <field name="inherit_id" ref="stock.view_move_form" /> |
18 | 7 | <field name="arch" type="xml"> |
19 | | - <group name="linked_group" position="after"> |
20 | | - <newline /> |
21 | | - <group name="allocations" string="Stock Request Allocations"> |
22 | | - <field name="allocation_ids" /> |
23 | | - </group> |
24 | | - </group> |
| 8 | + <field name="move_dest_ids" position="after"> |
| 9 | + <field |
| 10 | + name="allocation_ids" |
| 11 | + string="Stock Request Allocations" |
| 12 | + readonly="1" |
| 13 | + > |
| 14 | + <list> |
| 15 | + <field name="stock_request_id" /> |
| 16 | + <field name="stock_move_id" /> |
| 17 | + <field name="product_id" /> |
| 18 | + <field name="requested_product_uom_qty" /> |
| 19 | + <field |
| 20 | + name="product_uom_id" |
| 21 | + options="{'no_open': True, 'no_create': True}" |
| 22 | + groups="uom.group_uom" |
| 23 | + /> |
| 24 | + <field name="requested_product_qty" /> |
| 25 | + <field name="allocated_product_qty" /> |
| 26 | + <field name="open_product_qty" /> |
| 27 | + </list> |
| 28 | + </field> |
| 29 | + </field> |
25 | 30 | </field> |
26 | 31 | </record> |
27 | 32 | </odoo> |
0 commit comments