Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] product_multi_company #459

Closed
wants to merge 38 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8bb010f
product_multi_company
pedrobaeza Nov 28, 2015
55836a9
product_multi_company: Migration to 9.0
pedrobaeza Dec 6, 2016
74f6f43
OCA Transbot updated translations from Transifex
oca-transbot Dec 10, 2016
7fac7f5
[MIG] product_multi_company: Upgrade to v10
lasley Dec 26, 2016
50a9c74
OCA Transbot updated translations from Transifex
oca-transbot Jun 17, 2017
c8956d6
[MIG] *_multi_company: OpenUpgrade migration scripts
pedrobaeza Dec 15, 2017
7a3c40a
OCA Transbot updated translations from Transifex
oca-transbot Dec 30, 2017
fb23ce9
[MIG] product_multi_company: Migration to 11.0
cubells Nov 16, 2018
b3f92e0
[UPD] Update product_multi_company.pot
oca-travis Jan 17, 2019
c1f729c
[MIG] product_multi_company: Remove migration scripts
pedrobaeza Jan 18, 2019
c0d73b6
Migrate product_multi_company to version 12
florian-dacosta May 4, 2019
0c03d88
Fix product_multi_company description
florian-dacosta Jan 20, 2020
00e8b00
[UPD] Update product_multi_company.pot
oca-travis Mar 9, 2020
d4a042c
[UPD] README.rst
OCA-git-bot Mar 9, 2020
30d1897
Update translation files
oca-transbot Mar 9, 2020
fb0bcdc
Update translation files
oca-transbot Mar 17, 2020
b7604ab
[IMP] product_multi_company: black, isort, prettier
JoanSForgeFlow Mar 30, 2020
db6281a
[MIG] product_multi_company: Migration to 13.0
JoanSForgeFlow Mar 30, 2020
bac1c28
[MIG]product_multi_company: Migration to 13.0 (continue)
AaronHForgeFlow Jun 23, 2020
c135a46
[UPD] Update product_multi_company.pot
oca-travis Jul 8, 2020
bd861e7
[UPD] README.rst
OCA-git-bot Jul 8, 2020
144a8d0
Update translation files
oca-transbot Jul 20, 2020
6fb76ed
[FIX] product_multi_company: integrate tests with product_variant_con…
Jan 12, 2021
f35582e
product_multi_company 13.0.1.0.1
OCA-git-bot Jan 12, 2021
e643c29
Translated using Weblate (Spanish)
anasuarez1 Mar 9, 2021
8fc4b2c
[IMP] product_multi_company: black, isort, prettier
rousseldenis Mar 9, 2021
f4b043d
[14.0][MIG] product_multi_company
rousseldenis Mar 9, 2021
cc0e31b
[14.0][IMP] product_multi_company: Add tests common class
rousseldenis Jun 23, 2021
4efe124
[14.0][IMP] product_multi_company: Create products not shared in corr…
rousseldenis Jun 23, 2021
c328ba9
[14.0][FIX] product_multi_company: Add no_company_ids field
rousseldenis Jul 6, 2021
4801fee
[14.0][FIX] product_multi_company: Remove migration script
rousseldenis Jul 6, 2021
e2e9a25
[40.0][IMP] product_multi_company: Add methods helpers for tests
rousseldenis Jul 7, 2021
8266140
[MIG] product_multi_company: Migration to 15.0
JasminSForgeFlow Feb 21, 2022
4ad205e
[UPD] Update product_multi_company.pot
Apr 26, 2022
9bf5d2f
[UPD] README.rst
OCA-git-bot Apr 26, 2022
f4388f1
[UPD] README.rst
OCA-git-bot Sep 3, 2023
55ebf5b
[MIG] product_multi_company: black, isort, prettier
prabakaran04 Sep 26, 2023
5bde459
[MIG] product_multi_company: Migration to 16.0
prabakaran04 Sep 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[MIG] product_multi_company: Migration to 11.0
  • Loading branch information
cubells authored and prabakaran04 committed Sep 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit fb23ce95928b85c0f911ce8d2aeb0b80f34e1b83
83 changes: 58 additions & 25 deletions product_multi_company/README.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,38 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==========================================
Product permissions for discrete companies
==========================================

This modules allows to select in which of the companies you want to use each
of the product templates.
=====================
Product multi-company
=====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/11.0/product_multi_company
: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-11-0/multi-company-11-0-product_multi_company
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/133/11.0
:alt: Try me on Runbot

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

This module sets the default company taxes for all the existing companies when
a product is created. It also adds a button to set all the taxes from other
companies matching them by tax code.

**Table of contents**

.. contents::
:local:

Installation
============
@@ -24,38 +49,46 @@ On the product form view, go to the "Information" tab, and put the companies
in which you want to use that product. If none is selected, the product will
be visible in all of them. The default value is the current one.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/133/10.0

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 smashing it by providing a detailed and welcomed feedback.
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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/multi-company/issues/new?body=module:%20product_multi_company%0Aversion:%2011.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
~~~~~~~

* Tecnativa

Contributors
------------
~~~~~~~~~~~~

* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Dave Lasley <dave@laslabs.com>
* `Tecnativa <https://www.tecnativa.com>`_:

Maintainer
----------
* Vicent Cubells <vicent.cubells@tecnativa.com>

.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
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.

To contribute to this module, please visit https://odoo-community.org.
This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/11.0/product_multi_company>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 0 additions & 4 deletions product_multi_company/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# -*- coding: utf-8 -*-
# (c) 2015 Serv. Tecnol. Avanzados - Pedro M. Baeza
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import models
from .hooks import post_init_hook
from .hooks import uninstall_hook
3 changes: 1 addition & 2 deletions product_multi_company/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

@@ -10,7 +9,7 @@
"Odoo Community Association (OCA)",
'website': "https://www.tecnativa.com",
'category': 'Product Management',
'version': '10.0.1.0.0',
'version': '11.0.1.0.0',
'license': 'AGPL-3',
'depends': [
'base_multi_company',
1 change: 0 additions & 1 deletion product_multi_company/hooks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

3 changes: 1 addition & 2 deletions product_multi_company/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# (c) 2015 Serv. Tecnol. Avanzados - Pedro M. Baeza
# Copyright 2015 Serv. Tecnol. Avanzados - Pedro M. Baeza
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import product_template
1 change: 0 additions & 1 deletion product_multi_company/models/product_template.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Pedro M. Baeza <pedro.baeza@tecnativa.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

5 changes: 5 additions & 0 deletions product_multi_company/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Dave Lasley <dave@laslabs.com>
* `Tecnativa <https://www.tecnativa.com>`_:

* Vicent Cubells <vicent.cubells@tecnativa.com>
3 changes: 3 additions & 0 deletions product_multi_company/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module sets the default company taxes for all the existing companies when
a product is created. It also adds a button to set all the taxes from other
companies matching them by tax code.
4 changes: 4 additions & 0 deletions product_multi_company/readme/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This module uses the post and uninstall hooks for updating default product
template security rule. This only means that updating the module will not
restore the security rule this module changes. Only a complete removal and
reinstallation will serve.
3 changes: 3 additions & 0 deletions product_multi_company/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
On the product form view, go to the "Information" tab, and put the companies
in which you want to use that product. If none is selected, the product will
be visible in all of them. The default value is the current one.
Loading