diff --git a/README.md b/README.md index 229bca84c7..104210c70b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ addon | version | maintainers | summary [sale_stock_operating_unit](sale_stock_operating_unit/) | 15.0.1.0.0 | | An operating unit (OU) is an organizational entity part of a company [sales_team_operating_unit](sales_team_operating_unit/) | 15.0.1.0.0 | | Sales Team Operating Unit [stock_account_operating_unit](stock_account_operating_unit/) | 15.0.1.0.0 | | Create journal entries in moves between internal locations with different operating units. -[stock_operating_unit](stock_operating_unit/) | 15.0.1.3.1 | | Adds the concept of operating unit (OU) in stock management +[stock_operating_unit](stock_operating_unit/) | 15.0.1.3.2 | | Adds the concept of operating unit (OU) in stock management [stock_operating_unit_access_all](stock_operating_unit_access_all/) | 15.0.1.1.0 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Access all OUs' Stock [//]: # (end addons) diff --git a/purchase_operating_unit_access_all/i18n/es.po b/purchase_operating_unit_access_all/i18n/es.po new file mode 100644 index 0000000000..930ec24f94 --- /dev/null +++ b/purchase_operating_unit_access_all/i18n/es.po @@ -0,0 +1,22 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_operating_unit_access_all +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-02-14 13:06+0000\n" +"Last-Translator: Anna Martínez \n" +"Language-Team: none\n" +"Language: es\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 5.6.2\n" + +#. module: purchase_operating_unit_access_all +#: model:res.groups,name:purchase_operating_unit_access_all.group_all_ou_purchase +msgid "Access all OUs' purchase orders" +msgstr "Acceso a los pedidos de compra de todas las UO" diff --git a/sales_team_operating_unit/i18n/es.po b/sales_team_operating_unit/i18n/es.po new file mode 100644 index 0000000000..dd9ec5568c --- /dev/null +++ b/sales_team_operating_unit/i18n/es.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sales_team_operating_unit +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-02-14 13:06+0000\n" +"Last-Translator: Anna Martínez \n" +"Language-Team: none\n" +"Language: es\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 5.6.2\n" + +#. module: sales_team_operating_unit +#: code:addons/sales_team_operating_unit/models/crm_team.py:0 +#, python-format +msgid "" +"Configuration error, The Company in the Sales Team and in the Operating Unit" +" must be the same." +msgstr "" +"Error de configuración, la compañía en el equipo de ventas y en la unidad " +"operativa han de ser la misma." + +#. module: sales_team_operating_unit +#: model:ir.model.fields,field_description:sales_team_operating_unit.field_crm_team__operating_unit_id +msgid "Operating Unit" +msgstr "Unidad Operativa" + +#. module: sales_team_operating_unit +#: model:ir.model,name:sales_team_operating_unit.model_crm_team +msgid "Sales Team" +msgstr "Equipo de venta" diff --git a/stock_operating_unit/README.rst b/stock_operating_unit/README.rst index ecd692c649..bd76d4f249 100644 --- a/stock_operating_unit/README.rst +++ b/stock_operating_unit/README.rst @@ -7,7 +7,7 @@ Stock with Operating Units !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:cef7f83cf477bd84974b1cc124c326cfe1d0b5a36069871f7e1076f0ae0005c6 + !! source digest: sha256:076485278ad7f0f8761ee7e49e88b9b576be992d854473d5daab20bc12418ee5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/stock_operating_unit/__manifest__.py b/stock_operating_unit/__manifest__.py index 7bf4c6558f..868c734124 100644 --- a/stock_operating_unit/__manifest__.py +++ b/stock_operating_unit/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Stock with Operating Units", "summary": "Adds the concept of operating unit (OU) in stock management", - "version": "15.0.1.3.1", + "version": "15.0.1.3.2", "category": "Generic Modules/Sales & Purchases", "author": "ForgeFlow, " "Serpent Consulting Services Pvt. Ltd., " diff --git a/stock_operating_unit/model/stock_warehouse.py b/stock_operating_unit/model/stock_warehouse.py index b63e597cbc..8eef34db8a 100644 --- a/stock_operating_unit/model/stock_warehouse.py +++ b/stock_operating_unit/model/stock_warehouse.py @@ -49,6 +49,11 @@ class StockWarehouseOrderPoint(models.Model): ) def _check_location(self): for rec in self: + # Fix: do not check OU on locations that do not have a warehouse at all + # Odoo's base `stock` module will still fill the `warehouse_id` field + # incorrectly with the company's default warehouse + if not rec.location_id.warehouse_id: + continue if ( rec.warehouse_id.operating_unit_id and rec.warehouse_id diff --git a/stock_operating_unit/static/description/index.html b/stock_operating_unit/static/description/index.html index d322595f47..1e99297497 100644 --- a/stock_operating_unit/static/description/index.html +++ b/stock_operating_unit/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,7 +367,7 @@

Stock with Operating Units

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:cef7f83cf477bd84974b1cc124c326cfe1d0b5a36069871f7e1076f0ae0005c6 +!! source digest: sha256:076485278ad7f0f8761ee7e49e88b9b576be992d854473d5daab20bc12418ee5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: LGPL-3 OCA/operating-unit Translate me on Weblate Try me on Runboat

This module introduces the following features:

@@ -442,7 +442,9 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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.