This is the documentation for older versions of Odoo (formerly OpenERP).

See the new Odoo user documentation.

See the new Odoo technical documentation.

Keep Track of your Margins

For every company, keeping a clear sight on and a good control of margins is crucial. Even if you have a good sales level, it will not guarantee company profitability if margins are not high enough. OpenERP provides a number of methods allowing you to monitor your sales margins. The main ones are:

  • Margins on a sales order,

  • Margins by product,

  • Margins by project,

  • Using pricelists.

Margins on Sales Orders

If you want to check your margins on sales orders, you can install the sale_margin module by selecting Margins in Sales Orders for installation in the Reconfigure wizard. This will add margins calculated on each order line and on the order total.

/doc_static/6.0/_images/sale_margin.png

An order with the module sale_margin

The margin on each line is defined as the quantity sold multiplied by the sales price for the customer less the cost price of the products. By default, products are managed using standard price in OpenERP (cost price fixed manually and reviewed once per year). You can change that to Average Price, meaning that the product cost fluctuates with purchases from suppliers. After product receipt you can include fixed costs, such as delivery costs, in the cost of each product.

OpenERP supports a third method of updating the cost price of products. This is through the button Update on the product form which lets you automatically recalculate the cost price for the selected product. The cost price is calculated from the raw materials and the operations carried out (if the products have been manufactured internally, so that you have set their costs).

Margins by Product

To track margins by product, install the module product_margin. Once the module is installed you can see the margins by product by using the menu Sales ‣ Products ‣ Product Margins.

When you have clicked the menu option concerned, OpenERP asks for an analysis period and the state of invoices (draft, open, paid). If no period is given, OpenERP will calculate margins on all of the operations without restriction. By default, however, OpenERP proposes a period of the last 12 months for analysis.

You can also filter the analysis on certain types of invoice:

  • All invoices, including unvalidated draft invoices,

  • All open and/or paid invoices,

  • Paid invoices only.

/doc_static/6.0/_images/product_margin_tree.png

Product Margins

You then get a margin analysis table. The following fields are displayed for the sales of each product:

  • Avg. Unit Price: the average unit sales price,

  • Catalog Price: the list price based on this product,

  • # Invoiced: the number of sold products that have been invoiced,

  • Sales Gap: the difference between the revenue calculated from list price and volume, and the actual sales,

  • Turnover: the actual sales revenue for the product selected,

  • Expected Sale: the number of products sold multiplied by the list price.

/doc_static/6.0/_images/product_margin_form.png

Margin Details for a Given Product

The following fields are given by product for purchases:

  • Avg. Unit price : the average unit purchase price,

  • Standard price : the standard cost price of the product for the company,

  • # Invoiced : the number of purchased products,

  • Purchase Gap: the difference between the total actual cost and the standard cost multiplied by the number of units purchased,

  • Total Cost: the total cost of purchases for the product under consideration,

  • Normal Cost: the number of products sold multiplied by the standard cost price.

The following fields are given by product for margins:

  • Total Margin,

  • Expected Margin,

  • Total Margin in percent,

  • Expected Margin in percent.

Margins by Project

To manage margins by project, you should install the analytical accounts with management by task. The use of these accounts is described in Analytic Accounts.

Install the module account_analytic_analysis and all of its dependencies. This module adds a tab on the analytic account form to handle the different margins in an analytic account representing a project or a case, and several new reports on those accounts.

/doc_static/6.0/_images/account_analytic_analysis_form.png

Detail of margins for a case

Start by opening a project's analytic account through Project ‣ Billing ‣ Overpassed Accounts and selecting one of them. In the form's Analysis summary tab you will find the following information:

  • The total costs for the analytic account,

  • The total amount of invoiced sales,

  • The number of hours worked,

  • The number of hours remaining to be worked,

  • The remaining income,

  • The theoretical income (hours worked multiplied by their sale price),

  • The number of hours invoiced,

  • The real income per hour,

  • The real margin,

  • The theoretical margin taking into account everything yet to be invoiced,

  • The real margin rate in percent,

  • The last invoicing date,

  • The last worked hours,

  • The number of hours remaining to be invoiced,

  • The amount remaining to be invoiced.

For detailed information on the analytic account you can use any of the several reports available in the toolbar to the right.