- APPS
- Estimate Sales Margin - Timesheets 19.0
| Lines of Code | 348 |
| Technical name | viin_estimate_sale_timesheet_margin |
| License | OPL-1 |
| Website | https://viindoo.com/apps/modules/19.0/viin_estimate_sale_timesheet_margin |
| Required Apps | Invoicing (account) Project (project) Discuss (mail) Employees (hr) Sales (sale_management) |
| Included Dependencies | Estimate Sale Estimate Product Cost Access Product Cost Access - Sales Margin Estimate Sales Margin |
The estimated margin until work starts, the real margin as hours come in
For service businesses that price projects with estimates and bill the hours worked
Quotation lines from estimates keep the estimate cost until timesheets are recorded on them
Odoo Community · Viindoo Cloud · License OPL-1 · English, Vietnamese
Extends Estimate Sales Margin so that services delivered by timesheets take the cost of the time worked.
What changes for your team
The order keeps the cost you estimated until work starts
Today a confirmed service order can show a margin that is neither the one you estimated nor the one you will make.
→ A line made from an estimate keeps the cost of its estimate line through confirmation and while no hours are recorded.
The margin turns real with the first hours
Today someone compares timesheets with orders and retypes costs, or the margin keeps the estimate forever.
→ Once hours are recorded, the line costs the time worked, at the hourly cost of the employee who recorded it. Margin and Margin (%) follow.
Consultants record time, nobody retypes a cost
Today a margin that depends on hours can mean an extra step for the people doing the work.
→ Consultants record hours on the project in their timesheet, as usual and without any right to read costs; the cost of the line follows each entry.
Features
Before work starts
- ✓ Estimated cost kept when the quotation is confirmed
- ✓ Estimated cost kept while no hours are recorded
As hours come in
- ✓ Cost of the time recorded, from the first hours
- ✓ Hourly cost of the employee who records the time
- ✓ Margin and Margin (%) updated with each timesheet entry
Clear boundaries
- ✓ Service products with a cost keep the estimated cost
- ✓ The estimate keeps its own cost once hours replace it on the order
Built for daily use
- ✓ Recording time needs no right to read costs
- ✓ No setting, menu or screen to learn
- ✓ Cost and Margin visible only with the Product Cost access right
Ready on day one
Installs itself, updates orders with hours
It comes with Estimate Sales Margin, Timesheets and the Margins option of Sales. Orders from estimates that already have hours take the cost of that time; a cost somebody typed by hand stays.
What the administrator checks first
An hourly cost on the employees who record time, service products without a cost, and Product Cost Access - Readonly for the people who read margins.
Before you decide
Where does the cost after hours come from?
From the timesheets: the hourly cost of the employee who records the time, the same cost Sales shows for any service costed by timesheets. The module decides when that cost replaces the estimate; it computes no cost of its own.
Our service products carry a cost. Does it help?
Those lines keep the estimated cost after hours are recorded, because Odoo counts the product cost for such a service, not its timesheets. Give the service product no cost, then create the quotation, and the line follows the time.
Who sees the cost and the margin?
Only users with Product Cost Access - Readonly. Consultants record their hours with the usual Timesheets right and see no cost.
What about orders that already have hours?
On installation, lines made from estimates that already have hours take the cost of that time. A line whose cost somebody typed by hand keeps it.
What does it take to install and run?
Estimate Sales Margin, Timesheets and the Margins option of 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 - Timesheets
Audience: sales managers and cost accountants who read the cost and the margin of quotations made from estimates for services delivered by timesheets, project managers and consultants who record the time, and the administrator who installs the apps.
Note
Extends Estimate Sales Margin - see its documentation.
Estimate Sales Margin - Timesheets handles the quotation lines made from an estimate for a service delivered by timesheets. Such a line keeps the cost of its estimate line until time is recorded on it, then takes the cost of the time recorded, as Odoo computes it. The Margin of the quotation is the estimated margin before any work is done and the margin of the work done afterwards.
Overview
| Step | What happens | Where | Who acts |
|---|---|---|---|
| 1 | The module is installed together with Estimate Sales Margin and the Timesheets margin of Sales. Orders that already have time recorded on their lines get the cost of that time. | Apps | Administrator |
| 2 | The quotation made from the estimate is confirmed. The line of the service keeps the cost of its estimate line. | Sales ‣ Orders ‣ Quotations | Salesperson |
| 3 | Time is recorded on the project that delivers the line. The Delivered quantity follows the hours. | Project, then timesheets | Project manager, consultant |
| 4 | The Cost of the line becomes the cost of the time recorded per hour. Margin and Margin (%) follow. | 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 |
| Sales manager or cost accountant | Reads the cost and the margin of quotations. | Sales: Administrator, and Product Cost: Product Cost Access - Readonly |
| Project manager | Makes the project that delivers the service line. | Project: Administrator |
| Consultant | Records the hours worked. | Timesheets: User: own timesheets only |
Setup (for the Administrator)
Install the apps
Estimate Sales Margin - Timesheets is installed automatically when Estimate Sales Margin and the Timesheets margin of Sales are both installed.
- Open Apps.
- Install Estimate Sales Margin and Sales, then enable Margins in the Sales settings and install Timesheets, if they are not in use yet.
Orders that already have time recorded on a line made from an estimate get the cost of that time when the module is installed. A line whose cost somebody typed by hand keeps that cost.
Give the right to read costs
See the setup of Estimate Sales Margin: select Product Cost Access - Readonly in the Product Cost section of the user's Access Rights tab.
Sales manager and cost accountant: read the cost of a service
Read the cost before and after the time recorded
- Open Sales ‣ Orders ‣ Quotations and select the confirmed quotation made from an estimate.
- In the Order Lines tab, click the column selector at the right of the header and tick Cost, Margin and Margin (%).
While no time is recorded, the Delivered quantity is 0 and the Cost is the cost of the estimate line.
Once hours are recorded on the line, the Delivered quantity shows them and the Cost is the cost of the time per hour, which Odoo takes from the hourly cost of the employee who recorded it. In the capture below, 10 hours are recorded and the cost of the line goes from 25.00 to 20.00 an hour.
Project manager and consultant: record the time
The project manager makes the project that delivers the service line and links it to that line of the quotation. The consultant records hours on this project in their timesheet, as in Timesheets. The quotation then shows the project and the hours recorded in its buttons, and the cost of the line follows the hours without any other action.
Limits and ways out
| Limit | Way out |
|---|---|
| The product of the service has a cost: the line keeps the cost of its estimate line after time is recorded, because Odoo counts the cost of the product for such a service, not the cost of its timesheets. | Give the service product no cost, then create the quotation: the cost of the line follows the time recorded. |
| Once time is recorded, the line no longer shows the estimated cost. | Read the estimated cost on the estimate: the quotation does not change it. |
| A cost typed by hand on a line before the installation keeps its value when the module is installed. | Type the cost again, or create a new quotation from the estimate. |
| A line that does not come from an estimate, or that was changed to another product or unit, takes the cost Odoo computes. | See the limits of Estimate Sales Margin. |
Troubleshooting
- The cost of the line does not change when I record time. The product of the service has a cost, or the time is not recorded on the project linked to this line. See the limits.
- The Cost, Margin and Margin (%) columns are not in the column selector. The person has no Product Cost Access - Readonly right.
FAQ
Does the cost change when I confirm the quotation? No. It stays the estimated cost until time is recorded.
Whose cost counts for the time? The hourly cost of the employee who recorded it.
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.