create invoice using picking order policy on delivery order produces traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
install sale,stock_
Steps to reproduce the problem:-
1) create sale order using picking order policy ondelivery order confirmed it.
2) compile delivery order and create invoice at that time it's given following trace
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
res = self.create_
File "/home/
inv_type = picking_
File "/home/
if pick.invoice_state == '2binvoiced':
File "/home/
raise AttributeError(e)
AttributeError: 'Field invoice_state not found in browse_
Thanks,
pja
Related branches
- Atul Patel(OpenERP) (community): Approve
-
Diff: 30 lines (+10/-10)1 file modifiedstock/wizard/stock_invoice_onshipping.py (+10/-10)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- create invoice using piking order policy on delivery order it's give - trace back + create invoice using picking order policy on delivery order produces + traceback |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 1049499- pja branch.
This issue has been fixed in https:/
Revision ID: <email address hidden>
Revision No:7424
Thanks,
pja