Use address_with_party for purchase report

issue2327
review31441002
This commit is contained in:
Cédric Krier
2016-09-06 09:24:41 +02:00
parent ff578457bf
commit 4b35d5eade
2 changed files with 5 additions and 0 deletions
BIN
View File
Binary file not shown.
+5
View File
@@ -1433,6 +1433,11 @@ class PurchaseLineRecreatedMove(ModelSQL):
class PurchaseReport(CompanyReport):
__name__ = 'purchase.purchase'
@classmethod
def execute(cls, ids, data):
with Transaction().set_context(address_with_party=True):
return super(PurchaseReport, cls).execute(ids, data)
class OpenSupplier(Wizard):
'Open Suppliers'