'sale_avg_price':fields.function(_product_margin,method=True,type='float',string='Avg. Unit Price',multi='sale',help="Avg. Price in Customer Invoices)"),
'purchase_avg_price':fields.function(_product_margin,method=True,type='float',string='Avg. Unit Price',multi='purchase',help="Avg. Price in Supplier Invoices "),
'sale_num_invoiced':fields.function(_product_margin,method=True,type='float',string='# Invoiced',multi='sale',help="Sum of Quantity in Customer Invoices"),
'purchase_num_invoiced':fields.function(_product_margin,method=True,type='float',string='# Invoiced',multi='purchase',help="Sum of Quantity in Supplier Invoices"),
'sales_gap':fields.function(_product_margin,method=True,type='float',string='Sales Gap',multi='sale',help="Excepted Sale - Turn Over"),
'purchase_gap':fields.function(_product_margin,method=True,type='float',string='Purchase Gap',multi='purchase',help="Normal Cost - Total Cost"),
'turnover':fields.function(_product_margin,method=True,type='float',string='Turnover',multi='sale',help="Sum of Multification of Invoice price and quantity of Customer Invoices"),
'total_cost':fields.function(_product_margin,method=True,type='float',string='Total Cost',multi='purchase',help="Sum of Multification of Invoice price and quantity of Supplier Invoices "),
'sale_expected':fields.function(_product_margin,method=True,type='float',string='Expected Sale',multi='sale',help="Sum of Multification of Sale Catalog price and quantity of Customer Invoices"),
'normal_cost':fields.function(_product_margin,method=True,type='float',string='Normal Cost',multi='purchase',help="Sum of Multification of Cost price and quantity of Supplier Invoices"),
'total_margin':fields.function(_product_margin,method=True,type='float',string='Total Margin',multi='total',help="Turnorder - Total Cost"),
'expected_margin':fields.function(_product_margin,method=True,type='float',string='Expected Margin',multi='total',help="Excepted Sale - Normal Cost"),