OCA / sale-reporting

GNU Affero General Public License v3.0
45 stars 186 forks source link

Error in report_saleorder.xml template #277

Open readylan opened 2 weeks ago

readylan commented 2 weeks ago

Module

sale_comment_template

Describe the bug

Installation is ok, but when you try to print a sale order with comments it raises an error because de template has an erroneous expression (

)

To Reproduce

Affected versions: 14.0

Steps to reproduce the behavior:

  1. Install module
  2. Create a template from Sales > Configuration > Comments..
  3. Create / edit a sale order and link created comments above.
  4. Print sale order report

Expected behavior Sale order report must print configured "Comments" (on top/bottom as defined) but it raises an error: Odoo Server Error Traceback (most recent call last): File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 331, in _compiled_fn return compiled(self, append, new, options, log) File "