deprecate old reports

This commit is contained in:
Christopher Lam
2020-05-29 18:18:38 +08:00
parent 6caf7beee3
commit efb9abfb4d
4 changed files with 13 additions and 1 deletions

View File

@@ -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))

View File

@@ -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

View File

@@ -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

View File

@@ -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 '())