mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] agreement_serviceprofile
This commit is contained in:
committed by
Patrick Wilson
parent
58048a73cc
commit
f9e22e386e
@@ -26,7 +26,10 @@ class AgreementServiceProfile(models.Model):
|
||||
|
||||
notes = fields.Text(string="Notes")
|
||||
product_id = fields.Many2one('product.template', 'Service',
|
||||
domain="[('type', '=', 'service')]")
|
||||
domain="[('type', '=', 'service')]",
|
||||
required=True)
|
||||
partner_id = fields.Many2one(related='agreement_id.partner_id',
|
||||
string='Partner')
|
||||
|
||||
# Used for Kanban grouped_by view
|
||||
@api.model
|
||||
|
||||
Reference in New Issue
Block a user