Hi,

I think there is an issue in account_invoice_line_standalone, because in account_invoice_line the link to a invoice is required. So it is impossible to create a standalone invoice line.

def write(self, ids, vals):
    if vals.get('invoice', 0)<  0:
        vals = vals.copy()
        del vals['invoice']
    return super(InvoiceLine, self).write(ids, vals)


fixes this problem, but I don't know, if this change is matching the ideas behind this module.

Regards
Jan

--
[email protected] mailing list

Reply via email to