mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Initial commit maintenance_purchase_detail for 11.0
This commit is contained in:
1
maintenance_purchase_detail/models/__init__.py
Normal file
1
maintenance_purchase_detail/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import maintenance
|
||||
13
maintenance_purchase_detail/models/maintenance.py
Normal file
13
maintenance_purchase_detail/models/maintenance.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class MaintenanceEquipment(models.Model):
|
||||
_inherit = 'maintenance.equipment'
|
||||
|
||||
purchase_date = fields.Date(string='Purchase Date')
|
||||
purchase_condition = fields.Selection([
|
||||
('new', 'New'),
|
||||
('used', 'Used'),
|
||||
('other', 'Other'),
|
||||
], string='Purchase Condition')
|
||||
purchase_note = fields.Text(string='Purchase Note')
|
||||
Reference in New Issue
Block a user