-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by legalsylvain
- Loading branch information
Showing
22 changed files
with
1,087 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
==================== | ||
MRP Business Modules | ||
==================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:c47781e163265da0b149d6d4ea6ab9f41adbaf14e37e02e7dff3cd0a50197508 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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-grap%2Fgrap--odoo--custom-lightgray.png?logo=github | ||
:target: https://github.com/grap/grap-odoo-custom/tree/12.0/mrp_business | ||
:alt: grap/grap-odoo-custom | ||
|
||
|badge1| |badge2| |badge3| | ||
|
||
MRP methods that need to be tested before their own module | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
1) Generate code : Make BoM Numbering work for bom without product_product | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/grap/grap-odoo-custom/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/grap/grap-odoo-custom/issues/new?body=module:%20mrp_business%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 | ||
~~~~~~~~~~~~ | ||
|
||
* Quentin Dupont (quentin.dupont@grap.coop) | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is part of the `grap/grap-odoo-custom <https://github.com/grap/grap-odoo-custom/tree/12.0/mrp_business>`_ project on GitHub. | ||
|
||
You are welcome to contribute. |
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 @@ | ||
from . import models |
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,29 @@ | ||
# Copyright (C) 2022 - Today: GRAP (http://www.grap.coop) | ||
# @author: Quentin Dupont (quentin.dupont@grap.coop) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "MRP Business Modules", | ||
"summary": "MRP functions that meet the business needs of GRAP," | ||
"adapted for food-related professions", | ||
"version": "16.0.1.0.0", | ||
"category": "GRAP - Custom", | ||
"author": "GRAP", | ||
"website": "https://github.com/grap/grap-odoo-custom", | ||
"license": "AGPL-3", | ||
"depends": [ | ||
"mrp", | ||
], | ||
"demo": [ | ||
"demo/product.xml", | ||
"demo/bom.xml", | ||
], | ||
"data": [ | ||
"security/ir_rule.xml", | ||
"security/ir.model.access.csv", | ||
"views/view_mrp_bom.xml", | ||
"views/view_mrp_meal_category.xml", | ||
"views/view_product_product.xml", | ||
], | ||
"installable": True, | ||
} |
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,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2023 - Today: GRAP (http://www.grap.coop) | ||
@author: Quentin DUPONT (quentin.dupont@grap.coop) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<odoo> | ||
|
||
|
||
<!-- BoM n°1 : Tomato pie --> | ||
<record model="mrp.bom" id="demo_bom_tomato_pie"> | ||
<field name="code">TOMATO_PIE</field> | ||
<field name="product_tmpl_id" ref="mrp_business.demo_product_template_tomato_pie"/> | ||
</record> | ||
|
||
<record model="mrp.bom.line" id="demo_bom_tomato_pie_line_pie"> | ||
<field name="bom_id" ref="mrp_business.demo_bom_tomato_pie"/> | ||
<field name="product_id" ref="mrp_business.demo_product_pie"/> | ||
<field name="product_qty">1</field> | ||
</record> | ||
|
||
<record model="mrp.bom.line" id="demo_bom_tomato_pie_line_tomatoes"> | ||
<field name="bom_id" ref="mrp_business.demo_bom_tomato_pie"/> | ||
<field name="product_id" ref="mrp_business.demo_product_tomato"/> | ||
<field name="product_qty">0.5</field> | ||
</record> | ||
|
||
<record model="mrp.bom.line" id="demo_bom_tomato_pie_line_spinach"> | ||
<field name="bom_id" ref="mrp_business.demo_bom_tomato_pie"/> | ||
<field name="product_id" ref="mrp_business.demo_product_spinach"/> | ||
<field name="product_qty">0.3</field> | ||
</record> | ||
|
||
<record model="mrp.bom.line" id="demo_bom_tomato_pie_line_mustard"> | ||
<field name="bom_id" ref="mrp_business.demo_bom_tomato_pie"/> | ||
<field name="product_id" ref="mrp_business.demo_product_mustard"/> | ||
<field name="product_qty">0.1</field> | ||
</record> | ||
|
||
|
||
</odoo> |
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,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2022 - Today: GRAP (http://www.grap.coop) | ||
@author: Quentin DUPONT (quentin.dupont@grap.coop) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<odoo> | ||
|
||
|
||
<record model="product.product" id="demo_product_spinach"> | ||
<field name="name">Spinach</field> | ||
<field name="uom_id" ref="uom.product_uom_kgm"/> | ||
<field name="uom_po_id" ref="uom.product_uom_kgm"/> | ||
<field name="standard_price">4</field> | ||
</record> | ||
|
||
<record model="product.product" id="demo_product_tomato"> | ||
<field name="name">Tomatoes</field> | ||
<field name="uom_id" ref="uom.product_uom_kgm"/> | ||
<field name="uom_po_id" ref="uom.product_uom_kgm"/> | ||
<field name="standard_price">3</field> | ||
</record> | ||
|
||
<record model="product.product" id="demo_product_mustard"> | ||
<field name="name">Mustard</field> | ||
<field name="uom_id" ref="uom.product_uom_kgm"/> | ||
<field name="uom_po_id" ref="uom.product_uom_kgm"/> | ||
<field name="standard_price">10</field> | ||
</record> | ||
|
||
<record model="product.product" id="demo_product_pie"> | ||
<field name="name">Pie</field> | ||
<field name="standard_price">3</field> | ||
</record> | ||
|
||
<record model="product.template" id="demo_product_template_tomato_pie"> | ||
<field name="name">Tomato pie</field> | ||
</record> | ||
|
||
|
||
</odoo> |
Oops, something went wrong.