diff --git a/agreement_serviceprofile/models/agreement_serviceprofile.py b/agreement_serviceprofile/models/agreement_serviceprofile.py index acd3ed3d..9e216c1f 100644 --- a/agreement_serviceprofile/models/agreement_serviceprofile.py +++ b/agreement_serviceprofile/models/agreement_serviceprofile.py @@ -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", @@ -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", @@ -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