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

[WIP][17.0] [MIG]product_configurator_sale #112

Open
wants to merge 76 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
55865db
seperate sale order form wizard module added new sale module for same…
May 20, 2017
4cd75e3
added condition for the model checking
May 20, 2017
6be5f5a
remove _wizard module and added defualt wizard to base module, creati…
May 22, 2017
3d628ac
Small fixes & flake8
May 24, 2017
8f38544
General fixes and flake8
PCatinean May 25, 2017
4874cd0
Overriding product search to prevent configurable products usage in s…
PCatinean May 25, 2017
4bbeb81
Moved extra_lines_values to so wizard
PCatinean May 26, 2017
b59680e
Added subconfigurable products to configuration wizard
PCatinean Jun 11, 2017
5cf107c
General fixes and improvements
PCatinean Jun 26, 2017
2ea1a0f
Removed console.log, renamed __openerp__.py files to __manifest__.py
PCatinean Feb 20, 2018
7d69093
Bumped version to 11.0 and removed all traces of coding: utf-8 from p…
PCatinean May 14, 2018
72e153d
Kept application only for base and website + fixed _get_price_extra
PCatinean May 14, 2018
e052a9f
Using no-save deepcopy of event to replicate same functionality, adde…
PCatinean May 15, 2018
03cb64d
product_configurator_sale, product_configurator_purchase : add config…
bizzappdev Sep 11, 2018
2c33f96
Revert "[FIX][T1902]product_configurator_sale, product_configurator_p…
bizzappdev Sep 11, 2018
12eabd4
product_configurator_sale, product_configurator_purchase : add config…
bizzappdev Sep 11, 2018
cacefa8
fix flake8 error
bizzappdev Sep 11, 2018
9384042
product_configurator_sale, product_configurator_purchase : add class …
bizzappdev Sep 24, 2018
4a92c52
product_configurator,product_configurator_purchase,product_configurat…
bizzappdev Sep 25, 2018
1e805c8
product_configurator,product_configurator_purchase,product_cnofigurat…
bizzappdev Sep 25, 2018
786152c
product_configurator,product_configurator_sale,product_configurator_p…
bizzappdev Sep 25, 2018
9c0346d
fix flake8 error
bizzappdev Sep 25, 2018
ae42032
product_configurator : fix typing error, change method name, set clic…
bizzappdev Sep 25, 2018
3a1a7ab
Working version of sales_mrp glue module, no tests
PCatinean Sep 26, 2018
1b4d52e
Added context values to reconfigure method to fix reset missing values
PCatinean Sep 27, 2018
22251c7
product_configurator_sale : remove extra view
bizzappdev Sep 27, 2018
839840a
product_configurator_sale : add space
bizzappdev Sep 28, 2018
36e0f75
Added module description & removing invisible attribute of attr val l…
PCatinean Oct 19, 2018
78ede83
Using onchange to get values for new/edited sale order lines
PCatinean Feb 1, 2019
238e4d4
Updating initial line vals with missing fields dicts
PCatinean Feb 4, 2019
c853342
product_configurator_sale: call onchange after creating or writing on…
bizzappdev Apr 9, 2019
193bc0b
use onchange() instead of calling all onchane methods explicitly
bizzappdev Apr 9, 2019
d8bad8d
website_product_configurator:solved flake8 and pylints
May 27, 2019
d4004ab
product_configurator:improve the code and write test case for inverse…
Jun 6, 2019
d6ef0df
product_configurator:improve the code and write test case for inverse…
Jun 6, 2019
d283473
fix action_config_done in other modules, now check for incomplete step
bizzappdev Jun 6, 2019
fa1aa72
product_configurator_sale, product_configurator, product_configurator…
Jun 7, 2019
babb233
product_configurator: add new changes and fix some issue
bizzappdev Jun 19, 2019
f4a06ed
product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
8630123
product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
78ead54
fix default filter,add desciption, allow to keep value_id in attrline…
bizzappdev Jun 26, 2019
814d8c0
add onchange and remove related
bizzappdev Jun 26, 2019
66cf8f2
remove onchange and add readonly in config_ok on sol/pol/ml
bizzappdev Jun 27, 2019
d467542
product_configurator : write testcase
Jun 28, 2019
a7482ea
fix issue test-case issue in product_configurator_sale,stock,purchase
bizzappdev Jun 29, 2019
adb0581
demo file remove dealer and land field
bizzappdev Jun 29, 2019
a8b505b
fix pylint error
bizzappdev Jul 2, 2019
93b6540
change version in manifest file
bizzappdev Jul 26, 2019
1b8497e
Add installable False to module from version 12
bizzappdev Dec 26, 2019
94bb161
migrate product_configurator_sale to v13 from v12
bizzappdev Jan 2, 2020
c28e574
set sol name from meko template
bizzappdev Jan 2, 2020
f316851
use helper methods to call onchage
bizzappdev Jan 4, 2020
ef0ca15
make custom_value_ids related to config session instead of variant
bizzappdev Jan 4, 2020
d2c0683
fix field name custom_value_ids
bizzappdev Jan 6, 2020
b344a8f
fix comodel_name in name custom_value_ids
bizzappdev Jan 6, 2020
6ff7362
fix flake8
bizzappdev Jan 28, 2020
988c581
fix custom value ids
bizzappdev Nov 4, 2020
c71bf17
pre-commit
Chandresh-SerpentCS Apr 1, 2021
2ffb9ca
Modified the code as per v14.
Chandresh-OSI Apr 7, 2021
28b7e62
product_configurator_sale: add OCA readme
dreispt Apr 27, 2021
d1afdca
product_configurator_sale: fix log warnings on install
dreispt May 4, 2021
2021107
Add pcatinean as maintainer for all modules
PCatinean Jun 15, 2021
6747732
product_configurator_sale: avoid other module inheritance issues
dreispt Sep 23, 2021
0d5defe
product_configurator_sale (Add customer lead)
patrickrwilson Oct 19, 2021
8337175
product_configurator: remove price calculation from session and also …
pledrateam Oct 25, 2021
33a95b2
*: fix PCatinean maintainer
dreispt Dec 10, 2021
d952136
product_configurator_sale (Custom Values on Reconfigure)
patrickrwilson Feb 8, 2022
aecf54a
Fix context erasement
BenjaHe Apr 25, 2023
97dd4d4
product_configurator_sale: Migration to 16.0
dannyadair Jun 11, 2023
b0bdb12
product_configurator_sale: Compute price of all lines Also there is n…
SirAionTech Jan 11, 2024
7db05d8
product_configurator_sale: Version
SirAionTech Jan 11, 2024
9d0dc49
product_configurator_sale: Missing dependency Otherwise the following…
SirAionTech Jan 11, 2024
db5132e
product_configurator_sale: Show custom values in sale line
SirAionTech Jan 18, 2024
b5d9c31
[MIG] product_configurator_sale: Migrated in v17
Chirag-OSI Feb 20, 2024
0fda558
[FIX] removed unused fields.
Chirag-OSI Mar 6, 2024
42008e4
[IMP]ADD Sales Team User CSV.
Vandan-OSI Aug 29, 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
79 changes: 79 additions & 0 deletions product_configurator_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
=========================
Product Configurator Sale
=========================

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

