← Back to team overview

openerp-india team mailing list archive

[Bug 874851] Re: purchase_requisition: cannot create purchase order lines manually

 

Hello,

I have checked the issue with stable 6.0 code and it works fine. For
better clarification i have attached a video here.

Would you please try with the latest updated code of stable 6.0.
If you still face the problem then you can reopen this with more information.

Regards,
Amit

** Attachment added: "out-6.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/874851/+attachment/3082477/+files/out-6.ogv

** Changed in: openobject-addons
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/874851

Title:
  purchase_requisition: cannot create purchase order lines manually

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  How to reproduce it in stable 6:

  Purchases -> Purchase Management -> Purchase Requisitions -> New
  On "Quotations" tab, New purchase order
  Select a supplier and make sure that all required fields are filled
  Create a new  purchase order line

  The error is:
   product_id_change method from class purchase_order_line does not receive correctly none of its parameters.

  The onchange method call is done this way:
                              <field name="product_id" colspan="4" 
   context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" 
  on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)"/>

  The problem is that "parent" does not refer to the purchase.order, but
  to the purchase.requisition, and purchase.requisition does not have
  partner_id, pricelist_id, etcetera.

  
  Greetings,

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/874851/+subscriptions