Merge branch 'mig/16.0/timesheet_grid_work_entry' into '16.0-test'

mig/16.0/timesheet_grid_work_entry into 16.0-test

See merge request hibou-io/hibou-odoo/suite!1554
This commit is contained in:
Hibou Bot
2022-10-24 23:06:24 +00:00
4 changed files with 53 additions and 0 deletions

View File

View File

@@ -0,0 +1,21 @@
{
'name': 'Timesheet Grid Work Entry',
'description': 'bridge',
'version': '16.0.1.0.0',
'website': 'https://hibou.io/',
'author': 'Hibou Corp. <hello@hibou.io>',
'license': 'AGPL-3',
'category': 'Human Resources',
'depends': [
'hr_timesheet_work_entry',
'timesheet_grid',
],
'data': [
'views/timesheet_views.xml',
],
'demo': [
],
'installable': True,
'auto_install': True,
'application': False,
}

View File

@@ -0,0 +1,15 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-12 01:50+0000\n"
"PO-Revision-Date: 2021-10-12 01:50+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="timesheet_view_form_inherit" model="ir.ui.view">
<field name="name">account.analytic.line.form.inherit</field>
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="timesheet_grid.timesheet_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='task_id']" position="after">
<field name="work_type_id"
domain="[('allow_timesheet', '=', True)]"
context="{'default_allow_timesheet': True}" />
</xpath>
</field>
</record>
</odoo>