invoice report

This commit is contained in:
sonal
2020-07-29 22:10:58 +05:30
parent 446a7df713
commit 4e432d8da6
2 changed files with 10 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ class AccountMove(models.Model):
txn_id = fields.Char("Transaction ID")
signed_by = fields.Char("Printed by", compute='compute_signature')
print_date = fields.Date("Print date", compute='compute_print_date')
# note = fields.Text("Note")
note = fields.Text("Note")
def compute_print_date(self):
for rec in self:

View File

@@ -28,13 +28,17 @@
<strong>Sale Code:</strong>
<span t-esc="o.invoice_origin"/>
</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 t-esc="o.note"/> -->
<span t-esc="o.note"/>
</xpath>
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/table/thead//tr/th[1]" position="before">
<th>S.No</th>
<th>Code</th>
<xpath expr="//table[@class='table table-sm']/thead/tr/th[1]" position="before">
<th style="background-color:#3498DB !important;color:#FFF">S.No</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 expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
<p>E &amp; OE</p><br/>