.. |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_sale
: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_sale
: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 Sales 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_sale%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

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_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions product_configurator_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2021 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models
from . import wizard
22 changes: 22 additions & 0 deletions product_configurator_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (C) 2021 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Product Configurator Sale",
"version": "17.0.1.0.0",
"category": "Generic Modules/Sale",
"summary": "Product configuration interface modules for Sale",
"author": "Pledra, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/product-configurator",
"depends": ["sale_management", "product_configurator", "stock"],
"data": [
"security/ir.model.access.csv",
"data/menu_product.xml",
"views/sale_view.xml",
],
"demo": ["demo/res_partner_demo.xml"],
"installable": True,
"auto_install": True,
"development_status": "Beta",
"maintainers": ["PCatinean"],
}
13 changes: 13 additions & 0 deletions product_configurator_sale/data/menu_product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="sale.product_template_action" model="ir.actions.act_window">
<field
name="context"
>{&quot;search_default_filter_to_sell&quot;:1, &quot;search_default_filter_standard_products&quot;: 1, &quot;sale_multi_pricelist_product_template&quot;: 1}</field>
</record>
<record id="product.product_normal_action_sell" model="ir.actions.act_window">
<field
name="context"
>{&quot;search_default_filter_to_sell&quot;:1, &quot;search_default_filter_standard_products&quot;: 1}</field>
</record>
</odoo>
17 changes: 17 additions & 0 deletions product_configurator_sale/demo/res_partner_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="partenr_sale_1" model="res.partner">
<field name="name">Test Partner</field>
<field name="company_type">company</field>
<field
eval="[(0, 0, {'name': 'Partner Contact', 'type':'contact', 'email': '[email protected]'})]"
name="child_ids"
/>
<field name="street">31 Hong Kong street</field>
<field name="city">Taipei</field>
<field name="zip">106</field>
<field name="email">[email protected]</field>
<field name="phone">+15 56856895</field>
<field name="website">www.mycompany.com</field>
</record>
</odoo>
195 changes: 195 additions & 0 deletions product_configurator_sale/i18n/product_configurator_sale.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_configurator_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__attribute_line_ids
msgid "Attributes"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order_line__config_session_id
msgid "Config Session"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order_line__config_ok
msgid "Configurable"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__product_tmpl_id
msgid "Configurable Template"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__config_session_id
msgid "Configuration Session"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__name
msgid "Configuration Session Number"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__config_step_name
msgid "Configuration Step"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__config_step
msgid "Configuration Step ID"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__config_step_ids
msgid "Configuration Steps"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order_line__custom_value_ids
msgid "Configurator Custom Values"
msgstr ""

#. module: product_configurator_sale
#: model_terms:ir.ui.view,arch_db:product_configurator_sale.sale_order_form_config
msgid "Configure Product"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__create_uid
msgid "Created by"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__create_date
msgid "Created on"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__currency_id
msgid "Currency"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__custom_value_ids
msgid "Custom Values"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__display_name
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order__display_name
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__id
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order__id
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale____last_update
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order____last_update
#: model:ir.model.fields,field_description:product_configurator_sale.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__write_uid
msgid "Last Updated by"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__write_date
msgid "Last Updated on"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__order_id
msgid "Order"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__order_line_id
msgid "Order Line"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__product_preset_id
msgid "Preset"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__price
msgid "Price"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model,name:product_configurator_sale.model_product_configurator_sale
msgid "Product Configurator Sale"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__product_img
msgid "Product Img"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__product_id
msgid "Product Variant"
msgstr ""

#. module: product_configurator_sale
#: model_terms:ir.ui.view,arch_db:product_configurator_sale.sale_order_form_config
msgid "Reconfigure"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model,name:product_configurator_sale.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model,name:product_configurator_sale.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,help:product_configurator_sale.field_product_configurator_sale__product_id
msgid "Set only when re-configuring a existing variant"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__state
msgid "State"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__user_id
msgid "User"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__value_ids
msgid "Value"
msgstr ""

#. module: product_configurator_sale
#: model:ir.model.fields,field_description:product_configurator_sale.field_product_configurator_sale__weight
msgid "Weight"
msgstr ""
4 changes: 4 additions & 0 deletions product_configurator_sale/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2021 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import sale
Loading
Loading