[MIG] timesheet_invoice: module migration

This commit is contained in:
Juan Pablo Ticse
2023-10-30 22:22:08 +00:00
committed by Mayank Patel
parent 9030aa0f33
commit 2c40edb3ff
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{ {
'name': 'Timesheet Invoice', 'name': 'Timesheet Invoice',
'version': '16.0.1.0.0', 'version': '17.0.1.0.0',
'author': 'Hibou Corp. <hello@hibou.io>', 'author': 'Hibou Corp. <hello@hibou.io>',
'website': 'https://hibou.io/', 'website': 'https://hibou.io/',
'license': 'AGPL-3', 'license': 'AGPL-3',
@@ -13,7 +13,7 @@ Adds timesheet descriptions onto the invoice report/PDF.
'sale_timesheet', 'sale_timesheet',
], ],
'data': [ 'data': [
'invoice_views.xml', 'views/invoice_views.xml',
], ],
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<odoo> <odoo>
<template id="report_invoice_document_inherit" inherit_id="account.report_invoice_document"> <template id="report_invoice_document_inherit" inherit_id="account.report_invoice_document">
<xpath expr="//div[@class='page']" position="inside"> <xpath expr="//div[hasclass('page')]" position="inside">
<div class="container" t-if="o.timesheet_ids"> <div class="container" t-if="o.timesheet_ids">
<hr/> <hr/>
<h3>Timesheets</h3> <h3>Timesheets</h3>