[FIX] agreement_serviceprofile: Github Issue #370

[UPD] Update agreement_serviceprofile.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_serviceprofile
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/

Translated using Weblate (French)

Currently translated at 100.0% (27 of 27 strings)

Translation: contract-12.0/contract-12.0-agreement_serviceprofile
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/fr/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (27 of 27 strings)

Translation: contract-12.0/contract-12.0-agreement_serviceprofile
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_serviceprofile/zh_CN/
This commit is contained in:
Maxime Chambreuil
2019-09-05 12:17:51 -05:00
committed by Patrick Wilson
parent 8b06cf4a90
commit b9cd46f28d
9 changed files with 160 additions and 25 deletions

View File

@@ -26,7 +26,8 @@ class AgreementServiceProfile(models.Model):
notes = fields.Text(string="Notes")
product_id = fields.Many2one('product.template', 'Service Product',
domain="[('type', '=', 'service')]",
domain="[('is_serviceprofile', '=', True), "
"('type', '=', 'service')]",
required=True)
partner_id = fields.Many2one(related='agreement_id.partner_id',
string='Partner')