[ADD] model _description
This commit is contained in:
parent
8dcb2552e0
commit
a166fc5078
@ -5,6 +5,7 @@ from odoo import api, fields, models
|
||||
|
||||
class PartnerContract(models.Model):
|
||||
_name = "res.partner.contract"
|
||||
_description = "Contract"
|
||||
_inherit = ["mail.thread", "mail.activity.mixin", "mail.followers"]
|
||||
|
||||
name = fields.Char(string="Contract number",)
|
||||
|
@ -5,7 +5,7 @@ from odoo import api, fields, models
|
||||
|
||||
class ContractOrderAnnex(models.Model):
|
||||
_name = "res.partner.contract.annex"
|
||||
_description = "Contract Order Annex"
|
||||
_description = "Contract Annex"
|
||||
|
||||
name = fields.Char(string="Name", help="The Number of Annex")
|
||||
order_id = fields.Many2one("sale.order", string="Order", required=True,)
|
||||
|
Loading…
x
Reference in New Issue
Block a user