From 519e57a5325f84751ecd6015975c0e568d497002 Mon Sep 17 00:00:00 2001 From: Lois Suarez Date: Wed, 11 Aug 2021 09:46:25 +0100 Subject: [PATCH] [IMP] product_warranty: black, isort, prettier --- product_warranty/models/product_supplierinfo.py | 2 +- setup/product_warranty/setup.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 setup/product_warranty/setup.py diff --git a/product_warranty/models/product_supplierinfo.py b/product_warranty/models/product_supplierinfo.py index e9c3dd64..070b7606 100644 --- a/product_warranty/models/product_supplierinfo.py +++ b/product_warranty/models/product_supplierinfo.py @@ -18,7 +18,7 @@ class ProductSupplierInfo(models.Model): @api.depends("warranty_return_partner") def _compute_warranty_return_address(self): - """ Method to return the partner delivery address or if none, the + """Method to return the partner delivery address or if none, the default address """ for record in self: diff --git a/setup/product_warranty/setup.py b/setup/product_warranty/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_warranty/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)