i want to make the quotation invalid in cancel state
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
1
Vastaa
769
Näkymät
Inherit the pdf report template and add the above snippet of code to get invalid header in cancel state
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_saleorder_document_inherited" inherit_id="sale.report_saleorder_document">
<!-- Replace the stamp image with a red header text -->
<xpath expr="//div[@t-if='doc.client_order_ref']" position="before">
<div t-if="doc.state == 'cancel'" class="row mb-4">
<div class="col-12">
<div style="background-color: #FF0000; color: white; text-align: center; padding: 10px; font-size: 24px; font-weight: bold; border-radius: 5px;">
INVALID QUOTATION
</div>
</div>
</div>
</xpath>
</template>
</odoo>
Regards,
Nikhil
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
2
heinäk. 25
|
202 | ||
|
1
kesäk. 25
|
421 | ||
|
2
kesäk. 25
|
495 | ||
|
2
toukok. 25
|
702 | ||
|
0
elok. 25
|
11 |