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

[18.0][MIG] product_pack: Migration to 18.0 #189

Open
wants to merge 100 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
c7f36ca
INIT
jjscarafia Jun 8, 2014
3fe8bf7
[FIX] traslation and clean modules
Sep 24, 2014
05af839
[IMP/FIX] product pack
jjscarafia Jan 26, 2015
3f47c22
IMP
May 27, 2015
8d6ff35
[IMP/FIX] product_pack
jjscarafia Jul 23, 2015
c41dfdd
9.0-fix-product_pack (#110)
nicomacr Nov 28, 2017
6ada653
FIX product pack on sale orders with pop up for lines
jjscarafia Jan 9, 2018
b74f0a1
[MIG] Make modules uninstallable
adhoc-transbot Mar 23, 2018
63c31b9
[REL] init repository v11 (#122)
jjscarafia Mar 23, 2018
2cde691
[REL] migration product_pack to 11.0 (#145)
nicomacr May 22, 2018
f261ba9
[IMP] product pack access rights
jjscarafia Dec 12, 2018
492d4fe
[FIX] compatibility with price_security and product_pack with discoun…
nicomacr Dec 18, 2018
45f0b37
[ADD] product_pack: Compatibility 11.0 and multiples improves. (#185)
zaoral Jan 30, 2019
3dfe593
[FIX] the stock calculation from product packs if see from product te…
nicomacr Feb 15, 2019
d4be034
[FIX] product_pack: Take into account both pricelist and pack line di…
zaoral Feb 26, 2019
ff0085d
[IMP] product pack compatibility with ecommerce and update prices (#202)
jjscarafia Mar 11, 2019
ec94632
[FIX] product_pack: remove price and discount if the parent pack it's…
nicomacr Mar 14, 2019
d6e689b
OCA Transbot updated translations from Transifex
adhoc-transbot Sep 10, 2015
45fc02c
[ADD] product_pack: allows you to set product packs
ernestotejeda Aug 14, 2019
ef09b23
[UPD] Update product_pack.pot
oca-travis Oct 1, 2019
5bdecfc
[UPD] README.rst
OCA-git-bot Oct 1, 2019
7af702a
[ADD] icon.png
OCA-git-bot Oct 1, 2019
c8b8e39
[IMP] product_pack: convert amount to price list currency
ernestotejeda Oct 3, 2019
52d8313
[IMP] product_pack: better english, fix error in steps (#5)
zeroheure Oct 17, 2019
ffc7581
[UPD] README.rst
OCA-git-bot Oct 17, 2019
ca73488
[MIG][FIX] product_pack: Extra comma in SQL
pedrobaeza Nov 16, 2019
d82c8e2
Added translation using Weblate (Portuguese)
pedrocs-exo Dec 12, 2019
7c233f1
Translated using Weblate (Portuguese)
pedrocs-exo Dec 12, 2019
9f8b611
[MIG][FIX] product_pack: Avoid to put values on non packs
pedrobaeza Dec 16, 2019
5174553
Added translation using Weblate (Catalan)
CarlesAntoli Dec 27, 2019
7189310
Translated using Weblate (Catalan)
CarlesAntoli Dec 27, 2019
f7ade68
[12.0] [FIX] product_pack : use sudo in the get_pack_lines method
nicomacr Apr 13, 2020
60a7e1d
product_pack 12.0.1.0.1
OCA-git-bot Apr 21, 2020
d92ccbc
Added translation using Weblate (French)
ypapouin May 27, 2020
d1647d6
Translated using Weblate (French)
ypapouin May 27, 2020
d0b1858
Translated using Weblate (French)
ypapouin May 28, 2020
eb0fcd1
[IMP] product_pack: black, isort, prettier
jjscarafia Jun 7, 2020
ca5e0dd
[MIG] product_pack: Migration to 13.0
jjscarafia Jun 7, 2020
e05aa44
[UPD] Update product_pack.pot
oca-travis Jul 7, 2020
3d3e016
[UPD] README.rst
OCA-git-bot Jul 7, 2020
d7b3f19
Update translation files
oca-transbot Jul 13, 2020
a761265
Update translation files
oca-transbot Aug 16, 2020
b2f0e87
Added translation using Weblate (Dutch)
bosd Dec 13, 2020
b5035fc
Translated using Weblate (Dutch)
bosd Dec 13, 2020
08b3dc3
[13.0] [IMP] product_pack: Use sudo to access to packs lines
nicomacr Feb 25, 2021
5538d3d
product_pack 13.0.1.0.1
OCA-git-bot Mar 18, 2021
a3a5be8
[13.0] [FIX] product_pack: Use sudo when calculate the price and the …
nicomacr Apr 29, 2021
c84f4cb
product_pack 13.0.1.0.2
OCA-git-bot May 17, 2021
8feaddd
[FIX] product_pack: Solve the problem with the packs and the user wit…
nicomacr Jun 9, 2021
2f8385d
product_pack 13.0.1.0.3
OCA-git-bot Jun 10, 2021
014ce26
[MIG] product_pack: Migration to 14.0
Aug 31, 2021
edc8f6d
[UPD] Update product_pack.pot
oca-travis Sep 18, 2021
a16ce61
[UPD] README.rst
OCA-git-bot Sep 18, 2021
10f4ff6
[14.0][IMP] product_pack: Add tests
rousseldenis Dec 13, 2021
152cbf7
[UPD] README.rst
OCA-git-bot Dec 15, 2021
f1fcfe7
product_pack 14.0.1.0.1
OCA-git-bot Dec 15, 2021
3a982fa
[14.0][IMP] product_pack: Change pack type to display type
rousseldenis Dec 16, 2021
dedd494
[UPD] Update product_pack.pot
oca-travis Jan 14, 2022
88fa5bb
Update translation files
oca-transbot Jan 14, 2022
f8386ef
Added translation using Weblate (Swedish)
simonstromb Feb 17, 2022
9173ff4
Translated using Weblate (Swedish)
simonstromb Feb 17, 2022
2087a34
Translated using Weblate (Catalan)
Noel000 Feb 28, 2022
f6a6cbb
[14.0][IMP] product_pack: Pack modifiable visible on detailed lines
rousseldenis Mar 15, 2022
3aebe7b
[UPD] Update product_pack.pot
oca-travis May 30, 2022
c4b6f3e
product_pack 14.0.1.1.0
OCA-git-bot May 30, 2022
9ae55e2
Update translation files
oca-transbot May 30, 2022
655b130
[MIG]product_pack: Migration to 15.0
manuelregidor Jun 1, 2022
abd80bd
[UPD] Update product_pack.pot
Jun 9, 2022
fdbca45
[UPD] README.rst
OCA-git-bot Jun 9, 2022
bc1523a
[FIX] product_pack: Compute directly the price on pricelists
pedrobaeza Jul 11, 2022
d6ac303
[UPD] Update product_pack.pot
Jan 2, 2023
5717b15
product_pack 15.0.1.0.1
OCA-git-bot Jan 2, 2023
06e8dd8
Update translation files
weblate Jan 2, 2023
9027b04
[MIG] product_pack: Migration to 16.0
FrancoMaxime Feb 21, 2023
59520db
[UPD] Update product_pack.pot
Feb 28, 2023
e9c8b6a
[UPD] README.rst
OCA-git-bot Feb 28, 2023
d9f95e2
Update translation files
weblate Feb 28, 2023
89aac83
[FIX] product_pack - Allows product_pack to use pricelist
FrancoMaxime Mar 15, 2023
1c6415c
[UPD] Update product_pack.pot
Jun 5, 2023
5fea03b
Update translation files
weblate Jun 5, 2023
7ffda4d
[16.0][FIX] product_pack: pack_line_ids on product.product
Christian-RB Jul 20, 2023
3138e83
product_pack 16.0.1.1.0
OCA-git-bot Jul 20, 2023
c87307d
[UPD] README.rst
OCA-git-bot Sep 3, 2023
eed4f69
[MIG] product_pack: Migration to 17.0
bruno-zanotti Apr 15, 2024
c8df465
[UPD] Update product_pack.pot
Apr 18, 2024
b8bf7e9
Update translation files
weblate Apr 18, 2024
54a6605
Added translation using Weblate (Italian)
mymage Apr 19, 2024
08bde0e
Translated using Weblate (Italian)
mymage Apr 19, 2024
5d8f7a6
Added translation using Weblate (German)
NICO-SOLUTIONS Apr 21, 2024
f419819
Translated using Weblate (Spanish)
Ivorra78 Apr 24, 2024
6ed85d6
Translated using Weblate (Swedish)
jakobkrabbe Jun 11, 2024
101953f
Translated using Weblate (Italian)
mymage Jul 4, 2024
8fb41e4
[REF] product_pack: Price computation refactor
bruno-zanotti Oct 7, 2023
6c75bfc
[REF] product_pack: exception packs totalized and non-detailed
bruno-zanotti May 14, 2024
399ce6f
[IMP] product_pack: improve README
bruno-zanotti May 17, 2024
1c65aa7
[UPD] Update product_pack.pot
Nov 4, 2024
0cf3511
[BOT] post-merge updates
OCA-git-bot Nov 4, 2024
8c0b3ae
Update translation files
weblate Nov 4, 2024
6f321f0
Translated using Weblate (Italian)
mymage Nov 5, 2024
8a749f9
[MIG] product_pack: Migration to 18.0
ALopez-Adhoc Nov 20, 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
165 changes: 165 additions & 0 deletions product_pack/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
============
Product Pack
============

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

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

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

This module allows you to define a product as a *Product Pack*. Each
*Product Pack* has a list of products that are part of this pack.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to *Sales > Products > Products*, create a product and set "Is Pack?".
#. Set *Pack Type* and *Pack component price*.
#. Then choose the products to include in the pack.

`Product pack` is a base module for `sale_product_pack` and other modules that
needs to use packs. `Pack type` and `Pack component price` are used to define
the behavior that the packs will have when it is selected in the sales order
lines (if `sale_product_pack` module is installed).
The options of this field are the followings:

`Pack type`:

* Detailed: It allows you to select an option defined in
`Pack component price` field.
* Non Detailed: Will not show the components information,
only the pack product and the price will be the its price plus the sum of
all the components prices.

`Pack component price`:

* Detailed per component: will show each components and its prices,
including the pack product itself with its price.
* Totalized in main product: will show each component but will not show
components prices. The pack product will be the only one that has price
and this one will be its price plus the sum of all the components prices.
* Ignored: will show each components but will not show
components prices. The pack product will be the only one that has price
and this one will be the price set in the pack product.

+-----------------------------+-----------------------------+---------------------------------+-----------------------------------------+----------------------+
| **Pack type** | **Show components on SO?** | **Sale price** | **Discount** | **Can be modified?** |
+=============================+=============================+=================================+=========================================+======================+
| **Detailed per components** | Yes, with their prices | Components + Pack | Applies to the price of the pack and | Yes, configurable |
| | | | the components | |
+-----------------------------+-----------------------------+---------------------------------+-----------------------------------------+----------------------+
| **Detailed - Totalized** | Yes, with their prices at 0 | Components | Applies to the total (pack + components)| No |
+-----------------------------+-----------------------------+---------------------------------+-----------------------------------------+----------------------+
| **Detailed - Ignored** | Yes, with their prices at 0 | Only Pack | Applies to the pack | No |
+-----------------------------+-----------------------------+---------------------------------+-----------------------------------------+----------------------+
| **No detailed** | No | Components | Applies to the total (pack + components)| No |
+-----------------------------+-----------------------------+---------------------------------+-----------------------------------------+----------------------+

**Note:** If pricelist enabled, Odoo will display the price according to the corresponding pricelist. In the case of a pricelist with discount policy "Show public price & discount to the customer" keep in mind that the "Non Detailed" and "Detailed - Totalized in main product" packs do not display the discount.

Known issues / Roadmap
======================

* It could add another *Pack Type* called maybe *merged* in *Packs*, in which
the calculation of the related sale order line *Unit Price* is equal to
*main product Pack price* + *sum of all its component*
* Make *product.pack.line* multi-company

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

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

* NaN·tic
* ADHOC SA
* Tecnativa

Contributors
~~~~~~~~~~~~

* `ADHOC SA <https://www.adhoc.com.ar>`_:

* Juan José Scarafía
* Nicolas Mac Rouillon
* Katherine Zaoral
* Bruno Zanotti
* Augusto Weiss
* Nicolas Col
* `NaN·TIC <http://www.nan-tic.com>`_
* `Tecnativa <https://www.tecnativa.com>`_:

* Ernesto Tejeda
* Pedro M. Baeza
* Jairo Llopis
* Sergio Teruel
* `Sygel <https://www.sygel.es>`_:

* Manuel Regidor

* `Acsone <https://www.acsone.eu/>`_:

* Maxime Franco

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

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

|maintainer-ernestotejeda|

This module is part of the `OCA/product-pack <https://github.com/OCA/product-pack/tree/16.0/product_pack>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions product_pack/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models
23 changes: 23 additions & 0 deletions product_pack/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2019 NaN (http://www.nan-tic.com) - Àngel Àlvarez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Product Pack",
"version": "18.0.1.0.0",
"category": "Product",
"summary": "This module allows you to set a product as a Pack",
"website": "https://github.com/OCA/product-pack",
"author": "NaN·tic, ADHOC SA, Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["ernestotejeda"],
"license": "AGPL-3",
"depends": ["product"],
"data": [
"security/ir.model.access.csv",
"views/product_pack_line_views.xml",
"views/product_template_views.xml",
"views/product_product_views.xml",
],
"demo": ["demo/product_product_demo.xml", "demo/product_pack_line_demo.xml"],
"installable": True,
"auto_install": False,
"application": False,
}
95 changes: 95 additions & 0 deletions product_pack/demo/product_pack_line_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 Tecnativa - Ernesto Tejeda
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="pack_cpu_detailed_components_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_components" />
<field name="product_id" ref="product.product_product_20" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_components_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_components" />
<field name="product_id" ref="product.product_product_16" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_components_4" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_components" />
<field name="product_id" ref="product.product_product_24" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_totalized_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_totalized" />
<field name="product_id" ref="product.product_product_20" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_totalized_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_totalized" />
<field name="product_id" ref="product.product_product_16" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_totalized_4" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_totalized" />
<field name="product_id" ref="product.product_product_24" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_ignored_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_ignored" />
<field name="product_id" ref="product.product_product_20" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_ignored_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_ignored" />
<field name="product_id" ref="product.product_product_16" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_detailed_ignored_4" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_detailed_ignored" />
<field name="product_id" ref="product.product_product_24" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_non_detailed_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_non_detailed" />
<field name="product_id" ref="product.product_product_20" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_non_detailed_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_non_detailed" />
<field name="product_id" ref="product.product_product_16" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_cpu_non_detailed_4" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_cpu_non_detailed" />
<field name="product_id" ref="product.product_product_24" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_pc_detailed_components_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_pc_detailed_components" />
<field name="product_id" ref="product.product_product_12" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_pc_detailed_components_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_pc_detailed_components" />
<field name="product_id" ref="product_pack_cpu_detailed_components" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_pc_detailed_totalized_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_pc_detailed_totalized" />
<field name="product_id" ref="product.product_product_12" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_pc_detailed_totalized_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_pc_detailed_totalized" />
<field name="product_id" ref="product_pack_cpu_detailed_totalized" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_pc_detailed_ignored_1" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_pc_detailed_ignored" />
<field name="product_id" ref="product.product_product_12" />
<field name="quantity" eval="1.0" />
</record>
<record id="pack_pc_detailed_ignored_3" model="product.pack.line">
<field name="parent_product_id" ref="product_pack_pc_detailed_ignored" />
<field name="product_id" ref="product_pack_cpu_detailed_ignored" />
<field name="quantity" eval="1.0" />
</record>
</odoo>
74 changes: 74 additions & 0 deletions product_pack/demo/product_product_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 Tecnativa - Ernesto Tejeda
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="product_pack_cpu_detailed_components" model="product.product">
<field name="name">Pack CPU (Detailed - Displayed Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">detailed</field>
<field name="pack_component_price">detailed</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
<record id="product_pack_cpu_detailed_totalized" model="product.product">
<field name="name">Pack CPU (Detailed - Totalized Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">detailed</field>
<field name="pack_component_price">totalized</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
<record id="product_pack_cpu_detailed_ignored" model="product.product">
<field name="name">Pack CPU (Detailed - Ignored Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">detailed</field>
<field name="pack_component_price">ignored</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
<record id="product_pack_cpu_non_detailed" model="product.product">
<field name="name">Pack CPU (Non Detailed - Totalized Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">non_detailed</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
<record id="product_pack_pc_detailed_components" model="product.product">
<field name="name">Pack PC (Detailed - Displayed Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">detailed</field>
<field name="pack_component_price">detailed</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
<record id="product_pack_pc_detailed_totalized" model="product.product">
<field name="name">Pack PC (Detailed - Totalized Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">detailed</field>
<field name="pack_component_price">totalized</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
<record id="product_pack_pc_detailed_ignored" model="product.product">
<field name="name">Pack PC (Detailed - Ignored Components Price)</field>
<field name="categ_id" ref="product.product_category_4" />
<field name="pack_ok" eval="True" />
<field name="pack_type">detailed</field>
<field name="pack_component_price">ignored</field>
<field name="standard_price">20.5</field>
<field name="list_price">30.75</field>
<field name="type">service</field>
</record>
</odoo>
Loading
Loading