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

@@ -1,5 +1,5 @@
{
'name': 'Fusion Rental Enhancement',
'name': 'Fusion Rental',
'version': '19.0.2.0.0',
'category': 'Sales/Rental',
'sequence': 200,
@@ -25,6 +25,7 @@
'wizard/manual_renewal_wizard_views.xml',
'wizard/deposit_deduction_wizard_views.xml',
'wizard/rental_return_wizard_views.xml',
'report/report_rental_agreement.xml',
@@ -34,8 +35,16 @@
'views/cancellation_request_views.xml',
'views/res_config_settings_views.xml',
'views/portal_rental_inspection.xml',
'views/portal_sale_rental_override.xml',
'views/menus.xml',
],
'assets': {
'web.assets_backend': [
'fusion_rental/static/src/css/inspection_photos.css',
'fusion_rental/static/src/js/inspection_photo_field.js',
'fusion_rental/static/src/xml/inspection_photo_field.xml',
],
},
'author': 'Fusion Apps',
'license': 'OPL-1',
'application': False,