Skip to content

Commit

Permalink
[IMP] operating_unit: better res.user view inheriting
Browse files Browse the repository at this point in the history
  • Loading branch information
GSLabIt committed Nov 9, 2023
1 parent c4e736d commit a5a2cb4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
5 changes: 4 additions & 1 deletion operating_unit/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Operating Unit
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b774e7baa72ce51e88bf2080c4cfa847d1edd02dd30f5820a0ff18c9f34c351d
!! source digest: sha256:292ef023ae65bbc1b16b76c60446bcc6f699800c0f3f1e26809b35d2135cdcbe
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -89,6 +89,9 @@ Contributors
* Andrea Stirpe <a.stirpe@onestein.nl>
* Ooops, Ashish Hirpara <ashish.hirapara1995@gmail.com>

* `Ooops <https://www.ooops404.com>`_:
* Giovanni Serra <giovanni@ooops404.com>

Maintainers
~~~~~~~~~~~

Expand Down
3 changes: 3 additions & 0 deletions operating_unit/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
* Jarsa Sistemas <info@jarsa.com.mx>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Ooops, Ashish Hirpara <ashish.hirapara1995@gmail.com>

* `Ooops <https://www.ooops404.com>`_:
* Giovanni Serra <giovanni@ooops404.com>
10 changes: 9 additions & 1 deletion operating_unit/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Operating Unit</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b774e7baa72ce51e88bf2080c4cfa847d1edd02dd30f5820a0ff18c9f34c351d
!! source digest: sha256:292ef023ae65bbc1b16b76c60446bcc6f699800c0f3f1e26809b35d2135cdcbe
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/operating-unit/tree/14.0/operating_unit"><img alt="OCA/operating-unit" src="https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/operating-unit-14-0/operating-unit-14-0-operating_unit"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/operating-unit&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>An operating unit (OU) is an organizational entity part of a company, with
Expand Down Expand Up @@ -432,6 +432,14 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Jarsa Sistemas &lt;<a class="reference external" href="mailto:info&#64;jarsa.com.mx">info&#64;jarsa.com.mx</a>&gt;</li>
<li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li>
<li>Ooops, Ashish Hirpara &lt;<a class="reference external" href="mailto:ashish.hirapara1995&#64;gmail.com">ashish.hirapara1995&#64;gmail.com</a>&gt;</li>
<li><dl class="first docutils">
<dt><a class="reference external" href="https://www.ooops404.com">Ooops</a>:</dt>
<dd><ul class="first last">
<li>Giovanni Serra &lt;<a class="reference external" href="mailto:giovanni&#64;ooops404.com">giovanni&#64;ooops404.com</a>&gt;</li>
</ul>
</dd>
</dl>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
2 changes: 1 addition & 1 deletion operating_unit/view/res_users_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form" />
<field name="arch" type="xml">
<xpath expr="//page[@name='access_rights']/group[1]" position="after">
<xpath expr="//field[@name='company_ids']/.." position="after">
<group string="Operating Units">
<field
name="operating_unit_ids"
Expand Down

0 comments on commit a5a2cb4

Please sign in to comment.