← Back to team overview

openerp-india team mailing list archive

[Bug 1001806] Re: Empty list of journals when trying to create invoice from picking

 

Hello,

This issue will stuck all time when our invoice policy ="On delivery order" and We can not able to create a invoice.
That's why I am raised this bug's importance as a "Medium".

Thanks!

** Changed in: openobject-addons
   Importance: Low => Medium

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

Title:
  Empty list of journals when trying to create invoice from picking

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  With current addons-trunk (rev 6809), when you are trying to generate
  an invoice from the picking, in the "Create invoice" wizard, the
  selection field "Destination Journal" is empty.

  After investigation, the problem is located in "addons-
  trunk/stock/wizard/stock_invoice_onshipping.py", in the function
  "_get_journal_id" : the context['active_model'] doesn't contain
  'stock.picking' but 'stock.picking.in' if the picking has been
  generated from a Purchase order,  or 'stock.picking.out' if the
  picking has been generated from a sale order.

  The enclosed patch fixes the problem.

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


References