← Back to team overview

openerp-india team mailing list archive

[Bug 1085568] Re: Supplier invoice not in supplier invoice menu if gen from picking

 

It is because of method action_invoice_create in class stock.picking.
The method prepare invoice vals does not correctly select the type
'in_invoice'. If you add an if for purchase id and apply type in_invoice
bug is fixed

-- 
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/1085568

Title:
  Supplier invoice not in supplier invoice menu if gen from picking

Status in OpenERP Addons (modules):
  New

Bug description:
  Create a RFQ purchase order.

  Add Supplier
  Change policy to invoice based on receptions
  Add 1 product
  Confirm purchase order
  Receive incoming shipment
  Generate invoice

  Invoice is shown under customer invoices, not supplier invoices

  
  If invoice is generated based on draft or purchase order lines it is shown in supplier invoice menu

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


References