Document Weight
Weights on quotations and invoices
Prints the net weight, the gross weight and the volume of the goods on the quotation and on the customer invoice: under the name of each product, and in total below the amounts.
The values are estimates: the quantity of the line, converted to the unit of measure of the product, multiplied by the weight and the volume of the product. The estimated gross weight of each line is also available as an optional column in the lines of the quotation, the sales order and the customer invoice, and a company option prints only the gross weight on the documents. Lines whose product has no weight and no volume print nothing, and the totals block is left out when all the totals are 0.
The net weight is the l10n_ro_net_weight field of the product. The module declares it exactly as l10n_ro_stock and l10n_ro_stock_base do, so it works with either of them or without them; if one of them is installed the field is the same, and shown only once on the product form.
It does not change deltatech_invoice_weight, which stores the totals on the document.
Open Sales ‣ Configuration ‣ Settings and look for Weights on documents:
- Weights on quotations (on by default): the quotation / sales order report.
- Weights on invoices (off by default): the customer invoice.
- Only the gross weight (off by default): on the printed documents shows only the gross weight, per line and in total, without the net weight and the volume.
- Copy weights to all variants (off by default): when the weight, the volume or the net weight is set on a product template, it is written on all its variants, and on the variants created on demand (dynamic attributes), for example when the product is added to a quotation line through the product configurator. Odoo already writes the weight and the volume of a template on all its variants; this option adds the net weight and the variants created on demand.
The print options are set per company.
In the lines of a quotation, sales order or customer invoice, the Gross weight column is available in the optional columns selector (the icon at the right of the header). It shows the estimated gross weight of the line quantity, so it can be used for the transport estimate before printing.
20.0.1.1.0
- New: the estimated gross weight of the line in the list of lines of the quotation / sales order and of the customer invoice (optional column, hidden by default: enable it from the column selector).
- New: setting Only the gross weight, per company. On the printed quotation, sales order and invoice only the gross weight is shown (per line and in total), without the net weight and the volume.
20.0.1.0.1
- Fix: the module could not be installed together with
l10n_ro_invoice_report(the invoice report line description is rebuilt there). The invoice line block is now added inside the description cell instead of after a fixedspan.
20.0.1.0.0
- Migration to 20.0 from 19.0. The quotation and invoice reports anchor on the new
labelfield of the line, and the option is read with the typedir.config_parameterAPI of Odoo 20 (get_bool). - Odoo 20 already writes the weight and the volume of a template on all its variants, so "Copy weights to all variants" now adds only the net weight and the variants created on demand; tests and texts adjusted.
19.0.1.0.0
- New module. Moves the weight, volume and net weight lines of the quotation report and the copy of these values to the variants out of
terrabit_electromax(task #1601), and adds the same on the customer invoice. Quotations and invoices have their own option in the settings, and the copy to variants is optional.
Need help getting started?
Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.
Questions about this module? Write to us — the developers who build it will answer.
More apps by Terrabit
Other modules from the same publisher, built to work together. All apps →
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 335 |
| Technical Name |
deltatech_document_weight |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
Odoo Proprietary License v1.0 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.
Please log in to comment on this module