feat: hide authorizer for rental orders, auto-set sale type

Rental orders no longer show the "Authorizer Required?" question or
the Authorizer field. The sale type is automatically set to 'Rentals'
when creating or confirming a rental order. Validation logic also
skips authorizer checks for rental sale type.

Made-with: Cursor
This commit is contained in:
gsinghpal
2026-02-25 23:33:23 -05:00
parent 3c8f83b8e6
commit 14fe9ab716
51 changed files with 4192 additions and 822 deletions

View File

@@ -27,7 +27,7 @@
<!-- Sale Type -->
<field name="x_fc_sale_type" string="Sale Type"/>
<!-- Authorizer Required? - only for odsp, direct_private, insurance, other, rental -->
<!-- Authorizer Required? - only for odsp, direct_private, insurance, other (not rental) -->
<field name="x_fc_authorizer_required" string="Authorizer Required?"
invisible="not x_fc_show_authorizer_question"/>