Remove the old preference setting for default invoice report

Remove preference setting and set the schema to be depreciated in
version 5000 and removed in version 6000.
This commit is contained in:
Robert Fewell 2023-02-01 16:27:56 +00:00
parent 07f3f536cc
commit cbf39074c2
2 changed files with 23 additions and 55 deletions

View File

@ -2152,4 +2152,16 @@
<obsolete old-path="org.gnucash.window.pages.account-tree.summary"
old-key="end-period"/>
<deprecate old-path="org.gnucash.GnuCash.dialogs.business.invoice"
old-key="invoice-printreport" />
</release>
<!--
<release version="6000">
<obsolete old-path="org.gnucash.GnuCash.dialogs.business.invoice"
old-key="invoice-printreport"/>
</release>
-->

View File

@ -16,26 +16,6 @@
<property name="step-increment">1</property>
<property name="page-increment">10</property>
</object>
<object class="GtkListStore" id="liststore_printinvoice">
<columns>
<!-- column-name item -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">Printable Invoice</col>
</row>
<row>
<col id="0" translatable="yes">Tax Invoice</col>
</row>
<row>
<col id="0" translatable="yes">Easy Invoice</col>
</row>
<row>
<col id="0" translatable="yes">Fancy Invoice</col>
</row>
</data>
</object>
<object class="GtkWindow" id="preferences_window">
<property name="visible">True</property>
<property name="can-focus">False</property>
@ -158,18 +138,6 @@
<property name="top-attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Report for printing</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">7</property>
</packing>
</child>
<child>
<object class="GtkCheckButton" id="pref/dialogs.business.invoice/tax-included">
<property name="label" translatable="yes">_Tax included</property>
@ -185,7 +153,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">8</property>
<property name="top-attach">7</property>
</packing>
</child>
<child>
@ -203,7 +171,7 @@
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">9</property>
<property name="top-attach">8</property>
</packing>
</child>
<child>
@ -311,27 +279,6 @@
<property name="top-attach">12</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="pref/dialogs.business.invoice/invoice-printreport">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="has-tooltip">True</property>
<property name="tooltip-markup">The invoice report to be used for printing.</property>
<property name="tooltip-text" translatable="yes">The invoice report to be used for printing.</property>
<property name="model">liststore_printinvoice</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">7</property>
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="pref/dialogs.business.invoice/days-in-advance">
<property name="visible">True</property>
@ -431,6 +378,15 @@
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
</object>