Skip to content

Commit

Permalink
deprecate old reports
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed May 29, 2020
1 parent 6caf7be commit efb9abf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gnucash/report/reports/aging.scm
Expand Up @@ -653,6 +653,9 @@ copying this report to a spreadsheet for use in a mail merge.")
(gncCustomerGetShipAddr (gncOwnerGetCustomer owner)) ;; shipping
(gncOwnerGetAddr owner))) ;; billing

(issue-deprecation-warning
"old aging reports are deprecated and will be removed in 5.x")

(set! receivable (eq? (op-value "__hidden" "receivable-or-payable") 'R))
(gnc:report-starting reportname)
(let* ((companys (make-hash-table 23))
Expand Down
3 changes: 3 additions & 0 deletions gnucash/report/reports/standard/balance-sheet.scm
Expand Up @@ -287,6 +287,9 @@
(gnc:lookup-option
(gnc:report-options report-obj) pagename optname)))

(issue-deprecation-warning
"old balance-sheet is deprecated and will be removed in 5.x")

(gnc:report-starting reportname)

;; get all option's values
Expand Down
5 changes: 4 additions & 1 deletion gnucash/report/reports/standard/income-statement.scm
Expand Up @@ -290,7 +290,10 @@
(gnc:option-value
(gnc:lookup-option
(gnc:report-options report-obj) pagename optname)))


(issue-deprecation-warning
"old income-statement is deprecated and will be removed in 5.x")

(gnc:report-starting reportname)

;; get all option's values
Expand Down
3 changes: 3 additions & 0 deletions gnucash/report/reports/standard/owner-report.scm
Expand Up @@ -720,6 +720,9 @@
(gnc:option-value
(gnc:lookup-option (gnc:report-options report-obj) section name)))

(issue-deprecation-warning
"old owner reports are deprecated and will be removed in 5.x")

(let* ((document (gnc:make-html-document))
(table '())
(orders '())
Expand Down

0 comments on commit efb9abf

Please sign in to comment.