← 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,

It has been fixed on branch lp:~openerp-dev/openobject-addons/trunk-
bug-1001806-rmu  with Following Revision Number and Revision ID.

Revision Number:6811
Revision ID: rmu@xxxxxxxxxxx-20120521062736-qkd3d20k0pxzn2l8 

This will soon merge with trunk

 Thank you!

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

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

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

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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