Merge branch 'main' into 6.8
This commit is contained in:
commit
c06ceb1909
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class XReport(Report):
|
||||||
# no report defined, use 1st found
|
# no report defined, use 1st found
|
||||||
act_report = ActionReport.search([
|
act_report = ActionReport.search([
|
||||||
('model', '=', 'account.invoice'),
|
('model', '=', 'account.invoice'),
|
||||||
('extension', '=', 'pdf')], count=1)
|
('extension', '=', 'pdf')], limit=1)
|
||||||
if act_report:
|
if act_report:
|
||||||
act_report = act_report[0]
|
act_report = act_report[0]
|
||||||
if not act_report:
|
if not act_report:
|
||||||
|
|
Loading…
Reference in a new issue