Search 1.9 billion lines of Odoo code on GitHub

analytic_line_views_prioritized

Author: Numigi
License: LGPL-3
Branch: 11.0
Repository: Numigi/odoo-project-addons
Dependencies: analytic, and hr_timesheet
Languages: Python (18, 30.0%), XML (21, 35.0%), and reStructuredText (21, 35.0%)
Other branches: timesheet_analytic_update

<h1 class="title">Project Task Analytic Lines</h1> <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="#odoo-context" id="id1">Odoo Context</a></li> <li><a class="reference internal" href="#summary" id="id2">Summary</a></li> <li><a class="reference internal" href="#contributors" id="id3">Contributors</a></li> </ul> </div> <a name="odoo-context"></a> <h2><a class="toc-backref" href="#id1">Odoo Context</a></h2> <p>In Odoo, a timesheet line is an analytic line (bound to a task).</p> <p>When the Timesheets app is installed, the list and form views of timesheet lines are prioritized versus the standard views of analytic lines.</p> <p>This causes an unexpected behavior in the system when navigating to the list of analytic lines.</p> <p>For example, in the form view of a journal entry, when clicking to see the analytic lines related to a journal item, I expect to see the standard list of analytic lines.</p> <img alt="static/description/account_move_before.png" src="static/description/account_move_before.png" /> <p>But what I get is a view with timesheet columns.</p> <img alt="static/description/analytic_lines_before.png" src="static/description/analytic_lines_before.png" /> <a name="summary"></a> <h2><a class="toc-backref" href="#id2">Summary</a></h2> <p>This module prioritizes the views of analytic lines over timesheet lines.</p> <p>In the form view of journal entries I get the standard view of analytic lines when clicking to see the analytic lines related to a journal item,</p> <img alt="static/description/analytic_lines_after.png" src="static/description/analytic_lines_after.png" /> <a name="contributors"></a> <h2><a class="toc-backref" href="#id3">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>