Skip to content

Allow to edit supplier invoices references on non draft state

Implements https://discuss.tryton.org/t/make-invoice-reference-not-readonly-for-posted-invoices/6103/17?u=pokoli

I make the reference writable depending on invoice type to avoid that the invoice_report_cache is added as depends and thus loaded for each customer invoice in the list (as the reference field is shown there).

Merge request reports