mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
invoice report
This commit is contained in:
@@ -7,7 +7,7 @@ class AccountMove(models.Model):
|
|||||||
txn_id = fields.Char("Transaction ID")
|
txn_id = fields.Char("Transaction ID")
|
||||||
signed_by = fields.Char("Printed by", compute='compute_signature')
|
signed_by = fields.Char("Printed by", compute='compute_signature')
|
||||||
print_date = fields.Date("Print date", compute='compute_print_date')
|
print_date = fields.Date("Print date", compute='compute_print_date')
|
||||||
# note = fields.Text("Note")
|
note = fields.Text("Note")
|
||||||
|
|
||||||
def compute_print_date(self):
|
def compute_print_date(self):
|
||||||
for rec in self:
|
for rec in self:
|
||||||
|
|||||||
@@ -28,13 +28,17 @@
|
|||||||
<strong>Sale Code:</strong>
|
<strong>Sale Code:</strong>
|
||||||
<span t-esc="o.invoice_origin"/>
|
<span t-esc="o.invoice_origin"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[3]" position="after">
|
<xpath expr="//div[@style='padding-top:50px;']" position="after">
|
||||||
<span>NOTE:</span><br/>
|
<span>NOTE:</span><br/>
|
||||||
<!-- <span t-esc="o.note"/> -->
|
<span t-esc="o.note"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/table/thead//tr/th[1]" position="before">
|
<xpath expr="//table[@class='table table-sm']/thead/tr/th[1]" position="before">
|
||||||
<th>S.No</th>
|
<th style="background-color:#3498DB !important;color:#FFF">S.No</th>
|
||||||
<th>Code</th>
|
<th style="background-color:#3498DB !important;color:#FFF">Code</th>
|
||||||
|
</xpath>
|
||||||
|
<xpath expr="//table[@class='table table-sm']/tbody/tr/td[1]" position="before">
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||||
<p>E & OE</p><br/>
|
<p>E & OE</p><br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user