Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1893 Näkymät

i am inherit account.report_invoice_document template in my custom module. i want to replace shipping address and divide 12 columns of css in to two parts and add to address and from address to the invoice report.


and how to get shipping address, invoice date, due date fields value in odoo xml ?????


i want to formate like this


Bill To                               INVOICE

shipping Address             invoice date:

​       dua date :


Avatar
Hylkää
Tekijä Paras vastaus

This is the Solution..


<?xml version="1.0" encoding="UTF-8" ?>

<odoo>

<data>

<template id="report_invoice_document_inherit"

inherit_id="account.report_invoice_document">

<xpath expr="//div[@class='row']" position="replace">

<div class="row">

<div class="col-auto col-6">

<h4 style="background-color:

#d9d9d9; font-weight: 500;">Bill To</h4>

</div>

<div class="col-auto col-6" style="margin-left:380px;">

<h4><b>INVOICE</b></h4>

</div>

</div>

</xpath>

</template>

</data>

</odoo>












Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
elok. 25
2451
1
toukok. 25
2578
1
huhtik. 25
3540
1
huhtik. 25
4387
1
huhtik. 25
1850