Support address_with_party in invoice report
issue2327 review28661002
This commit is contained in:
1 parent
8efc4dd1e9
commit
0ee2db70f5
2 files changed
+2
-1
No files matched your search
BIN
Binary file not shown.
+2
-1
@@ -2316,7 +2316,8 @@ class InvoiceReport(Report):
|
||||
def execute(cls, ids, data):
|
||||
Invoice = Pool().get('account.invoice')
|
||||
|
||||
result = super(InvoiceReport, cls).execute(ids, data)
|
||||
with Transaction().set_context(address_with_party=True):
|
||||
result = super(InvoiceReport, cls).execute(ids, data)
|
||||
invoice = Invoice(ids[0])
|
||||
|
||||
if len(ids) > 1:
|
||||
|
||||
Reference in new issue
Block a user