-
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
739e779
commit 9ac37e1
Showing
6 changed files
with
638 additions
and
1 deletion.
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
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,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.
Oops, something went wrong.