-
-
Notifications
You must be signed in to change notification settings - Fork 983
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 gurneyalex
- Loading branch information
Showing
91 changed files
with
9,496 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,94 @@ | ||
======================== | ||
Sale product set variant | ||
======================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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%2Fsale--workflow-lightgray.png?logo=github | ||
:target: https://github.com/OCA/sale-workflow/tree/12.0-mig-sale_product_set_variant-pad-bizz/sale_product_set_variant | ||
:alt: OCA/sale-workflow | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/sale-workflow-12-0-mig-sale_product_set_variant-pad-bizz/sale-workflow-12-0-mig-sale_product_set_variant-pad-bizz-sale_product_set_variant | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/167/12.0-mig-sale_product_set_variant-pad-bizz | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
Extension of the `Sale Product set` module to make it work with variants. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
* Activate product variants in `Sale -> settings` | ||
* Create a product set from `Sales -> Sales -> Product Set` | ||
* On the set specify product variants for templates (optional) and quantity | ||
* Create a sale order | ||
* Press the "Add set" button | ||
* Select a set, choose the multiplier for the quantities | ||
* Select Variants if they were not selected before (required) | ||
* Press "Add set" | ||
|
||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/167/11.0 | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_product_set_variant%0Aversion:%2012.0-mig-sale_product_set_variant-pad-bizz%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 | ||
~~~~~~~ | ||
|
||
* Camptocamp | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Denis Leemann <denis.leemann@camptocamp.com> | ||
* Mykhailo Panarin <m.panarin@mobilunity.com> | ||
* Simone Orsi <simone.orsi@camptocamp.com> | ||
* Ruchir Shukla <ruchir@bizzappdev.com> | ||
* Parth Dave <parth.dave@bizzappdev.com> | ||
|
||
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. | ||
|
||
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/12.0-mig-sale_product_set_variant-pad-bizz/sale_product_set_variant>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/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,2 @@ | ||
from . import models | ||
from . import wizard |
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,21 @@ | ||
# Copyright 2017-2018 Camptocamp SA | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
{ | ||
'name': 'Sale product set variant', | ||
'category': 'Sale', | ||
'license': 'AGPL-3', | ||
'author': 'Camptocamp, Odoo Community Association (OCA)', | ||
'version': '12.0.1.0.0', | ||
'website': 'https://github.com/OCA/sale-workflow', | ||
'summary': "Add variant management to sale product set.", | ||
'depends': [ | ||
'sale_product_set', | ||
], | ||
'data': [ | ||
'views/product_set.xml', | ||
'wizard/product_set_add.xml', | ||
], | ||
'demo': [ | ||
'demo/product_set.xml', | ||
], | ||
} |
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,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
<record id="product_set_i5_computer" model="product.set"> | ||
<field name="name">i5 computer offer</field> | ||
</record> | ||
|
||
<record id="product_set_i3_computer" model="product.set"> | ||
<field name="name">i3 computer offer</field> | ||
</record> | ||
|
||
<record id="product_set_line_computer_1" model="product.set.line"> | ||
<field name="product_set_id" ref="product_set_i5_computer"/> | ||
<field name="product_template_id" ref="product.product_product_4_product_template"/> | ||
<field name="product_variant_ids" eval="[(4,ref('product.product_product_4b'))]"/> | ||
<field name="quantity">1</field> | ||
<field name="sequence">30</field> | ||
</record> | ||
<record id="product_set_line_computer_3" model="product.set.line"> | ||
<field name="product_set_id" ref="product_set_i5_computer"/> | ||
<field name="product_template_id" ref="product.product_product_4_product_template"/> | ||
<field name="product_variant_ids" eval="[(4,ref('product.product_product_4c'))]"/> | ||
<field name="quantity">1</field> | ||
<field name="sequence">50</field> | ||
</record> | ||
|
||
<record id="product_set_line_computer_2" model="product.set.line"> | ||
<field name="product_set_id" ref="product_set_i3_computer"/> | ||
<field name="product_template_id" ref="product.product_product_4_product_template"/> | ||
<field name="quantity">1</field> | ||
<field name="sequence">30</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,123 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_product_set_variant | ||
# | ||
# Translators: | ||
# OCA Transbot <transbot@odoo-community.org>, 2018 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-01-23 03:41+0000\n" | ||
"PO-Revision-Date: 2018-01-23 03:41+0000\n" | ||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n" | ||
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" | ||
"Language: am\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_create_uid | ||
msgid "Created by" | ||
msgstr "Creado por" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_create_date | ||
msgid "Created on" | ||
msgstr "Creado en" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line___last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_write_uid | ||
msgid "Last Updated by" | ||
msgstr "Última actualización por" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_write_date | ||
msgid "Last Updated on" | ||
msgstr "Última actualización en" | ||
|
||
#. module: sale_product_set_variant | ||
#: code:addons/sale_product_set_variant/wizard/product_set_add.py:80 | ||
#, python-format | ||
msgid "No selected product_template_id in Product Set" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: code:addons/sale_product_set_variant/wizard/product_set_add.py:118 | ||
#, python-format | ||
msgid "Please select the appropriate product variants for product {}" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_product_template_id | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_product_variant_ids | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_line_product_template_id | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model,name:sale_product_set_variant.model_product_set_line | ||
msgid "Product set line" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_set_line_ids | ||
msgid "Products" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_quantity | ||
msgid "Quantity" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_sequence | ||
msgid "Sequence" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_product_set_id | ||
msgid "Set" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_source_line_id | ||
msgid "Source Line" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_line_product_variant_ids | ||
msgid "Variant" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model.fields,field_description:sale_product_set_variant.field_product_set_add_line_wiz_id | ||
msgid "Wiz" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model,name:sale_product_set_variant.model_product_set_add | ||
msgid "Wizard model to add product set into a quotation" | ||
msgstr "" | ||
|
||
#. module: sale_product_set_variant | ||
#: model:ir.model,name:sale_product_set_variant.model_product_set_add_line | ||
msgid "product.set.add.line" | ||
msgstr "" |
Oops, something went wrong.