Could we merge my fix in trunk ? It's been nearly two months now... and
we still can't create an invoice from a picking with addons-trunk !

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to