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

[17.0] [MIG] product_configurator_mrp #110

Draft
wants to merge 122 commits into
base: 17.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
779577e
[ADD] Added product_configurator_mrp module to repository
PCatinean Nov 26, 2016
e4060c9
de translations of product_configurator (Pledra)
tv-openbig Dec 29, 2016
7092824
[IMP] Fix mutable default arguments
Feb 6, 2017
d2a5180
Flake8 fixes (#47)
PCatinean Mar 30, 2017
57af5fb
Fix creation of BOM when create Variant
Auneor May 12, 2017
42c22be
Added mako template name generator, mrp routing on template and gener…
May 26, 2017
3343e6f
[FIX] General fixes
PCatinean May 26, 2017
9b0e859
[WIP] Basic subconfiguration process
PCatinean May 14, 2017
4544266
Added bom routing and other fixes
PCatinean May 26, 2017
558f70a
[WIP] onchange for attributes of regular subproducts
PCatinean May 29, 2017
2e275b9
Standard variant selection in configuration process with quantity
PCatinean Jun 5, 2017
d0ac2c7
[WIP] Adding quantities to attribute value related variants in wizard
PCatinean Jun 8, 2017
6a2dbe7
Added subconfigurable products to configuration wizard
PCatinean Jun 11, 2017
c7e74a1
Storing prefixes in @property making general management easier
PCatinean Jun 14, 2017
a403dcb
Added configurator on mrp.production
PCatinean Jun 15, 2017
c63f12f
Fixed subconfiguration flow, quantities and boms
PCatinean Jun 17, 2017
0d6f500
General fixes and improvements
PCatinean Jun 26, 2017
ffcf665
Added bom to mako context and removed duplicate code outside try/except
PCatinean Jun 27, 2017
0e30249
[FIX] Standard subproducts do not trigger subconfiguration
PCatinean Jun 27, 2017
5bc2827
Removed console.log, renamed __openerp__.py files to __manifest__.py
PCatinean Feb 20, 2018
d6ac163
Bumped version to 11.0 and removed all traces of coding: utf-8 from p…
PCatinean May 14, 2018
b37425e
[MIG] Kept application only for base and website + fixed _get_price_e…
PCatinean May 14, 2018
90e1cef
Update README, replace iteritems->items, minor fixes
PCatinean May 20, 2018
df7aee4
[WIP] Transfering subconfiguration functionality from MRP to separate…
PCatinean Jul 4, 2018
25dd492
[FIX]product_configurator, website_product_configurator, product_conf…
bizzappdev Jul 5, 2018
60416ec
[FIX][T1902] : fix singleton error(product.config.session), fix view …
bizzappdev Jul 6, 2018
093b41a
[FIX]descrition in order line was not getting proper value
bizzappdev Jul 9, 2018
3ba6e69
Moving config step related methods from product template to config se…
PCatinean Jul 9, 2018
4f77039
[FIX]product_configurator, website_product_configurator, product_conf…
bizzappdev Jul 5, 2018
dda3a6d
[FIX][T1902] : fix singleton error(product.config.session), fix view …
bizzappdev Jul 6, 2018
1543c17
[WIP] Transfering subconfiguration functionality from MRP to separate…
PCatinean Jul 4, 2018
0ec1553
Moving all configuration related logic from product.template to confi…
PCatinean Jul 12, 2018
9758897
Set product_configurator_mrp to uninstallable until fixing / refactoring
PCatinean Aug 30, 2018
1e473b1
[IMP]product_configurator_purchase,product_configurator_mrp: Change d…
bizzappdev Sep 19, 2018
abf115f
[WIP] MRP functionality for bom creation and update
PCatinean Sep 7, 2018
49626e1
[WIP] First create_get_bom version
PCatinean Sep 12, 2018
45a55cd
First passing test of wizard creating config lines
PCatinean Sep 17, 2018
244816d
First qty bom working version
PCatinean Sep 20, 2018
ad88f7d
Fixed extra loop on mrp wizard test
PCatinean Sep 20, 2018
4f16afa
Added access rules for config session lines
PCatinean Sep 20, 2018
85f0cfc
Removed old commented code
PCatinean Sep 21, 2018
735aa0e
[FIX] Fixed writes with just qty or just field or both in values
PCatinean Sep 24, 2018
7b90f43
[FIX] Minor fixes in code and tests
PCatinean Sep 24, 2018
a1a820c
[FIX] Added only active records in query search
PCatinean Sep 25, 2018
d44233b
Renamed product.config.session.line to bom.line for clarity, fixed qu…
PCatinean Sep 25, 2018
1b8e2f4
[WIP] Working version of sales_mrp glue module, no tests
PCatinean Sep 26, 2018
cae50f7
Added manufacture and mto routes to demo product template
PCatinean Sep 27, 2018
cd54ad0
Added module description & removing invisible attribute of attr val l…
PCatinean Oct 19, 2018
81d4ec8
[FIX] Re-added removed demo file + extra assert in test
PCatinean Oct 19, 2018
8596d92
11.0 ci overhaul
Oct 26, 2018
4f2ed24
Domain on bom line attribute values now discern between configurable …
Nov 8, 2018
d192cb6
[IMP] First version of bom line multiple configuration filtering
PCatinean Nov 29, 2018
7b62fd7
Reverse return bool as it refers to skipping lines, fix flake8 import
PCatinean Nov 30, 2018
b960ac5
[FIX] Fixed MRP bom explode filtering
PCatinean Dec 4, 2018
8f1edc6
Removed obsolete product.config.bom.line from ir.access.rules
PCatinean Dec 4, 2018
9edbb05
FIX bom line condition
herczegp Jan 7, 2019
fbcf77b
Fixes and improvements + calculating and displaying product weight in…
PCatinean Jan 16, 2019
a7985d4
Moved weight computation from mrp to core module
PCatinean Jan 16, 2019
04858dd
[FIX]product_configurator_mrp : remove group group_product_configurat…
bizzappdev Apr 4, 2019
bd6eb3f
[FIX] Removed outdated failing tests
PCatinean Apr 10, 2019
0b3b2e8
[ADD][#T00494]website_product_configurator:solved flake8 and pylintsc
May 27, 2019
c13447b
[ADD][#T00494]website_product_configurator:solved flake8 and pylints
May 27, 2019
4c9c6f3
[IMP]add security file in product_configurator_mrp
bizzappdev May 30, 2019
d759bb7
[FIX]fix action_config_done in other modules, now check for incomplet…
bizzappdev Jun 6, 2019
b580ec9
[FIX][T-00517]fix default filter,add desciption, allow to keep value_…
bizzappdev Jun 26, 2019
18b0a04
[FIX]add onchange and remove related
bizzappdev Jun 26, 2019
939489f
[FIX]change onchange methods name
bizzappdev Jun 26, 2019
049b81b
[FIX] product_configurator_mrp: fix issue action_config_done
bizzappdev Jun 27, 2019
3585954
[FIX]remove onchange and add readonly in config_ok on sol/pol/ml
bizzappdev Jun 27, 2019
ca6e327
[ADD][00513]product_config_mrp : write tetscase
Jun 28, 2019
e91f47e
[IMP][T-00513] website_product_configurator: write test-case for webs…
bizzappdev Jun 28, 2019
857805d
[WIP][00513]product_configurator : write testcase
Jun 28, 2019
2eccc09
[FIX][T-00513] fix issue test-case issue in product_configurator_sale…
bizzappdev Jun 29, 2019
de36537
[fix][00513]product_configurator_mrp : changes in testcase
Jun 29, 2019
9f56db9
[FIX][00517]product_config_mrp : chnage in product_configurator and m…
Jul 3, 2019
116ad3d
[FIX][T-00517]website_product_configurator: fix flake8
bizzappdev Jul 19, 2019
d62ae13
[FIX]fix flake8
bizzappdev Jul 23, 2019
fefb4f7
[ADD][00517]product_configurator : migration testcase for product_con…
Jul 23, 2019
cea7506
[FIX][00517] product_configurator,product_configurator_mrp : solve th…
Jul 24, 2019
c41b678
[FIX]change version in manifest file
bizzappdev Jul 26, 2019
49994a7
[FIX]remove action_confirm from create_get_variant and call it from c…
bizzappdev Sep 30, 2019
698f2b8
[IMP]Add installable False to module from version 12
bizzappdev Dec 26, 2019
9ca7108
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
81bf85c
Revert "[IMP][T3186]add domain in restriction"
bizzappdev Dec 31, 2019
ae22e13
[WIP][T3203]migrate product_configurator_mrp to v13
bizzappdev Jan 3, 2020
b373d96
[WIP][T3203]copy context before pass it to safe_eval
bizzappdev Jan 3, 2020
539bb5a
[IMP][T3203]call onchage for mrp order
bizzappdev Jan 4, 2020
9b2395b
Revert "[IMP][T3203]call onchage for mrp order"
bizzappdev Jan 4, 2020
27be4c7
[IMP][T3203]call onchage for mrp order
bizzappdev Jan 4, 2020
b47a66a
[IMP][T3203]add configure button on MO just after create and add reco…
bizzappdev Jan 7, 2020
f4e946b
[FIX][T3203]add custom value ids and config session id in mrp. produc…
bizzappdev Feb 10, 2020
e484fdd
[FIX][T3203]fix flake8
bizzappdev Feb 10, 2020
26788aa
[FIX]fix flake8
bizzappdev Feb 11, 2020
70c0ca4
[FIX]fix custom value ids
bizzappdev Nov 4, 2020
e76a4df
[IMP] pre-commit before migration.
Chandresh-OSI Apr 7, 2021
be62b42
[MIG] Migrated the code in v14, pre-commit.
Chandresh-OSI Apr 8, 2021
2652ae4
[FIX] LINT
patrickrwilson May 17, 2021
2b3f7bd
[FIX] Lint
patrickrwilson May 17, 2021
74df4d6
[FIX] Error in action_config_done
patrickrwilson May 18, 2021
b1060a0
[IMP] Added readme Folder
patrickrwilson May 18, 2021
2d55144
[FIX][T-01690]product_configurator_mrp: make reconfigure button invis…
pledrateam May 26, 2021
0cde768
[IMP] Working Config Set
patrickrwilson May 24, 2021
0133761
Add pcatinean as maintainer for all modules
PCatinean Jun 15, 2021
fc985d1
[FIX] product_configurator: error configuring a product
Sep 8, 2021
09a0ee0
[IMP]product_configurator_mrp: When configurator creates a new BOM, i…
vimalpatelserpentcs Dec 3, 2021
720e87d
[REF] *: fix PCatinean maintainer
dreispt Dec 10, 2021
87457d5
[FIX] Fixed an issue in product configurator mrp module.
Chandresh-OSI Feb 4, 2022
eb9e117
[FIX] product_configurator_mrp (Variant BoM Components Duplicated)
patrickrwilson Feb 10, 2022
da02aba
Update product_configurator_mrp/models/product_config.py
patrickrwilson Feb 16, 2022
c2418c9
[14.0] [FIX] product_configurator_mrp product_qty
Jun 13, 2022
d825cb2
[14.0] [FIX] Fix context erasement
BenjaHe Apr 25, 2023
55467f1
[IMP] product_configurator_mrp: pre-commit execution
SirAionTech Jan 11, 2024
3cf4a9d
[MIG] product_configurator_mrp: Migration to 16.0
SirAionTech Jan 11, 2024
2a42117
[FIX] Pre-commit
Murtaza-OSI Feb 16, 2024
a8c7451
[MIG] product_configurator_mrp: migrated to 17.0
Murtaza-OSI Feb 16, 2024
1662454
[FIX] peoduct_configurator_mrp: pre-commit
dreispt Feb 22, 2024
6058526
[IMP]product_configurator_mrp: Parent Bom Type for New Variant of Pr…
Vandan-OSI Jun 5, 2024
e13028a
[IMP] Improved code for scaffolding bom
Nikul-OSI Aug 6, 2024
68d507c
[IMP]Add Sudo While Create MRP BOM.
Vandan-OSI Aug 29, 2024
6bee67a
[IMP]Code for alert box.
Vandan-OSI Sep 5, 2024
4675126
[IMP]IMP Code for ID .
Vandan-OSI Sep 6, 2024
cfa90ae
[IMP]PLM ECO Modifications with Scaffolding BOM
Vandan-OSI Sep 25, 2024
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
88 changes: 88 additions & 0 deletions product_configurator_mrp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
==================================
Product Configurator Manufacturing
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f57ae9cbefa8b335475e030e097ae2d2e530a627f774b11a501fb3231af06fe4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fproduct--configurator-lightgray.png?logo=github
:target: https://github.com/OCA/product-configurator/tree/17.0/product_configurator_mrp
:alt: OCA/product-configurator
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-configurator-17-0/product-configurator-17-0-product_configurator_mrp
: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/product-configurator&target_branch=17.0
:alt: Try me on Runboat

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

Product Configurator wizard available on Manufacturing Orders.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-configurator/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/product-configurator/issues/new?body=module:%20product_configurator_mrp%0Aversion:%2017.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
-------

* Pledra

Contributors
------------

- ``Aion Tech <https://aiontech.company>``\ \_\_\_\_:

- Simone Rubino [email protected]

- Murtaza Mithaiwala [email protected]

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-PCatinean| image:: https://github.com/PCatinean.png?size=40px
:target: https://github.com/PCatinean
:alt: PCatinean

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

|maintainer-PCatinean|

This module is part of the `OCA/product-configurator <https://github.com/OCA/product-configurator/tree/17.0/product_configurator_mrp>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions product_configurator_mrp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2021 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
33 changes: 33 additions & 0 deletions product_configurator_mrp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (C) 2021 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Configurator Manufacturing",
"version": "17.0.1.0.0",
"category": "Manufacturing",
"summary": "BOM Support for configurable products",
"author": "Pledra, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/product-configurator",
"depends": ["mrp_account", "product_configurator"],
"data": [
"data/menu_product.xml",
"views/mrp_view.xml",
"security/configurator_security.xml",
"security/ir.model.access.csv",
],
"assets": {
"web.assets_backend": [
"/product_configurator_mrp/static/src/js/list_controller.js",
"/product_configurator_mrp/static/src/js/kanban_controller.js",
"/product_configurator_mrp/static/src/js/form_controller.js",
"/product_configurator_mrp/static/src/scss/mrp_config.scss",
"/product_configurator_mrp/static/src/xml/mrp_production_views.xml",
],
},
"demo": ["demo/product_template.xml"],
"installable": True,
"auto_install": False,
"development_status": "Beta",
"maintainers": ["PCatinean"],
}
14 changes: 14 additions & 0 deletions product_configurator_mrp/data/menu_product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<odoo>

<record id="mrp.product_template_action" model="ir.actions.act_window">
<field
name="context"
>{&quot;search_default_consumable&quot;: 1, &quot;default_type&quot;: &quot;product&quot;, &quot;search_default_filter_standard_products&quot;: 1}</field>
</record>
<record id="mrp.mrp_product_variant_action" model="ir.actions.act_window">
<field
name="context"
>{&quot;search_default_filter_standard_products&quot;: 1}</field>
</record>

</odoo>
103 changes: 103 additions & 0 deletions product_configurator_mrp/demo/product_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<odoo>
<!-- TODO: Workaround until we add more demo data Services + Products -->
<record id="product_configurator.bmw_2_series" model="product.template">
<field name="type">product</field>
<field
eval="[(6, 0, [ref('stock.route_warehouse0_mto'), ref('mrp.route_warehouse0_manufacture')])]"
name="route_ids"
/>
</record>
<record id="product_configurator.product_bmw_sport_line" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_bmw_luxury_line" model="product.product">
<field name="type">product</field>
</record>
<record
id="product_configurator.product_bmw_model_sport_line"
model="product.product"
>
<field name="type">product</field>
</record>
<record
id="product_configurator.product_bmw_model_luxury_line"
model="product.product"
>
<field name="type">product</field>
</record>
<record id="product_configurator.product_bmw_model_m_sport" model="product.product">
<field name="type">product</field>
</record>
<record
id="product_configurator.product_bmw_model_advantage"
model="product.product"
>
<field name="type">product</field>
</record>
<record
id="product_configurator.product_2_series_transmission_steptronic"
model="product.product"
>
<field name="type">product</field>
</record>
<record
id="product_configurator.product_2_series_transmission_steptronic_sport"
model="product.product"
>
<field name="type">product</field>
</record>
<record id="product_configurator.product_2_series_sunroof" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_2_series_armrest" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_2_series_towhook" model="product.product">
<field name="type">product</field>
</record>
<record
id="product_configurator.product_2_series_smoker_package"
model="product.product"
>
<field name="type">product</field>
</record>
<record id="product_configurator.product_engine_218i_coupe" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_engine_220i_coupe" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_engine_228i_coupe" model="product.product">
<field name="type">product</field>
</record>
<record
id="product_configurator.product_engine_m235i_coupe"
model="product.product"
>
<field name="type">product</field>
</record>
<record
id="product_configurator.product_engine_m2351_xdrive_coupe"
model="product.product"
>
<field name="type">product</field>
</record>
<record id="product_configurator.product_engine_218d_coupe" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_engine_220d_coupe" model="product.product">
<field name="type">product</field>
</record>
<record
id="product_configurator.product_engine_220d_xdrive_coupe"
model="product.product"
>
<field name="type">product</field>
</record>
<record id="product_configurator.product_engine_225d_coupe" model="product.product">
<field name="type">product</field>
</record>
<record id="product_configurator.product_paint_silver" model="product.product">
<field name="type">product</field>
</record>
</odoo>
Loading
Loading