export of xrechnung 2.2 + 2.3 + 3.0
This commit is contained in:
parent
85e412564c
commit
0b5f4633a8
4 changed files with 48 additions and 6 deletions
|
@ -31,7 +31,7 @@ class XReport(Report):
|
|||
pool = Pool()
|
||||
IrDate = pool.get('ir.date')
|
||||
Invoice = pool.get('account.invoice')
|
||||
EDocument = pool.get(data['edocument'])
|
||||
EDocument = pool.get(data['edocument'].split('-')[0])
|
||||
|
||||
invoice, = Invoice.browse([data['invoice']])
|
||||
template = EDocument(invoice)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue