mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[ADD] images to product_warranty
[UPDATE] product_warranty infos [ADD] other in warranty return partner list
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user