mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 18:29:08 +02:00
add new module of template
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:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[3]" position="after">
|
<xpath expr="//t[@t-call='web.external_layout']/div/div[3]" 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="//t[@t-call='web.external_layout']/div/div[2]/table/thead//tr/th[1]" position="before">
|
||||||
<th>S.No</th>
|
<th>S.No</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user