openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15565
[Bug 1049499] Re: create invoice using piking order policy on delivery order it's give trace back
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
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/1049499
Title:
create invoice using piking order policy on delivery order it's give
trace back
Status in OpenERP Addons (modules):
Confirmed
Bug description:
install sale,stock_invoice_directly module
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/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/addons/web/common/session.py", line 51, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/addons/stock/wizard/stock_invoice_onshipping.py", line 106, in open_invoice
res = self.create_invoice(cr, uid, ids, context=context)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/addons/stock/wizard/stock_invoice_onshipping.py", line 138, in create_invoice
inv_type = picking_pool._get_invoice_type(active_picking)
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/addons/stock/stock.py", line 946, in _get_invoice_type
if pick.invoice_state == '2binvoiced':
File "/home/odoo/runbot/static/openerp-dev-trunk-17003/server/openerp/osv/orm.py", line 479, in __getattr__
raise AttributeError(e)
AttributeError: 'Field invoice_state not found in browse_record(stock.picking, 22
Thanks,
pja
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1049499/+subscriptions
References