Expose setting for auto-correct when receiving from invoice
This commit is contained in:
parent
d23e5d169a
commit
89da6ae501
|
@ -115,6 +115,13 @@
|
||||||
</b-checkbox>
|
</b-checkbox>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
|
<b-checkbox name="rattail.batch.purchase.receiving.should_autofix_invoice_case_vs_unit"
|
||||||
|
v-model="simpleSettings['rattail.batch.purchase.receiving.should_autofix_invoice_case_vs_unit']"
|
||||||
|
native-value="true"
|
||||||
|
@input="settingsNeedSaved = true">
|
||||||
|
Try to auto-correct "case vs. unit" mistakes from invoice parser
|
||||||
|
</b-checkbox>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 class="block is-size-3">Mobile Interface</h3>
|
<h3 class="block is-size-3">Mobile Interface</h3>
|
||||||
|
|
|
@ -1928,6 +1928,9 @@ class ReceivingBatchView(PurchasingBatchView):
|
||||||
{'section': 'rattail.batch',
|
{'section': 'rattail.batch',
|
||||||
'option': 'purchase.allow_expired_credits',
|
'option': 'purchase.allow_expired_credits',
|
||||||
'type': bool},
|
'type': bool},
|
||||||
|
{'section': 'rattail.batch',
|
||||||
|
'option': 'purchase.receiving.should_autofix_invoice_case_vs_unit',
|
||||||
|
'type': bool},
|
||||||
|
|
||||||
# mobile interface
|
# mobile interface
|
||||||
{'section': 'rattail.batch',
|
{'section': 'rattail.batch',
|
||||||
|
|
Loading…
Reference in a new issue