[FIX] typo on comment being refered to an unexistent field.

This commit is contained in:
Nhomar Hernandez
2015-08-05 02:54:26 -05:00
committed by Lois Suarez
parent 54f27989fd
commit 8710c7a1c2
2 changed files with 3 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ Product Warranty
Extends the product warranty management with warranty details on product /
supplier relation:
* supplier warranty duration
* Supplier warranty duration
* Set default return address for company (if different from standard one)
* Whether to return product to company, supplier, other

View File

@@ -46,13 +46,8 @@ class ProductSupplierInfo(models.Model):
@api.one
@api.depends('warranty_return_partner')
def _compute_warranty_return_address(self):
""" Method to return the partner delivery address or if none,
the default address
dedicated_delivery_address stand for the case a new type of
address more particularly dedicated to return delivery would be
implemented.
""" Method to return the partner delivery address or if none, the
default address
"""
return_partner = self.warranty_return_partner
partner_id = self.company_id.partner_id.id