Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Oct 29, 2023
1 parent 739e779 commit 9ac37e1
Show file tree
Hide file tree
Showing 6 changed files with 638 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ addon | version | maintainers | summary
[mail_template_multi_company](mail_template_multi_company/) | 12.0.1.0.1 | [![Olivier-LAURENT](https://github.com/Olivier-LAURENT.png?size=30px)](https://github.com/Olivier-LAURENT) | Mail Template Multi Company
[partner_multi_company](partner_multi_company/) | 12.0.2.0.1 | | Select individually the partner visibility on each company
[pos_restaurant_multi_company](pos_restaurant_multi_company/) | 12.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | This module adds support for multi company on PoS Restaurant.
[product_category_company_favorite](product_category_company_favorite/) | 12.0.1.0.1 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Possilibity to set favorite product categories per company
[product_intercompany_account](product_intercompany_account/) | 12.0.1.0.4 | | Change the income and COGS accounts in intercompany transactions
[product_multi_company](product_multi_company/) | 12.0.1.0.0 | | Select individually the product template visibility on each company
[product_tax_multicompany_default](product_tax_multicompany_default/) | 12.0.1.0.1 | | Product Tax Multi Company Default
Expand Down
143 changes: 143 additions & 0 deletions product_category_company_favorite/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
======================================
Product Categories - Company Favorites
======================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:603cfaea31d79c78eac24b51e21f4a997304ea07d387460b6ec62b1a55b53fa6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmulti--company-lightgray.png?logo=github
:target: https://github.com/OCA/multi-company/tree/12.0/product_category_company_favorite
:alt: OCA/multi-company
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/multi-company-12-0/multi-company-12-0-product_category_company_favorite
: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/multi-company&target_branch=12.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module is usefull in a multi-company context if
- the companies doesn't have to use all the same categories
- if you apply companies to your products.

Without that module, when creating products, end user can select categories
that don't make sense for the current company.
With that module, categories manager can set for each company, which category
will be displayed, reducing configuration error. (and so accounting error
if accounts are set at the category level.)

**Note**

- When creating **new root category**:

- it is favorite for all the other company if it is favorite in the current
context.
- it is not favorite for all the other company if it is not favorite in the current
context.

- When creating **new child category**:

- the category will inherit the configuration
of the parent category in each company.

- when creating a **new company**:

- all the existing categories are favorite in the new created company.

**Table of contents**

.. contents::
:local:

Configuration
=============

* Select a company you want to configure

* Go to "Inventory" > "Configuration" > "Product Categories"

* Uncheck categories you don't want to use for the current company.

.. figure:: https://raw.githubusercontent.com/OCA/multi-company/12.0/product_category_company_favorite/static/description/product_category_tree.png

Usage
=====

* Go in "Inventory" > "Master Data" > "Products"

* Create a new product

.. figure:: https://raw.githubusercontent.com/OCA/multi-company/12.0/product_category_company_favorite/static/description/product_category_tree.png

End user doesn't have access to the category "All / Consumable"
that is not favorite in the current company.

Known issues / Roadmap
======================

There is a little UX bug. When user display product categories in the tree view
and click to select which category is favorite
and which category is not, if the category has children, the value of the children
is updated in the database but the display is not updated.

Refresh the page resolve the problem.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/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/multi-company/issues/new?body=module:%20product_category_company_favorite%0Aversion:%2012.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
~~~~~~~

* GRAP

Contributors
~~~~~~~~~~~~

* Sylvain LE GAL (https://www.twitter.com/legalsylvain)

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.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/12.0/product_category_company_favorite>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9ac37e1

Please sign in to comment.