mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
Add Icon Field in pms_service
This commit is contained in:
@@ -36,3 +36,6 @@ class PmsService(models.Model):
|
|||||||
vendor_id = fields.Many2one(
|
vendor_id = fields.Many2one(
|
||||||
string="Vendor", required=True, comodel_name="res.partner", ondelete="restrict"
|
string="Vendor", required=True, comodel_name="res.partner", ondelete="restrict"
|
||||||
)
|
)
|
||||||
|
icon = fields.Char(
|
||||||
|
string="Website Icon", help="Set Icon name from https://fontawesome.com/"
|
||||||
|
)
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
</group>
|
</group>
|
||||||
<group id="main-right">
|
<group id="main-right">
|
||||||
<field name="sequence" />
|
<field name="sequence" />
|
||||||
|
<field name="icon" />
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
<notebook />
|
<notebook />
|
||||||
|
|||||||
Reference in New Issue
Block a user