Module
purchase_order_secondary_unit
Describe the bug
When printing a purchase order, a non-existent field error appears.
Error
Error while render the template
AttributeError: 'res.company' object has no attribute 'hide_secondary_uom_column'
Template: purchase.report_purchaseorder_document
Path: /t/t/div/table/thead/tr/th[2]
Node:
To Reproduce
Affected versions: 18.0
Steps to reproduce the behavior:
- Go to a purchase order or create new.
- Print purchase order --> Error
Expected behavior
The purchase order PDF is expected to be created.
Module
purchase_order_secondary_unit
Describe the bug
When printing a purchase order, a non-existent field error appears.
Error
Error while render the template
AttributeError: 'res.company' object has no attribute 'hide_secondary_uom_column'
Template: purchase.report_purchaseorder_document
Path: /t/t/div/table/thead/tr/th[2]
Node:
To Reproduce
Affected versions: 18.0
Steps to reproduce the behavior:
Expected behavior
The purchase order PDF is expected to be created.