summaryrefslogtreecommitdiff
path: root/addons/fleet/data
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-03-12[IMP] mail,*: remove useless field `is_master_data`Christophe Simonis
This field is a non-sense. By using the same logic, it should be added to any low level model. Replace the check by a simple verification of presence of an XMLID. A more generic opt-in solution should be integrated into ORM. Partially revert commits 0db0e66e96a8f6b393565da6fbb8dce25ec960b7 and bbd64c22abc19558c1d83a892fc426bf99a094ce. See #29257 odoo/enterprise#3550 closes odoo/odoo#31778 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-02-05[IMP] various: prevent unlink of automated activity typesMohit Ghodasara
Purpose of this merge is to update main addons and set activity types used for automated activities as master data. This means they cannot be removed. Indeed those activity types are used in business flow to generate activities and removing them may break some flows. This commit is linked to task ID 1907970 and PR #29257.
2018-10-09[MERGE] forward port branch 12.0 up to ebe43bad9efChristophe Simonis
2018-10-08[IMP] fleet: Load fleet vehicles as data instead of demo dataYannick Tivisse
Purpose ======= In the fleet module, Models & Brand are in demo data. It should be loaded as regular data. closes odoo/odoo#27524
2018-09-24[FIX] *: reassociate various demo data to admin instead of rootXavier Morel
2018-08-20[FIX] fleet: Move data from 'demo' to 'data'Yannick Tivisse
2018-05-04[IMP] fleet: Improve stages demo dataYannick Tivisse
Remove the old one and defined stages that are more realistic.
2018-04-27[IMP] fleet: Add subtype to track driver modificationsYannick Tivisse
2018-03-27[IMP] fleet: improve activity management on fleet contract modelThibault Delavallée
This commit improves fleet contracts management through a better integration of activities and addition of automated activities. Several things are done in this commit : * fleet vehicle log contract does not inherit from mail.activity.mixin. This commit adds the inherit so that fleet users and managers can now schedule and manage activities on vehicle contracts. This will help them in their daily job; * automatic activities generation is added when contracts are nearly expired and renewal is required; * a menu to configure activity types is added. Indeed fleet managers should be able to see and configure activity types related to their job; * filters are added to be able to use the systray and to filter the kanban view based on activities Having automated activities allow to replace some messages posted on the contract. Indeed currently there are messages posted on vehicles about contracts to renew. As we now have automated activities on contracts to remind assigned people to renew it the log can be safely removed. It will lessen noise generated on chatter.
2017-11-22[IMP] fleet: Move model,tags and service type data to demoYannick Tivisse
2017-08-07[IMP] fleet: Improve dashboard, vehicule form and contractsBaris Kocak
Purpose: Improve fleet for a better usability Dashboard: - Replace 'leasing' button by a contract status icon in kanban tiles - Add a link to contract - Link to vehicule form when clicking on the tile Vehicle form: - Track contract status in a chatter - Add a model_year Contracts: - Imporve the states names - Split service types in two list views service/contracts - Execute a cron once a day to upgrade contract status - Add a new contract status is introduced 'Expiring Soon' to help spot contracts that will expire until 15 days with a filter. - Add a 'group by vehicle' to improve list usability Fuel logs view: Add an an odometer column
2017-01-03[REF] ir_cron: make scheduled actions inherits from server actionsThibault Delavallée
The purpose of this commit is to handle code execution only in server action and delegate schedule management to ir_cron model. ir.cron model now inherits from ir.actions.server. Fields model, function and args are removed as well as the logic to handle them. There is no more code manipulation and evaluation in ir_cron, only a call to the run method of ir.actions.server. Cron form view use server action form view as primary view. This way automated actions use the same base form as server actions with cron details added. Thanks to @fpodoo for the original idea and preliminary work. Thanks to @jpr-odoo for first developments. Thanks to @jem-odoo for reviewing.
2016-05-27[IMP] fleet: migrate to new api (fleet.py). my eye is painingRavi Gadhia
2016-05-27[IMP] fleet: change directory structure according to new apiRavi Gadhia