← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 724198] Re: [6.0] Invoicing values from wizard are lost when creating purchase invoice from receptions

 

Hello.

Also, I just discovered the problem: the parameters passed to call
"action_invoice_create" function are not captured. I copy below the
affected code (approximately at line 127 in
"stock_invoice_onshipping.py" file)

        res = picking_pool.action_invoice_create(cr, uid, active_ids,
              journal_id = onshipdata_obj[0]['journal_id'],
              group = onshipdata_obj[0]['group'],
              type = inv_type,
              context=context)

It's the same problem that occurs at Bug https://bugs.launchpad.net
/openobject-addons/+bug/724253.

Thanks.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/724198

Title:
  [6.0] Invoicing values from wizard are lost when creating purchase
  invoice from receptions

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  At 6.0.1 OpenERP version, when you try to create a purchase invoice
  from reception, next values that appears at invoicing wizard are not
  apply: Destination Journal, Group by partner, Invoice date.

  The steps to reproduce the bug are next:
  1) Create a purchase order, indicating "From Picking" at Invoicing Control.
  2) Click on "Convert to Purchase Order" button.
  3) To generate the receptions documents, click on "Receptions" at right list options.
  4) Click on "Process" button to confirm the stock reception, and validate the quantities.
  5) Click on "Create invoice" to generate the purchase invoice. A wizard appears asking for Destination Journal, Group by partner, Invoice date. Complete this fields and click on "Create" button.
  6) A tree view of new draft purchase invoice created appears. Click on this invoice to access form view. You can verify that the invoice hasn't filled the Journal and Invoice Date fields.
  7) Also, if you have more than one reception document from same partner, and try to invoicing some of then at same time (click on "Action" top button from Receptions tree view), and select Group by partner option, OpenERP generates one different invoice from every reception document.



References