Working
no payment
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from odoo import fields, models
|
||||
|
||||
class WarrantyManufacturer(models.Model):
|
||||
_name = "warranty.manufacturer"
|
||||
_description = "Warranty Manufacturer"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
vendor_id = fields.Many2one(
|
||||
"res.partner",
|
||||
string="True Vendor",
|
||||
domain="[('supplier_rank', '>', 0)]",
|
||||
)
|
||||
# Flags for what this manufacturer requires
|
||||
requires_model = fields.Boolean(default=True)
|
||||
requires_serial = fields.Boolean(default=True)
|
||||
requires_failure = fields.Boolean(default=True)
|
||||
requires_original_so = fields.Boolean(default=True)
|
||||
notes = fields.Text("Vendor Warranty Instructions")
|
||||
Reference in New Issue
Block a user