Hello,
I would like to introduce a comment in a shipping note. It's not enough to indicate quantities. I need to illustrate with the nr of packages and weight in the document...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I would like to introduce a comment in a shipping note. It's not enough to indicate quantities. I need to illustrate with the nr of packages and weight in the document...
I have well tried to adapt with studio but the text to complete is fixed without possibility to integrate my own comments each time I do a delivery note. My question is really simple. I want to add a comment on each delivery note I do
Add a custom note on the delivery (shipping) document that includes:
Example:
csharp
CopyEdit
Shipment includes 5 packages. Total weight: 72.5 kg. Handle with care – perishable goods.
This note will appear in the printed delivery slip if configured.
If you want Odoo to automatically calculate the number of packages and total weight:
python
CopyEdit
f"Shipment includes {len(record.package_ids)} packages.\nTotal weight: {record.shipping_weight} kg."
(You can adjust this based on how your packaging is tracked.)
The printed shipping document will now include a clear, human-readable note like:
csharp
CopyEdit
Shipment includes 3 packages. Total weight: 45.8 kg. Fragile items included – handle with care.
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se