- APPS
- Estimate Sales Margin 19.0
| Lines of Code | 511 |
| Technical name | viin_estimate_sale_margin |
| License | OPL-1 |
| Website | https://viindoo.com/apps/modules/19.0/viin_estimate_sale_margin |
| Required Apps | Invoicing (account) Discuss (mail) Sales (sale_management) |
| Included Dependencies | Estimate Sale Estimate Product Cost Access Product Cost Access - Sales Margin |
| Extensions | Estimate Sales Margin - Timesheets Estimate Sales Margin - Supplier-Based Pricelist Estimate Sales Margin - Inventory |
The margin you quote is the margin you estimated
For companies that price their work with estimates and sell it through quotations
The Cost of a quotation made from an estimate is the cost of the estimate
Odoo Community · Viindoo Cloud · License OPL-1 · English, Vietnamese
Extends Estimate Sale so that the quotations it creates carry the cost of the estimate.
What changes for your team
Every line arrives with the cost you priced
Today the cost worked out in the estimate stays there: the quotation shows a margin computed from the current product cost, and lump-sum or percentage lines carry no useful cost at all.
→ Create the quotation from the estimate: each line takes the cost of its estimate line, with breakdowns, percentage and sub-estimate lines included, converted to the currency of the quotation.
The margin holds after the deal is signed
Today a revised estimate, a new quote or a confirmed order can quietly change the margin you agreed on.
→ The cost is settled when the quotation is created. It stays through confirmation and delivery for services delivered by hand and generic estimate lines, and later changes to the estimate leave existing orders as they are.
Salespeople quote without seeing your costs
Today, either everyone who opens a quotation sees what it costs, or the margin check happens outside the system.
→ Salespeople create and confirm quotations from estimates as usual; only the people with the Product Cost access right see Cost and Margin.
Features
Quoting
- ✓ Each quotation line takes the cost of its estimate line
- ✓ Cost breakdowns, percentage and sub-estimate lines included
- ✓ A line split by taxes shares its cost by amount
- ✓ Converted to the quotation currency at the estimate pricing date
After the quote
- ✓ Cost settled when the quotation is created
- ✓ Kept on confirmation and on manual-delivery services
- ✓ Kept when the estimate is changed, quoted again or deleted
- ✓ A cost typed by hand on a line is kept
Clear boundaries
- ✓ A line changed to another product or unit takes the cost Odoo computes
- ✓ Lines added by hand and copied quotations take the cost Odoo computes
Built for daily use
- ✓ Cost and margin visible only with the Product Cost right
- ✓ No setting, menu or screen to learn
- ✓ Orders made from estimates before installation get their estimate cost
Ready on day one
Installs itself, fixes the past
It comes with Estimate Sale and Margins in Sales. Orders already made from estimates get the cost of their estimate line; a cost somebody typed by hand stays.
What the administrator sets first
Give Product Cost Access - Readonly to the people who read costs and margins. Everyone else keeps quoting without seeing them.
Extend it
Estimate Sales Margin - Inventory
Lines of stocked goods keep the estimated cost until delivery, then take the real cost of the delivered goods.
Estimate Sales Margin - Timesheets
Service lines keep the estimated cost until timesheets are recorded on them, then take the cost of the time spent.
Estimate Sales Margin - Supplier-Based Pricelist
Lines from estimates keep the estimated cost when a pricelist rule is based on the supplier price.
Before you decide
If we revise the estimate, does the quotation follow?
No. The cost is settled when the quotation is created, so signed orders never move. Create a new quotation from the revised estimate to take the new cost, or type the cost on the line.
Does it read the real cost of what we deliver?
Not on its own: it keeps the estimated cost. Add the Inventory or Timesheets extension above to take the real cost of delivered goods or recorded time.
Who sees the cost and the margin?
Only users with Product Cost Access - Readonly. Without it, a person sees no cost and no margin on any quotation, whether it comes from an estimate or not.
Which currency is the cost in?
The currency of the quotation, converted at the pricing date of the estimate. A quotation moved to another currency keeps that rate.
What does it take to install and run?
Estimate Sale and Margins in Sales. It installs by itself with them and has nothing to configure. Data stays in your database; it needs no outside service, extra Python package or server program.
Try it, then ask us
Open the live demo with the Live Preview button at the top of this page, and read the step-by-step guide in the Documentation tab.
Pre-sales & partnership
viindoo.com/contactusTechnical support
viindoo.com/ticketEstimate Sales Margin
Audience: salespeople who create and confirm quotations from estimates, sales managers and cost accountants who read the cost and the margin of those quotations, and the administrator who installs the apps and gives people the right to read costs.
Note
Extends Estimate Sale - see its documentation.
Estimate Sales Margin makes the Cost of a quotation line created from an estimate the cost of its estimate line. The Margin that Sales shows on the quotation is then the margin that was estimated, instead of a margin computed from the current cost of the products.
Overview
| Step | What happens | Where | Who acts |
|---|---|---|---|
| 1 | The module is installed together with Estimate Sale and the Margins app of Sales. Orders already made from estimates get their estimate cost. | Apps | Administrator |
| 2 | Create Quotation on an estimate gives each quotation line the cost of its estimate line. | Estimate, then quotation | Salesperson |
| 3 | The quotation is confirmed and its lines are delivered. The cost stays the estimated cost for the lines Odoo has no real cost for. | Sales ‣ Orders ‣ Quotations | Salesperson |
| 4 | The Cost, Margin and Margin (%) of the lines and the Margin of the order are read. | Order lines | Sales manager, cost accountant |
| Role | What they do | Access right to assign |
|---|---|---|
| Administrator | Installs the apps and gives the right to read costs. | Role: Administrator |
| Salesperson | Creates and confirms quotations from estimates. Does not see the cost and the margin. | Sales: User: Own Documents Only |
| Sales manager or cost accountant | Reads the cost and the margin of quotations, and may type the cost of a line. | Product Cost: Product Cost Access - Readonly |
Setup (for the Administrator)
Install the apps
Estimate Sales Margin is installed automatically when Estimate Sale and the Margins app of Sales are both installed. It also brings the Product Cost access for sales margin, which hides the cost and the margin of quotations from people who may not read costs.
- Open Apps.
- Install Estimate and Sales, then enable Margins in the Sales settings, if they are not in use yet.
Orders that were already made from estimates before the installation get the cost of their estimate line. A line whose cost somebody typed by hand keeps that cost.
Give the right to read costs
- Open Settings ‣ Users & Companies ‣ Users and select the person.
- In the Access Rights tab, select Product Cost Access - Readonly in the Product Cost section, then save.
Salespeople without this right still create, confirm and deliver quotations from estimates. They do not see the Cost, Margin and Margin (%) columns nor the Margin under the totals, and they cannot type a cost.
Sales manager and cost accountant: read the cost of a quotation
Read the estimated cost
- Open Sales ‣ Orders ‣ Quotations and select a quotation created from an estimate.
- In the Order Lines tab, click the column selector at the right of the header and tick Cost, Margin and Margin (%).
The Cost of a line is the cost of its estimate line, converted to the currency of the quotation at the pricing date of the estimate. A percentage line or a sub-estimate line, which the quotation sells on one line for each combination of taxes, shares its cost between those lines in proportion to their amounts.
What the cost does afterwards
- It is settled when the quotation is created. Changing the estimate afterwards, or creating another quotation from it, leaves the orders already made as they are.
- It stays when the quotation is confirmed and when the line is delivered, for a service delivered by hand and for a line sold with the generic product of the estimate, because Odoo knows no real cost of what was delivered for them.
- It stays when the estimate is deleted.
- A cost you type on a line is kept. Type it in the Cost column.
Salesperson: quote and confirm
- Create the quotation from the estimate with Create Quotation, as described in the Estimate Sale documentation.
- Check the quotation with the customer and click Confirm.
The cost of the lines follows the estimate without any action from the salesperson. Without the right to read costs, the salesperson sees no cost and no margin.
Limits and ways out
| Limit | Way out |
|---|---|
| The cost is settled when the quotation is created: a later change of the estimate does not reach it. | Create a new quotation from the estimate: it takes the cost of that moment. Or type the cost on the quotation line. |
| A quotation line changed to another product or another unit takes the cost Odoo computes for it. | Set the product and the unit of the estimate again: the estimated cost comes back. Or type the cost on the line. |
| A line added by hand on the quotation, and a copy of a quotation, take the cost Odoo computes. | Put the item on the estimate and create the quotation from it. Or type the cost on the line. |
| Once goods kept in stock are delivered, or timesheets are recorded, the line still shows the estimated cost, because this module does not read the real cost of what was delivered. | Install Estimate Sales Margin - Inventory or Estimate Sales Margin - Timesheets: the line takes the cost of the delivered goods or of the timesheets. |
| A cost typed by hand before the installation keeps its value. | Type the cost again, or create a new quotation from the estimate. |
| People without the right to read costs see no cost and no margin on any quotation, whether it comes from an estimate or not. | Give them Product Cost Access - Readonly in Settings ‣ Users & Companies ‣ Users. |
| A pricelist rule based on the supplier price does not give the cost of a line made from an estimate. | Install Estimate Sales Margin - Supplier-Based Pricelist so that the estimated cost holds under that rule. |
Troubleshooting
- The Cost, Margin and Margin (%) columns are not in the column selector. The person has no Product Cost Access - Readonly right. See the setup section.
- The cost of a line is the cost of its product. The line does not come from an estimate, was changed to another product or unit, or the quotation is a copy. See the limits.
- The cost does not follow my change of the estimate. The cost is settled when the quotation is created. Create a new quotation.
- The cost changed after delivery. Estimate Sales Margin - Inventory or Estimate Sales Margin - Timesheets is installed: the line takes the real cost of what was delivered.
FAQ
Does the cost change when I confirm the quotation? No.
Does the cost change when the estimate is cancelled or deleted? No. The quotation keeps its costs.
Which currency is the cost in? The currency of the quotation. The estimate cost is converted at the pricing date of the estimate, and a quotation moved to another currency keeps that rate.
Can a salesperson without the cost right quote an estimate? Yes. They create, confirm and deliver the quotation and see no cost.
This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software.
The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.