-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by gurneyalex
- Loading branch information
Showing
27 changed files
with
1,631 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
============== | ||
Operating Unit | ||
============== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:00f612d7de01fe0f9ee18121c1840b65fef8e073af69a0bec3c4fadcb97e3f3d | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github | ||
:target: https://github.com/OCA/operating-unit/tree/17.0/operating_unit | ||
:alt: OCA/operating-unit | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/operating-unit-17-0/operating-unit-17-0-operating_unit | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/operating-unit&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
An operating unit (OU) is an organizational entity part of a company, | ||
with separate management ownership. Management by OU is aimed to | ||
introduce the following features: | ||
|
||
- Data partitioning from other OU. | ||
- Own sequencing schemes. | ||
- User access administration for data processing and reporting. | ||
- Product and customer independence of OU. | ||
- OU specific P&L and Balance sheet. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
- Assign *Multi Operating Unit* group to user. | ||
- Go to *Settings / Users & Companies / Operating Units* and create | ||
Operating Units. | ||
|
||
Usage | ||
===== | ||
|
||
This module defines the operating unit entity and the user's security | ||
rules. Other modules extend the standard Odoo apps with the OU. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/operating-unit/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/operating-unit/issues/new?body=module:%20operating_unit%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* ForgeFlow | ||
* Serpent Consulting Services Pvt. Ltd. | ||
|
||
Contributors | ||
------------ | ||
|
||
- ForgeFlow <contact@forgeflow.com> | ||
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com> | ||
- Jarsa Sistemas <info@jarsa.com.mx> | ||
- Andrea Stirpe <a.stirpe@onestein.nl> | ||
- Ooops, Ashish Hirpara <ashish.hirapara1995@gmail.com> | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/operating-unit <https://github.com/OCA/operating-unit/tree/17.0/operating_unit>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 2015-TODAY ForgeFlow | ||
# - Jordi Ballester Alomar | ||
# Copyright 2015-TODAY Serpent Consulting Services Pvt. Ltd. - Sudhir Arya | ||
# License: LGPL-3 or later (https://www.gnu.org/licenses/lgpl.html). | ||
{ | ||
"name": "Operating Unit", | ||
"summary": "An operating unit (OU) is an organizational entity part of a " | ||
"company", | ||
"version": "17.0.1.0.0", | ||
"author": "ForgeFlow, " | ||
"Serpent Consulting Services Pvt. Ltd., " | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/operating-unit", | ||
"category": "Generic", | ||
"depends": [ | ||
"base", | ||
], | ||
"license": "LGPL-3", | ||
"data": [ | ||
"security/operating_unit_security.xml", | ||
"security/ir.model.access.csv", | ||
"data/operating_unit_data.xml", | ||
"view/operating_unit_view.xml", | ||
"view/res_users_view.xml", | ||
], | ||
"demo": [ | ||
"demo/operating_unit_demo.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<!-- Basic Operating Unit --> | ||
<record id="main_operating_unit" model="operating.unit"> | ||
<field name="name">Main Operating Unit</field> | ||
<field name="code">OU1</field> | ||
<field name="partner_id" ref="base.main_partner" /> | ||
</record> | ||
<record model="res.users" id="base.user_root"> | ||
<field name="default_operating_unit_id" ref="main_operating_unit" /> | ||
<field | ||
name="assigned_operating_unit_ids" | ||
eval="[(4, ref('main_operating_unit'))]" | ||
/> | ||
</record> | ||
<record model="res.users" id="base.user_admin"> | ||
<field name="default_operating_unit_id" ref="main_operating_unit" /> | ||
<field | ||
name="assigned_operating_unit_ids" | ||
eval="[(4, ref('main_operating_unit'))]" | ||
/> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="0"> | ||
<record id="b2b_operating_unit" model="operating.unit"> | ||
<field name="name">B2B</field> | ||
<field name="code">B2B</field> | ||
<field name="partner_id" ref="base.main_partner" /> | ||
</record> | ||
<record id="b2c_operating_unit" model="operating.unit"> | ||
<field name="name">B2C</field> | ||
<field name="code">B2C</field> | ||
<field name="partner_id" ref="base.main_partner" /> | ||
</record> | ||
<record model="res.users" id="base.user_demo"> | ||
<field name="default_operating_unit_id" ref="main_operating_unit" /> | ||
<field | ||
name="assigned_operating_unit_ids" | ||
eval="[(4, ref('main_operating_unit')),(4, ref('b2b_operating_unit')),(4, ref('b2c_operating_unit'))]" | ||
/> | ||
<field | ||
name="groups_id" | ||
eval="[(4,ref('operating_unit.group_multi_operating_unit'))]" | ||
/> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * operating_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2021-06-25 03:48+0000\n" | ||
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n" | ||
"Language-Team: none\n" | ||
"Language: es_AR\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.3.2\n" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__active | ||
msgid "Active" | ||
msgstr "Activo" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_res_users__operating_unit_ids | ||
msgid "Allowed Operating Units" | ||
msgstr "Unidades Operativas Permitidas" | ||
|
||
#. module: operating_unit | ||
#: model_terms:ir.actions.act_window,help:operating_unit.action_operating_unit_tree | ||
msgid "Click to start a new Operating Unit." | ||
msgstr "Clic para iniciar una nueva Unidad Operativa." | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__code | ||
#: model_terms:ir.ui.view,arch_db:operating_unit.view_operating_unit_search | ||
msgid "Code" | ||
msgstr "Código" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__company_id | ||
msgid "Company" | ||
msgstr "Compañía" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__create_uid | ||
msgid "Created by" | ||
msgstr "Creado por" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__create_date | ||
msgid "Created on" | ||
msgstr "Creado el" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_res_users__default_operating_unit_id | ||
msgid "Default Operating Unit" | ||
msgstr "Unidad Operativa Predeterminada" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__display_name | ||
msgid "Display Name" | ||
msgstr "Nombre Mostrado" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit____last_update | ||
msgid "Last Modified on" | ||
msgstr "Última Modificación el" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Última Actualización por" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__write_date | ||
msgid "Last Updated on" | ||
msgstr "Última Actualización el" | ||
|
||
#. module: operating_unit | ||
#: model:res.groups,name:operating_unit.group_manager_operating_unit | ||
msgid "Manager of Operating Units" | ||
msgstr "Gestor de las Unidades Operativas" | ||
|
||
#. module: operating_unit | ||
#: model:res.groups,name:operating_unit.group_multi_operating_unit | ||
msgid "Multiple Operating Unit" | ||
msgstr "Unidad Operativa Múltiple" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__name | ||
msgid "Name" | ||
msgstr "Nombre" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model,name:operating_unit.model_operating_unit | ||
#: model_terms:ir.ui.view,arch_db:operating_unit.view_operating_unit_form | ||
#: model_terms:ir.ui.view,arch_db:operating_unit.view_operating_unit_search | ||
msgid "Operating Unit" | ||
msgstr "Unidad Operativa" | ||
|
||
#. module: operating_unit | ||
#: model:ir.actions.act_window,name:operating_unit.action_operating_unit_tree | ||
#: model:ir.model.fields,field_description:operating_unit.field_res_users__assigned_operating_unit_ids | ||
#: model:ir.ui.menu,name:operating_unit.menu_action_operating_unit_tree | ||
#: model_terms:ir.ui.view,arch_db:operating_unit.view_users_form | ||
msgid "Operating Units" | ||
msgstr "Unidades Operativas" | ||
|
||
#. module: operating_unit | ||
#: model:ir.module.category,name:operating_unit.module_operating_units | ||
msgid "Operating Units Group" | ||
msgstr "Grupo de Unidades Operativas" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__partner_id | ||
msgid "Partner" | ||
msgstr "Contacto" | ||
|
||
#. module: operating_unit | ||
#: model_terms:ir.ui.view,arch_db:operating_unit.view_operating_unit_search | ||
msgid "Search Operating Unit" | ||
msgstr "Buscar Unidad Operativa" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.constraint,message:operating_unit.constraint_operating_unit_code_company_uniq | ||
msgid "The code of the operating unit must be unique per company!" | ||
msgstr "¡El código de la unidad operativa debe ser único por compañía!" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.constraint,message:operating_unit.constraint_operating_unit_name_company_uniq | ||
msgid "The name of the operating unit must be unique per company!" | ||
msgstr "¡El nombre de la unidad operativa debe ser único por compañía!" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model,name:operating_unit.model_res_users | ||
msgid "User" | ||
msgstr "" | ||
|
||
#. module: operating_unit | ||
#: model:ir.model.fields,field_description:operating_unit.field_operating_unit__user_ids | ||
msgid "Users Allowed" | ||
msgstr "Usuarios Permitidos" | ||
|
||
#~ msgid "Users" | ||
#~ msgstr "Usuarios" |
Oops, something went wrong.