Skip to Content
Menu
This question has been flagged
726 Views

hello i try to create a invoice report without header and footer.

my code is








o.partner_id.vat" class="mt16">

Tax ID:
" rel="ugc">o.partner_id.vat"/>



Invoice
Draft Invoice
Cancelled Invoice
Credit Note
Vendor Credit Note
Vendor Bill





Invoice Date:




Due Date:




Source:



o.partner_id.ref" name="customer_code">
Customer Code:

" rel="ugc">o.partner_id.ref"/>



Reference:




















o.invoice_line_ids.sorted(key=lambda l: (-l.sequence, l.date, l.move_name, -l.id), reverse=True)"/>































Description Quantity Unit Price
Disc.%
Taxes
Amount
Total Price

















Subtotal































Paid on


Amount Due






Please use the following communication for your payment :



" rel="ugc">o.invoice_payment_term_id.note"/>





o.fiscal_position_id.note)" name="note">
" rel="ugc">o.fiscal_position_id.note"/>



Incoterm: " rel="ugc">o.invoice_incoterm_id.code"/> - " rel="ugc">o.invoice_incoterm_id.name"/>




Scan me with your banking app.









when i print i have the following error

  File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 184, in test_expr
    code_obj = compile(expr, "", mode)
  File "", line 1
    Facture special
            ^
SyntaxError: unexpected EOF while parsing



Avatar
Discard