How would I customize the Product Order Report so that when a Manufacturing Order is complete, I can see the Quality Checks associated with it?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
In Developer Mode, find the Production Order Report from Settings --> Technical --> Actions --> Reports and open it.

Click the Qweb Views button at the top and open the XML record that defines the report.

Although this is technical what you see defines what is shown in the report, and taking inspiration from the way the Work Orders are shown (if they exist), we can generate our own Inherited View that extends the base report:

<div t-if="o.move_raw_ids" position="after">
<div t-if="o.check_ids">
<h3>Quality Checks</h3>
<table class="table table-sm">
<tr>
<th>Reference</th>
<th>Type</th>
<th>Title</th>
<th>Checked</th>
<th>Employee</th>
<th>Status</th>
</tr>
<tr t-foreach="o.check_ids" t-as="lineq">
<td><span t-field="lineq.name"/></td>
<td><span t-field="lineq.test_type_id"/></td>
<td><span t-field="lineq.title"/></td>
<td><span t-field="lineq.control_date"/></td>
<td><span t-field="lineq.user_id.name"/></td>
<td><span t-field="lineq.quality_state"/></td>
</tr>
</table>
</div>
</div>
The result:

Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|  | 1 huhtik. 23  | 2446 | ||
|  | 2 huhtik. 18  | 3787 | ||
|  | 2 syysk. 25  | 683 | ||
|  | 1 heinäk. 25  | 885 | ||
|  | 1 heinäk. 25  | 752 | 
