[ADD] images to product_warranty

[UPDATE] product_warranty infos
[ADD] other in warranty return partner list
This commit is contained in:
manu
2011-10-13 11:10:00 +02:00
parent 8281c6ff72
commit 9832e760e4
4 changed files with 9 additions and 2 deletions

View File

@@ -26,6 +26,7 @@
'version': '1.0',
'category': 'Generic Modules/CRM & SRM',
'description': """
Akretion - Emmanuel Samyn
Add some fields to CRM claim : canal, spirit
""",
'author': 'Akretion',

View File

@@ -26,7 +26,10 @@
'version': '1.0',
'category': 'Generic Modules/Product',
'description': """
Akretion - Emmanuel Samyn
Extend the product warranty management with warranty details on product / supplier relation
* supplier warranty duration
* return product to company, supplier, brand, other
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
@@ -40,6 +43,7 @@ Extend the product warranty management with warranty details on product / suppli
'installable': True,
'active': False,
'certificate' : '',
'images': ['images/product_warranty.png'],
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

@@ -30,11 +30,13 @@ class product_supplierinfo(osv.osv):
return [
('company','Company'),
('supplier','Supplier'),
('brand','Brand manufacturer'),]
('brand','Brand manufacturer'),
('other','Other'),]
else:
return [
('company','Company'),
('brand','Brand manufacturer'),]
('brand','Brand manufacturer'),
('other','Other'),]
_columns = {
"warranty_duration" : fields.float('Warranty', help="Warranty in month for this product/supplier relation. Only for company/supplier relation (purchase order) ; the customer/company relation (sale order) always use the product main warranty field"),