This question has been flagged
2 Replies
4525 Views

Every time I try to print a quotation, I receive an error. I have submitted a bug report on launchpad. Could anyone confirm it is indeed a problem with openerp v8 ?

Avatar
Discard
Best Answer

I can confirm it is NOT a problem.

I tested with the latest build [trunk-31343 - server (5185); addons (9343); web (3975)].

I can print a:

Sales -> Sales -> Quotation

and a

Purchases -> Purchase -> Quotation

using both the Print button and the Print dropdown.

TIPS:
(1) If you want to increase the chances someone can help you, expand "an error" into something meaningful or ideally, post the traceback message.

(2) Since there are several(!) bug reports on launchpad, link to your report.

Avatar
Discard
Author

I still cannot post links. And the error trace is rather long but, in my bug report. Lets See if this works. hxxps://bugs.launchpad.net/purchase-report/+bug/1306047

Author

I am using Version 8.0dev-20140407-103631, tried it again this morning, create a new "purchase" Request for Quotation:

  • Supplier: Digikey
  • Supplier reference: (empty and with N/A)
  • Pricelist: (Default Purchase Pricelist CAD)
  • Currency: CAD
  • Date: Auto Fill
  • Destination Warehouse: (My wharehouse)
  • Added an item to buy (Everything auto-filled in except analytic account left blank)

Incoming Shipments & Invoices left at default.

Saved it all. (Follow below)

Author

Tried send by email:

File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 295, in render_element raise_qweb_exception(message="Could not render element %r" % element.nodeName, node=element, template=template)

File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 290, in render_element g_inner.append(self.render_node(current_node, qwebcontext))

File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 271, in render_node result = self._render_tagt_render

Author

File "/opt/openerp/server/openerp/addons/base/ir/ir_qweb.py", line 409, in render_tag_field column = record._model._all_columns[field_name].column QWebException: 'NoneType' object has no attribute '_model'

And when I try Print button OR print Request for Quotation in drop down, I get a popup:

Uncaught SyntaxError: Unexpected end of input http://xxx.xxx.xxx.xx:xx/web#id=15&view_type=form&model=purchase.order&menu_id=346&action=406:0

and the server spit out the same trace.

Author Best Answer

I finaly found out. There are quotation / order reports for repair and sales but, only Purchase Order report !

Avatar
Discard
Author

My bad, it does exist, simply under a different naming... Sale and Repair Quotation/Orders are the same pdf :

Quotation / Order mrp.repair ir.actions.report.xml mrp_repair.report_mrprepairorder PDF Quotation / Order sale.order ir.actions.report.xml sale.report_saleorder PDF

But the Purchase one are on 2 different reports:

Purchase Order purchase.order ir.actions.report.xml purchase.report_purchaseorder PDF Request for Quotation purchase.order ir.actions.report.xml purchase.report_purchasequotation PDF