odoo/tutorials#422
Created by Parthav Pravinbhai Chodvadiya (ppch)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 1s)
- ci/tutorial: (runtime 116s)
- label
- odoo-dev:18.0-imp-deposit-in-rental-ppch
- head
- 908ad13cdbde6352dad98d43b43f808c40eea91c
odoo/tutorials | |
---|---|
18.0 | #422 missing r+ |
master |
[IMP] rental_deposit: added deposit in rental
- Added deposit product in config settings by inheriting res_config_settings model
- Added require deposit and deposit amount in product template by inhering
product_template model - Added inherited view for template as well as config settings and inherited view for product template
- Deposit will be added in sale order line when any product is selected in which
deposit is configured - Also added write override, if product or quantity is changed then it reflects
to deposit also - Added unlink override if product which has deposit and removed it from sale
order line then remove deposit also - In website module on rental product, required deposit will be displayed
- Ensured that only one deposit added when duplicating sale order
- Controller added to track qty from website
- Ensured that on duplicating more than one sale order ensure that it works perfectly
- Extended controller class to get qty in website
- Extended Widget to display deposit which change based on required quantity