Allow generate the facturae file as many times as is needed.
This commit is contained in:
parent
e8b374d4b4
commit
36211e319d
|
@ -139,7 +139,7 @@ class Invoice(metaclass=PoolMeta):
|
|||
& (Eval('state').in_(['posted', 'paid']))),
|
||||
}, depends=['credited_invoices'])
|
||||
invoice_facturae = fields.Binary('Factura-e',
|
||||
filename='invoice_facturae_filename', readonly=True)
|
||||
filename='invoice_facturae_filename')
|
||||
invoice_facturae_filename = fields.Function(fields.Char(
|
||||
'Factura-e filename'), 'get_invoice_facturae_filename')
|
||||
|
||||
|
|
Loading…
Reference in New Issue