Browse Source
Merge pull request #158 from Tecnativa/11.0-FIX-contract-pricelist_name
[FIX] contract: Invalid pricelist field name
pull/152/head
Pedro M. Baeza
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
contract/__manifest__.py
-
contract/models/res_partner.py
|
@ -8,7 +8,7 @@ |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
'name': 'Contracts Management - Recurring', |
|
|
'name': 'Contracts Management - Recurring', |
|
|
'version': '11.0.1.4.2', |
|
|
|
|
|
|
|
|
'version': '11.0.1.4.3', |
|
|
'category': 'Contract Management', |
|
|
'category': 'Contract Management', |
|
|
'license': 'AGPL-3', |
|
|
'license': 'AGPL-3', |
|
|
'author': "OpenERP SA, " |
|
|
'author': "OpenERP SA, " |
|
|
|
@ -39,7 +39,7 @@ class ResPartner(models.Model): |
|
|
search_default_partner_id=self.id, |
|
|
search_default_partner_id=self.id, |
|
|
default_partner_id=self.id, |
|
|
default_partner_id=self.id, |
|
|
default_recurring_invoices=True, |
|
|
default_recurring_invoices=True, |
|
|
default_pricelist_id=self.pricelist_id.id, |
|
|
|
|
|
|
|
|
default_pricelist_id=self.property_product_pricelist.id, |
|
|
), |
|
|
), |
|
|
) |
|
|
) |
|
|
return res |
|
|
return res |