[FIX] mrp: fix partner ref and so number in mrp report
These fields are no longer in the model `._columns` since their migration to the new API. Courtesy of Daniel Dico https://github.com/ddico opw-688768
This commit is contained in:
@@ -35,13 +35,13 @@
|
||||
<strong>Printing date:</strong><br/>
|
||||
<span t-esc="time.strftime('%Y-%m-%d')"/>
|
||||
</div>
|
||||
<div class="col-xs-3" t-if="'sale_ref' in o._columns.keys()">
|
||||
<div class="col-xs-3" t-if="'sale_ref' in o._fields.keys()">
|
||||
<strong>Partner Ref:</strong><br/>
|
||||
<span t-esc="'sale_ref' in o._columns.keys() and o.sale_ref"/>
|
||||
<span t-esc="'sale_ref' in o._fields.keys() and o.sale_ref"/>
|
||||
</div>
|
||||
<div class="col-xs-3" t-if="'sale_name' in o._columns.keys()">
|
||||
<div class="col-xs-3" t-if="'sale_name' in o._fields.keys()">
|
||||
<strong>SO Number:</strong><br/>
|
||||
<span t-esc="'sale_name' in o._columns.keys() and o.sale_name"/>
|
||||
<span t-esc="'sale_name' in o._fields.keys() and o.sale_name"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user