openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08928
[Bug 953735] [NEW] base_sale_multichannels validate picking not working
Public bug reported:
In 6.1, import shop orders from website. In ecommerce payment
configuration check validate order, validate picking, choose payment
account. When you import shop orders you will receive error. Picking
validation is non-functioning, Please see error
2012-03-13 05:42:18,636 31132 WARNING ? openerp.osv.orm: No such field(s) in model sale.order: property_account_receivable, order_prefix.
2012-03-13 05:42:19,317 31132 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-03-13 05:42:20,034 31132 ERROR ? openerp.sql_db: bad query: update stock_move set "product_uom"=NULL,"product_qty"=E'1.000',write_uid=1,write_date=(now() at time zone 'UTC') where id IN (2)
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "product_uom" violates not-null constraint
2012-03-13 05:42:20,045 31132 ERROR db1 openerp.netsvc: Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Product Unit of Measure - product.uom]
2012-03-13 05:42:20,049 31132 INFO db1 werkzeug: 173.165.247.1 - - [13/Mar/2012 05:42:20] "POST /web/dataset/call_button HTTP/1.1" 200 -
2012-03-13 05:42:20,489 31132 INFO ? werkzeug: 173.165.247.1 - - [13/Mar/2012 05:42:20] "GET /web/static/src/img/warning.png HTTP/1.1" 304 -
2012-03-13 05:42:22,830 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,840 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,846 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,852 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,865 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,873 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,880 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,888 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,893 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,900 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,906 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,907 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " (o.partner_order_id and o.partner_order_id.phone) or removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_order_id not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,922 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,922 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " (o.partner_order_id and o.partner_order_id.fax) or removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_order_id not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,930 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,930 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " (o.partner_id and o.partner_id.vat) or removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_id not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,943 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,943 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state<>'draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,951 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,952 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state=='draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,965 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,966 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state=='draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,974 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,975 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state <> 'draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,983 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,983 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state=='draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,990 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,992 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state <> 'draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:23,003 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,011 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,017 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,025 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,059 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,070 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,078 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,086 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,092 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,240 31132 WARNING ? edi: Ignoring EDI mail notification, failed to generate it.
Traceback (most recent call last):
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 475, in email_task
edi_token = self.pool.get('edi.document').export_edi(local_cr, uid, [edi_record], context = context)[0]
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 185, in export_edi
document = self.generate_edi(cr, uid, [record], context)
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 120, in generate_edi
edi_list += record_model_obj.edi_export(cr, uid, [record], context=context)
File "/usr/local/openerp/6.1/addons/sale/edi/sale_order.py", line 75, in edi_export
self._edi_generate_report_attachment(cr, uid, order, context=context)
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 515, in _edi_generate_report_attachment
file_name = record.name_get()[0][1]
IndexError: list index out of range
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/953735
Title:
base_sale_multichannels validate picking not working
Status in OpenERP Addons (modules):
New
Bug description:
In 6.1, import shop orders from website. In ecommerce payment
configuration check validate order, validate picking, choose payment
account. When you import shop orders you will receive error. Picking
validation is non-functioning, Please see error
2012-03-13 05:42:18,636 31132 WARNING ? openerp.osv.orm: No such field(s) in model sale.order: property_account_receivable, order_prefix.
2012-03-13 05:42:19,317 31132 WARNING ? openerp.loglevels: The netsvc.Logger API shouldn't be used anymore, please use the standard `logging.getLogger` API instead.
2012-03-13 05:42:20,034 31132 ERROR ? openerp.sql_db: bad query: update stock_move set "product_uom"=NULL,"product_qty"=E'1.000',write_uid=1,write_date=(now() at time zone 'UTC') where id IN (2)
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
IntegrityError: null value in column "product_uom" violates not-null constraint
2012-03-13 05:42:20,045 31132 ERROR db1 openerp.netsvc: Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Product Unit of Measure - product.uom]
2012-03-13 05:42:20,049 31132 INFO db1 werkzeug: 173.165.247.1 - - [13/Mar/2012 05:42:20] "POST /web/dataset/call_button HTTP/1.1" 200 -
2012-03-13 05:42:20,489 31132 INFO ? werkzeug: 173.165.247.1 - - [13/Mar/2012 05:42:20] "GET /web/static/src/img/warning.png HTTP/1.1" 304 -
2012-03-13 05:42:22,830 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,840 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,846 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,852 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,865 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,873 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,880 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,888 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,893 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,900 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,906 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,907 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " (o.partner_order_id and o.partner_order_id.phone) or removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_order_id not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,922 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,922 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " (o.partner_order_id and o.partner_order_id.fax) or removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_order_id not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,930 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,930 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " (o.partner_id and o.partner_id.vat) or removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field partner_id not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,943 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,943 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state<>'draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,951 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,952 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state=='draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,965 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,966 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state=='draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,974 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,975 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state <> 'draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,983 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,983 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state=='draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:22,990 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:22,992 31132 WARNING ? openerp.report.render.rml2pdf.utils: rml_except: " o.state <> 'draft' and removeParentNode('para') "
Traceback (most recent call last):
File "/usr/local/openerp/6.1/openerp-server/openerp/report/render/rml2pdf/utils.py", line 92, in _child_get
eval(n.get('rml_except'), {}, self.localcontext)
File "/usr/local/openerp/6.1/openerp-server/openerp/tools/safe_eval.py", line 241, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/openerp/6.1/openerp-server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: 'Field state not found in browse_record(sale.order, 2)'
2012-03-13 05:42:23,003 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,011 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,017 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,025 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,059 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,070 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,078 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,086 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,092 31132 WARNING ? openerp.osv.orm: No field_values found for ids [2L] in browse_record(sale.order, 2)
2012-03-13 05:42:23,240 31132 WARNING ? edi: Ignoring EDI mail notification, failed to generate it.
Traceback (most recent call last):
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 475, in email_task
edi_token = self.pool.get('edi.document').export_edi(local_cr, uid, [edi_record], context = context)[0]
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 185, in export_edi
document = self.generate_edi(cr, uid, [record], context)
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 120, in generate_edi
edi_list += record_model_obj.edi_export(cr, uid, [record], context=context)
File "/usr/local/openerp/6.1/addons/sale/edi/sale_order.py", line 75, in edi_export
self._edi_generate_report_attachment(cr, uid, order, context=context)
File "/usr/local/openerp/6.1/addons/edi/models/edi.py", line 515, in _edi_generate_report_attachment
file_name = record.name_get()[0][1]
IndexError: list index out of range
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/953735/+subscriptions
Follow ups
References