← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 713227] [NEW] create invoice from Deliveries to Invoice tree view

 

Public bug reported:

version 6.0.1  web client

I choose my Delivery to invoice (from the tree view - search screen).  I
click at right on the action Create Invoice (still in the tree view).
Note that the ID of my Delivery is 204, but the wizard gets passed the
WRONG id of the delivery.  Here is the stack trace:

"/mnt/data/usr/local/src/rc2/server/bin/osv/orm.py", line 958, in
default_get self.view_init(cr, uid, fields_list, context) File
"/mnt/data/usr/local/src/rc2/server/bin/addons/stock/wizard/stock_invoice_onshipping.py",
line 80, in view_init if pick.invoice_state != '2binvoiced': File
"/mnt/data/usr/local/src/rc2/server/bin/osv/orm.py", line 287, in
__getattr__ raise AttributeError(e) AttributeError: 'Field invoice_state
not found in browse_record(stock.picking, 343)'


The record stock.picking ID 343 doesn't even exist.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  create invoice from Deliveries to Invoice tree view

Status in OpenERP Modules (addons):
  New

Bug description:
  version 6.0.1  web client

  I choose my Delivery to invoice (from the tree view - search screen).
  I click at right on the action Create Invoice (still in the tree
  view).  Note that the ID of my Delivery is 204, but the wizard gets
  passed the WRONG id of the delivery.  Here is the stack trace:

  "/mnt/data/usr/local/src/rc2/server/bin/osv/orm.py", line 958, in
  default_get self.view_init(cr, uid, fields_list, context) File
  "/mnt/data/usr/local/src/rc2/server/bin/addons/stock/wizard/stock_invoice_onshipping.py",
  line 80, in view_init if pick.invoice_state != '2binvoiced': File
  "/mnt/data/usr/local/src/rc2/server/bin/osv/orm.py", line 287, in
  __getattr__ raise AttributeError(e) AttributeError: 'Field
  invoice_state not found in browse_record(stock.picking, 343)'

  
  The record stock.picking ID 343 doesn't even exist.





Follow ups

References