Search 1.9 billion lines of Odoo code on GitHub

project_wip_supply_cost

Author: Numigi
License: LGPL-3
Branch: TA#45459---project_milestone_timeline_dynamic
Repository: Numigi/odoo-project-addons
Dependencies: hr_timesheet, project_task_analytic_lines, and project_wip
Languages: PO File (90, 13.9%), Python (504, 77.8%), XML (17, 2.6%), and reStructuredText (37, 5.7%)
Other branches: 11.0, 12.0, 14.0, 452, TA#42546, TA#43556, TA#44075---manage_project_budget_using_milestone, TA#44076---Update-dockerfile, TA#44215---project_task_kanban_view_partner, TA#445738---project_outsourcing_timesheet_manage_contacts, TA#45451---add_project_milestone_week_duration, TA#45451---fix_after_test, TA#45452, TA#45464---project_manager_access_right, TA#45526, TA#45528, TA#45902---analytic_line_revenue_v14, TA#45902---project_cost_smart_button_migration, TA#45902-analytic_line_employee_migration, TA#46088---project_timesheet_time_control_employee_pin, TA#46412---project_default_task_stage, TA#46412---project_stage_no_quick_create, TA#46412---project_task_date_planned, TA#46412---project_type, TA#46412--project_task_full_text_search, TA#47760---correctif#6, TA#47906, TA#48575, TA#51167, TumbaoJu-patch-1, abenzbiria-patch-1, jbreard-patch-2, and timesheet_analytic_update

<h1 class="title">Project WIP Supply Cost</h1> <p>This module extends the project_wip (Project Work in Progress) module.</p> <p>It allows to generate journal entries for indirect costs (supply cost) from timesheet lines.</p> <div class="contents topic" id="table-of-contents"> <p class="topic-title">Table of Contents</p> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a><ul> <li><a class="reference internal" href="#journal-entries" id="id3">Journal Entries</a></li> <li><a class="reference internal" href="#analytic-lines" id="id4">Analytic Lines</a></li> </ul> </li> <li><a class="reference internal" href="#deleting-updating-timesheets" id="id5">Deleting / Updating Timesheets</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>As member of the group <code>Project / Manager</code>, I go to the form view of a project type.</p> <p>I notice a new section <code>Indirect Costs</code> with the following fields:</p> <ul class="simple"> <li>Expense Account</li> </ul> <blockquote> The counter-part account to use for the shop supply entries.</blockquote> <ul class="simple"> <li>Journal</li> </ul> <blockquote> The journal to use for the shop supply entries.</blockquote> <ul class="simple"> <li>Hourly Rate</li> </ul> <blockquote> <p>The hourly rate to apply.</p> <p>The shop supply entry for a timesheet has an amount equal to <code>Number of Hours</code> x <code>Hourly Rate</code>.</p> </blockquote> <img alt="static/description/project_type.png" src="static/description/project_type.png" /> <p>When the field <code>Expense Account</code> is filed, a shop supply entry will be created for each new timesheet line under the project type.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>As member of the group <cite>Project / User</cite>, I go to the form view of a task.</p> <p>I add a timesheet line.</p> <img alt="static/description/task_form.png" src="static/description/task_form.png" /> <a name="journal-entries"></a> <h3><a class="toc-backref" href="#id3">Journal Entries</a></h3> <p>As member of the group <cite>Accounting / Billing</cite>, I go to the general ledger and filter to see only entries for my project.</p> <p>I see one entry for my timesheet line.</p> <img alt="static/description/general_ledger_filtered.png" src="static/description/general_ledger_filtered.png" /> <p>The amount of 6.25 USD represents 25 minutes (0.417 hours) x 15 USD (timesheet cost).</p> <a name="analytic-lines"></a> <h3><a class="toc-backref" href="#id4">Analytic Lines</a></h3> <p>I go to the list of analytic lines and I filter to see only entries for my project.</p> <p>I notice that 2 analytic line were generated for my timesheet line.</p> <img alt="static/description/analytic_lines_filtered.png" src="static/description/analytic_lines_filtered.png" /> <p>The first line is the shop supply (6.25 USD).</p> <p>The second line is the timesheet line itself. Note that the amount is 0.00 USD. The reason is that the timesheet cost was not defined on the employee.</p> <a name="deleting-updating-timesheets"></a> <h2><a class="toc-backref" href="#id5">Deleting / Updating Timesheets</a></h2> <p>When deleting or updating a timesheet line, the behavior is equivalent as with the module <code>project_wip_timesheet</code>.</p> <p>The shop supply journal entries and analytic lines are resersed / updated in cascade.</p> <p>If however, the WIP entry was already transfered to the cost of goods sold, then deleting or updating the timesheet line will be blocked.</p> <a name="contributors"></a> <h2><a class="toc-backref" href="#id6">Contributors</a></h2> <ul class="simple"> <li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li> </ul>