← 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 Alexis de Lattre,

your fix has landed in trunk in revision 7019. Thanks for your
contribution!

Quentin

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
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 Released

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