Skip to content

Commit

Permalink
[16.0][MIG]agreement_serviceprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhascs committed Jul 3, 2023
1 parent 96900fc commit 4978185
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions agreement_serviceprofile/models/agreement_serviceprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AgreementServiceProfile(models.Model):
def _default_stage_id(self):
return self.env.ref("agreement_serviceprofile.servpro_stage_draft")

name = fields.Char('Name', required=True)
name = fields.Char("Name", required=True)
stage_id = fields.Many2one(
"agreement.stage",
string="Stage",
Expand All @@ -23,12 +23,12 @@ def _default_stage_id(self):
)
agreement_id = fields.Many2one("agreement", string="Agreement", ondelete="cascade")
active = fields.Boolean(
'Active',
"Active",
default=True,
help="If unchecked, it will allow you to hide this service profile without removing it.",
)

notes = fields.Text('Notes')
notes = fields.Text("Notes")
product_id = fields.Many2one(
"product.template",
"Service Product",
Expand All @@ -39,7 +39,7 @@ def _default_stage_id(self):
"Service Product Variant",
domain="[('is_serviceprofile', '=', True), ('type', '=', 'service')]",
)
use_product_variant = fields.Boolean('Use Product Variant', default=False)
use_product_variant = fields.Boolean("Use Product Variant", default=False)
partner_id = fields.Many2one(related="agreement_id.partner_id", string="Partner")

# Used for Kanban grouped_by view
Expand Down

0 comments on commit 4978185

Please sign in to comment.