Browse Source

[TOFIX] computed_purchase_order: cpo_seller_id is missing

pull/145/head
Vincent Van Rossem 5 years ago
committed by robin.keunen
parent
commit
ff9959c725
  1. 6
      compute_purchase_order/views/computed_purchase_order.xml

6
compute_purchase_order/views/computed_purchase_order.xml

@ -32,7 +32,7 @@
<sheet> <sheet>
<group> <group>
<group class="oe_left">
<group>
<field name="supplier_id" /> <field name="supplier_id" />
<field name="order_date" /> <field name="order_date" />
<field name="date_planned"/> <field name="date_planned"/>
@ -54,9 +54,9 @@
</group> </group>
<field name="order_line_ids" context="{'cpo_seller_id': supplier_id}">
<field name="order_line_ids"> <!--context="{'cpo_seller_id': supplier_id}"> -->
<tree name="order_lines" string="Order Lines" editable='bottom'> <tree name="order_lines" string="Order Lines" editable='bottom'>
<field name="product_template_id" domain="[('main_seller_id', '=', cpo_seller_id)]"/>
<field name="product_template_id"/> <!--domain="[('main_seller_id', '=', cpo_seller_id)]"/> -->
<field name="qty_available" readonly='1'/> <field name="qty_available" readonly='1'/>
<field name="virtual_available" readonly='1'/> <field name="virtual_available" readonly='1'/>
<field name="uom_id" readonly='1'/> <field name="uom_id" readonly='1'/>

Loading…
Cancel
Save