add new module of template

This commit is contained in:
sonal
2020-07-29 20:01:47 +05:30
parent b3c837aa07
commit cf48c17882
2 changed files with 2 additions and 2 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

@@ -30,7 +30,7 @@
</xpath>
<xpath expr="//t[@t-call='web.external_layout']/div/div[3]" 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>