diff --git a/product_warranty/README.rst b/product_warranty/README.rst index aba2e4b2..ebe7a63c 100644 --- a/product_warranty/README.rst +++ b/product_warranty/README.rst @@ -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 diff --git a/product_warranty/models/product_supplierinfo.py b/product_warranty/models/product_supplierinfo.py index 3139fc66..937eb284 100644 --- a/product_warranty/models/product_supplierinfo.py +++ b/product_warranty/models/product_supplierinfo.py @@ -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