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

@@ -0,0 +1,22 @@
.o_inspection_photos .o_attachment.o_attachment_many2many {
min-width: 140px;
min-height: 140px;
}
.o_inspection_photos .o_attachment.o_attachment_many2many .o_image_box {
width: 120px;
height: 120px;
}
.o_inspection_photos .o_attachment.o_attachment_many2many .o_preview_image {
width: 120px !important;
height: 120px !important;
object-fit: cover;
cursor: pointer;
}
.o_inspection_photos .o_attachments {
display: flex;
flex-wrap: wrap;
gap: 12px;
}