summaryrefslogtreecommitdiff
path: root/addons/fleet/models/__init__.py
AgeCommit message (Collapse)Author
2019-04-18[IMP] fleet: add future drivers on cars + managers on modelsRomainLibert
Basically when someone requests a new car, getting that car ready takes some time, this means that during the waiting period, that person is still driving its old car. This commit adds a field future_driver_id on fleet.vehicle to tackle that problem and a boolean plan_to_change_car on the partner to track who wants to change car. + Apply some linting to the files This commit cleans the vehicle form view, the vehicle contract form view, the cost list view and adds a manager_id field on the vehicle.model which is then used as a related on the vehicle. Task: 1930298 closes odoo/odoo#31197 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-01-22[IMP] fleet: Add a parameter to specify the alert delayjbm-odoo
Purpose ======= An alert is sent when the vehicle contract will be outdated in less than a month. This could be a parameter than could be set on the res.config. Specification ============= Use ir.config.parameter in all the cases Default value is 30 days Consider 'diesoon' contract as an 'in progress' contract closes odoo/odoo#29704
2018-09-10Revert "[IMP] *: Define groups on res.users models"Yannick Tivisse
This reverts commit 99f497b390e680629dce3a7e2e282ada74ee9884.
2018-04-26[IMP] *: Define groups on res.users modelsYannick Tivisse
The reified view on the res users will be dropped in the following commit. The previous commit adds support to define each group as a computed field on the res users. This commit defines: - A boolean field for each 'isolated' res.group, i.e. a group in the hidden category. - A selection field for each 'Application' res.group, i.e. a group in a application category. Example: - The group to manage pricelist in sales becomes a boolean field - The groups project user/manager become a selection field
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2017-04-26[MOV] fleet: Split models and views into separate filesYannick Tivisse
It's a PITA to have a huge files with all the models into it. We took this opportunity to stick to the guideline.
2016-05-27[IMP] fleet: change directory structure according to new apiRavi Gadhia