diff options
| author | Hetashree Chauhan <hch@odoo.com> | 2019-07-31 10:10:48 +0000 |
|---|---|---|
| committer | svs-odoo <svs@odoo.com> | 2019-08-14 12:13:27 +0000 |
| commit | cdc8bf4bb1d6f0b817285f4926a5807f7f6b1e14 (patch) | |
| tree | e9eb09f6d59a8942eac7c30c5fecdb29e2ee7e23 /addons/maintenance/models | |
| parent | 699a4614effbc35b527185fe8ad7cdb6e5b52c12 (diff) | |
[IMP] mrp, maintenance: back to basics
Modify tree view for MRP Production
Modify form view and tree view for Unbuild orders
Add group by for Bill of Materials
By default show line shart when opening MRP Production report
Modify view for Work Orders
Modify view for Work Centers
Modify view for Routings
Modify view for Maintenance Request
Modify view for Bill of Materials
task-2042304
closes - https://github.com/odoo/odoo/pull/35482
Diffstat (limited to 'addons/maintenance/models')
| -rw-r--r-- | addons/maintenance/models/maintenance.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/maintenance/models/maintenance.py b/addons/maintenance/models/maintenance.py index d7ed713ac5c..e4c5099381c 100644 --- a/addons/maintenance/models/maintenance.py +++ b/addons/maintenance/models/maintenance.py @@ -298,6 +298,7 @@ class MaintenanceRequest(models.Model): schedule_date = fields.Datetime('Scheduled Date', help="Date the maintenance team plans the maintenance. It should not differ much from the Request Date. ") maintenance_team_id = fields.Many2one('maintenance.team', string='Team', required=True, default=_get_default_team_id) duration = fields.Float(help="Duration in hours.") + done = fields.Boolean(related='stage_id.done') def archive_equipment_request(self): self.write({'archive': True}) |
