I solved the problem for now.
I checked the fields in settings ad there is actually no address_invoice_id
I modify the report to use partner_id instead and now works.
I don't know if address_invoice_id shuld be there or not...
On Fri, Feb 22, 2013 at 7:06 AM, Jignesh Rathod(OpenERP)
<email address hidden> wrote:
> ** Changed in: openobject-server
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1131451
>
> Title:
> Error when try to print invoice
>
> Status in OpenERP Server:
> Incomplete
>
> Bug description:
> I get the following when try to print an invoice:
>
> 2013-02-21 22:35:52,404 18487 ERROR ? openerp.tools.safe_eval: Cannot eval "(o.address_invoice_id and o.address_invoice_id.street) or ''"
> Traceback (most recent call last):
> File "/opt/openerp-7.0-20130221-002146/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 "/opt/openerp-7.0-20130221-002146/openerp/osv/orm.py", line 486, in __getattr__
> raise AttributeError(e)
> AttributeError: "Field 'address_invoice_id' does not exist in object 'browse_record(account.invoice, 9)'"
> 2013-02-21 22:35:52,404 18487 WARNING ? openerp.osv.orm.browse_record.account.invoice: Field 'address_invoice_id' does not exist in object 'browse_record(account.invoice, 9)'
> 2013-02-21 22:35:52,405 18487 DEBUG ? openerp.osv.orm.browse_record.account.invoice: File "/opt/openerp-7.0-20130221-002146/openerp/service/web_services.py", line 700, in go
> (result, format) = obj.create(cr, uid, ids, datas, context)
> File "/opt/openerp-7.0-20130221-002146/openerp/report/report_sxw.py", line 444, in create
> fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-server/+bug/1131451/+subscriptions
I solved the problem for now.
I checked the fields in settings ad there is actually no address_invoice_id
I modify the report to use partner_id instead and now works.
I don't know if address_invoice_id shuld be there or not...
On Fri, Feb 22, 2013 at 7:06 AM, Jignesh Rathod(OpenERP) /bugs.launchpad .net/bugs/ 1131451 tools.safe_ eval: Cannot eval "(o.address_ invoice_ id and o.address_ invoice_ id.street) or ''" 7.0-20130221- 002146/ openerp/ tools/safe_ eval.py" , line 241, in safe_eval expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict) 7.0-20130221- 002146/ openerp/ osv/orm. py", line 486, in __getattr__ invoice_ id' does not exist in object 'browse_ record( account. invoice, 9)'" osv.orm. browse_ record. account. invoice: Field 'address_ invoice_ id' does not exist in object 'browse_ record( account. invoice, 9)' osv.orm. browse_ record. account. invoice: File "/opt/openerp- 7.0-20130221- 002146/ openerp/ service/ web_services. py", line 700, in go 7.0-20130221- 002146/ openerp/ report/ report_ sxw.py" , line 444, in create /bugs.launchpad .net/openobject -server/ +bug/1131451/ +subscriptions
<email address hidden> wrote:
> ** Changed in: openobject-server
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Error when try to print invoice
>
> Status in OpenERP Server:
> Incomplete
>
> Bug description:
> I get the following when try to print an invoice:
>
> 2013-02-21 22:35:52,404 18487 ERROR ? openerp.
> Traceback (most recent call last):
> File "/opt/openerp-
> return eval(test_
> File "", line 1, in <module>
> File "/opt/openerp-
> raise AttributeError(e)
> AttributeError: "Field 'address_
> 2013-02-21 22:35:52,404 18487 WARNING ? openerp.
> 2013-02-21 22:35:52,405 18487 DEBUG ? openerp.
> (result, format) = obj.create(cr, uid, ids, datas, context)
> File "/opt/openerp-
> fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
>
> To manage notifications about this bug go to:
> https:/