Odoo Community
Viindoo Cloud
The estimated margin until goods leave, the real margin once they do
For companies that price stocked goods with estimates and deliver them from inventory
Quotation lines from estimates keep the estimate cost until their goods are delivered
Odoo Community · Viindoo Cloud · License OPL-1 · English, Vietnamese
Extends Estimate Sales Margin so that lines of stocked goods take the real cost once delivered.
What changes for your team
The order keeps the cost you estimated until goods leave
Today a confirmed order of stocked goods 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 nothing is delivered.
The margin turns real at the first delivery
Today someone compares delivered orders with the stock valuation and retypes costs, or the margin report keeps the estimate forever.
→ From the first delivery the line costs the stock value of the goods delivered, for products valued at average cost or FIFO. A kit whose category uses average cost or FIFO takes the value of its components; a delivery returned in full brings the estimated cost back.
Stock keepers deliver without seeing your costs
Today a cost that moves with deliveries can tempt you to give cost rights to everyone who touches the order.
→ Salespeople confirm and stock keepers deliver as usual; only people with the Product Cost access right see Cost and Margin.
Features
Before delivery
- ✓ Estimated cost kept when the quotation is confirmed
- ✓ Estimated cost kept while nothing is delivered
After delivery
- ✓ Stock value of the goods delivered, from the first delivery
- ✓ Average cost (AVCO) and FIFO products
- ✓ Kits valued at average cost or FIFO take the stock value of their delivered components
- ✓ A delivery returned in full gives the estimated cost back
Clear boundaries
- ✓ Standard-price products keep the estimated cost after delivery
- ✓ Goods not tracked in stock keep the estimated cost
- ✓ A partly delivered line costs the rest at the current product cost
Built for daily use
- ✓ Delivering needs no right to read costs
- ✓ No setting, menu or screen to learn
- ✓ Later changes to the estimate leave delivered orders as they are
Ready on day one
Installs itself, updates past deliveries
It comes with Estimate Sales Margin, Inventory and the Margins option of Sales. Orders from estimates already delivered take the stock value of their goods; a cost somebody typed by hand stays.
What the administrator checks first
Products valued at average cost or FIFO, so deliveries carry a stock value, and Product Cost Access - Readonly for the people who read margins.
Before you decide
Where does the cost after delivery come from?
From the inventory valuation of the goods delivered: the same cost Sales shows for any delivered goods. The module decides when that cost replaces the estimate; it computes no cost of its own.
Our products use a standard price. Does it help?
Those lines keep the estimated cost after delivery, because delivered goods at standard price carry no cost of their own. Set the product category to average cost or FIFO to take the stock value.
What happens with a partial delivery?
From the first delivery the delivered goods cost their stock value and the rest of the line costs the current product cost, not the estimate. Type the cost on the line if the estimate must apply to the whole line.
Who sees the cost and the margin?
Only users with Product Cost Access - Readonly. Salespeople and stock keepers without it confirm and deliver the order as usual.
What does it take to install and run?
Estimate Sales Margin, Inventory 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.
Estimate Sales Margin - Inventory
Audience: sales managers and cost accountants who read the cost and the margin of quotations made from estimates once their goods are delivered, and the administrator who installs the apps.
Note
Extends Estimate Sales Margin - see its documentation. That guide covers the estimated cost, the right to read costs and the cost typed by hand; this one covers what changes when goods are delivered.
A quotation line made from an estimate costs what its estimate line costs, until goods kept in stock are delivered on it. From the first delivery the Cost of the line is the stock value of the goods delivered, the same cost Sales shows for any delivered goods. The Margin of the line and of the order follows it.
Overview
| Step |
What happens |
Where |
Who acts |
| 1 |
The module is installed together with Estimate Sales Margin and the Margins app of Sales. Orders already delivered take the stock value of their goods. |
Apps |
Administrator |
| 2 |
The quotation is confirmed: the Cost stays the estimated cost. |
Sales ‣ Orders ‣ Quotations |
Salesperson |
| 3 |
Goods are delivered: the Cost becomes the stock value of the goods delivered. |
Inventory |
Stock keeper |
| 4 |
The Cost and Margin of the lines are read. |
Order lines |
Sales manager, cost accountant |
| Role |
What they do |
Access right to assign |
| Administrator |
Installs the apps. |
Role: Administrator |
| Sales manager or cost accountant |
Reads the cost and the margin of quotations. |
Product Cost: Product Cost Access - Readonly |
Setup (for the Administrator)
Estimate Sales Margin - Inventory is installed automatically when Estimate Sales Margin and the Margins app of Sales are both installed. There is nothing to configure.
- Open Apps.
- Install Estimate and Sales, then enable Margins in the Sales settings, if they are not in use yet.
Orders whose goods were delivered before the installation take the stock value of those goods. A cost typed by hand on a line keeps its value.
Sales manager and cost accountant: read the cost after delivery
- Open Sales ‣ Orders ‣ Quotations and select a quotation created from an estimate and delivered.
- In the Order Lines tab, click the column selector at the right of the header and tick Cost, Margin and Margin (%).
What the cost does
- Before delivery, and after the quotation is confirmed, it is the cost of the estimate line.
- From the first delivery, even partial, it is the stock value of the goods delivered, for products valued at Average Cost (AVCO) or First In First Out (FIFO).
- When the whole delivery is returned, the line takes its estimated cost back.
- A change of the estimate after the quotation was created never changes it.
Limits and ways out
| Limit |
Way out |
| A product whose category has the Standard Price costing method keeps the estimated cost after delivery, because Odoo gives its delivered goods no cost of their own. |
Set the Costing Method of the product category to Average Cost (AVCO) or First In First Out (FIFO): the line then takes the stock value. Or type the cost on the line. |
| Goods not tracked in stock keep the estimated cost after delivery. |
Track the product in stock, or type the cost on the line. |
| The cost follows Odoo after delivery: a cost typed on the line is replaced by the stock value the next time goods are delivered on it. |
Type the cost again after that delivery. |
| A change of the estimate does not reach a delivered quotation. |
Type the cost on the line, or create a new quotation from the estimate. |
| People without the right to read costs see no cost and no margin. |
Give them Product Cost Access - Readonly in Settings ‣ Users & Companies ‣ Users. |
Troubleshooting
- The cost of a delivered line is still the estimated cost. The product is valued at standard cost, or is not tracked in stock. See the limits.
- The cost went back to the estimated cost. The whole delivery was returned.
- No Cost column in the column selector. The person has no Product Cost Access - Readonly right.
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.