Maxime Chambreuil
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
agreement_serviceprofile/models/agreement_serviceprofile.py
|
@ -25,7 +25,7 @@ class AgreementServiceProfile(models.Model): |
|
|
" without removing it.") |
|
|
" without removing it.") |
|
|
|
|
|
|
|
|
notes = fields.Text(string="Notes") |
|
|
notes = fields.Text(string="Notes") |
|
|
product_id = fields.Many2one('product.template', 'Service', |
|
|
|
|
|
|
|
|
product_id = fields.Many2one('product.template', 'Service Product', |
|
|
domain="[('type', '=', 'service')]", |
|
|
domain="[('type', '=', 'service')]", |
|
|
required=True) |
|
|
required=True) |
|
|
partner_id = fields.Many2one(related='agreement_id.partner_id', |
|
|
partner_id = fields.Many2one(related='agreement_id.partner_id', |
|
|