[IMP] matched code as in hacienda

Merged Federico Pérez Diduch requested to merge fix into 12.0-test-ventas

Merge request reports