Skip to content

Commit

Permalink
[8.0.1.0.0] hr_timesheet_task_accrue_expense
Browse files Browse the repository at this point in the history
  • Loading branch information
andhit-r committed Apr 18, 2020
1 parent f06c72a commit 2f57917
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
39 changes: 39 additions & 0 deletions hr_timesheet_task_accrue_expense/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

===============================================
Generate Accrue Expense Based On Task Timesheet
===============================================


Installation
============

To install this module, you need to:

1. Clone the branch 8.0 of the repository https://github.com/open-synergy/opnsynid-hr
2. Add the path to this repository in your configuration (addons-path)
3. Update the module list
4. Go to menu *Setting -> Modules -> Local Modules*
5. Search For *Generate Accrue Expense Based On Task Timesheet*
6. Install the module

Credits
=======

Contributors
------------

* Michael Viriyananda <viriyananda.michael@gmail.com>
* Andhitia Rama <andhitia.r@gmail.com>
* Nurazmi <azmimr67@gmail.com>

Maintainer
----------

.. image:: https://simetri-sinergi.id/logo.png
:alt: PT. Simetri Sinergi Indonesia
:target: https://simetri-sinergi.id.com

This module is maintained by the PT. Simetri Sinergi Indonesia.
4 changes: 4 additions & 0 deletions hr_timesheet_task_accrue_expense/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Copyright 2020 OpenSynergy Indonesia
# Copyright 2020 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
20 changes: 20 additions & 0 deletions hr_timesheet_task_accrue_expense/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Copyright 2020 OpenSynergy Indonesia
# Copyright 2020 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Generate Accrue Expense Based On Task Timesheet",
"version": "8.0.1.1.0",
"website": "https://simetri-sinergi.id",
"author": "PT. Simetri Sinergi Indonesia, OpenSynergy Indonesia",
"license": "AGPL-3",
"installable": True,
"auto_install": True,
"depends": [
"hr_timesheet_task_onchange",
"hr_timesheet_accrue_expense",
],
"data": [
"views/project_task_views.xml",
],
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions hr_timesheet_task_accrue_expense/views/project_task_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 OpenSynergy Indonesia
Copyright 2020 PT. Simetri Sinergi Indonesia
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->

<openerp>
<data>

<record id="project_task_views_form" model="ir.ui.view">
<field name="name">project.task form</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="timesheet_task.view_task_form2"/>
<field name="priority" eval="30"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='work_ids']/tree/field[@name='product_id']" position="before">
<field name="accrue_expense_journal_id" invisible="1"/>
<field name="accrue_expense_account_id" invisible="1"/>
<field name="accrue_expense_ok" invisible="1"/>
<field name="accrue_expense_move_id" invisible="1"/>
</xpath>
</data>
</field>
</record>


</data>
</openerp>

0 comments on commit 2f57917

Please sign in to comment.