Support address_with_party in letter report
issue2327 review22241002
This commit is contained in:
1 parent
ec160ac619
commit
06758bca90
2 files changed
+5
No files matched your search
@@ -372,6 +372,11 @@ class CompanyReport(Report):
|
||||
class LetterReport(CompanyReport):
|
||||
__name__ = 'party.letter'
|
||||
|
||||
@classmethod
|
||||
def execute(cls, ids, data):
|
||||
with Transaction().set_context(address_with_party=True):
|
||||
return super(LetterReport, cls).execute(ids, data)
|
||||
|
||||
|
||||
class Rule:
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
BIN
Binary file not shown.
Reference in new issue
Block a user