mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[NEW] mrp_bom_multi_company
This commit is contained in:
73
mrp_bom_multi_company/README.rst
Normal file
73
mrp_bom_multi_company/README.rst
Normal file
@@ -0,0 +1,73 @@
|
||||
.. 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
|
||||
|
||||
=====================
|
||||
Mrp Bom Multi Company
|
||||
=====================
|
||||
|
||||
Multi Company Bill of Materials
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
To configure this module, you need do nothing
|
||||
|
||||
.. figure:: path/to/local/image.png
|
||||
:alt: alternative description
|
||||
:width: 600 px
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
To use this module, you need to remove the company of a bill of material.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch}
|
||||
|
||||
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
|
||||
.. branch is "8.0" for example
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues
|
||||
<https://github.com/OCA/{project_repo}/issues>`_. In case of trouble, please
|
||||
check there if your issue has already been reported. If you spotted it first,
|
||||
help us smash it by providing detailed and welcomed feedback.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Luis Felipe Mileo <mileo@kmee.com.br>
|
||||
|
||||
Funders
|
||||
-------
|
||||
|
||||
The development of this module has been financially supported by:
|
||||
|
||||
* KMEE
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
.. image:: https://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:target: https://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
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.
|
||||
1
mrp_bom_multi_company/__init__.py
Normal file
1
mrp_bom_multi_company/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import models
|
||||
15
mrp_bom_multi_company/__manifest__.py
Normal file
15
mrp_bom_multi_company/__manifest__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2021 KMEE
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
'name': 'Mrp Bom Multi Company',
|
||||
'summary': """
|
||||
Multi Company Bill of Materials""",
|
||||
'version': '12.0.1.0.0',
|
||||
'license': 'AGPL-3',
|
||||
'author': 'KMEE,Odoo Community Association (OCA)',
|
||||
'website': 'https://github.com/oca/manufacture',
|
||||
'depends': [
|
||||
'mrp',
|
||||
],
|
||||
}
|
||||
1
mrp_bom_multi_company/models/__init__.py
Normal file
1
mrp_bom_multi_company/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import mrp_bom
|
||||
14
mrp_bom_multi_company/models/mrp_bom.py
Normal file
14
mrp_bom_multi_company/models/mrp_bom.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2021 KMEE
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class MrpBom(models.Model):
|
||||
|
||||
_inherit = 'mrp.bom'
|
||||
|
||||
company_id = fields.Many2one(
|
||||
default=lambda self: self.env['res.company']._company_default_get('mrp.bom'),
|
||||
required=False
|
||||
)
|
||||
BIN
mrp_bom_multi_company/static/description/icon.png
Normal file
BIN
mrp_bom_multi_company/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
Reference in New Issue
Block a user