-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '16.0' into odoo-addons16-purchase_order_packaging_report
- Loading branch information
Showing
25 changed files
with
279 additions
and
262 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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
============================== | ||
Stock picking packaging report | ||
============================== | ||
=================== | ||
Product alternative | ||
=================== | ||
|
||
* In stock picking report print packaging. | ||
* On the products form, display the "Optional Products", "Accessory Products", | ||
and "Alternative Products" fields, on a new tab called "Alternatives". | ||
|
||
Bug Tracker | ||
=========== | ||
|
@@ -23,6 +24,5 @@ Credits | |
|
||
Contributors | ||
------------ | ||
|
||
* Ana Juaristi <[email protected]> | ||
* Ana Juaristi <[email protected]> | ||
* Alfredo de la Fuente <[email protected]> |
Empty file.
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,16 @@ | ||
# Copyright 2024 Alfredo de la Fuente - AvanzOSC | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
{ | ||
"name": "Product Alternative", | ||
"version": "16.0.1.0.0", | ||
"license": "AGPL-3", | ||
"category": "Sales/Sales", | ||
"author": "Avanzosc", | ||
"website": "https://github.com/avanzosc/odoo-addons", | ||
"depends": [ | ||
"sale_product_configurator", | ||
"website_sale", | ||
], | ||
"data": ["views/product_template_views.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 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_alternative | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-28 12:13+0000\n" | ||
"PO-Revision-Date: 2024-11-28 12:13+0000\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_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternative Products" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternatives" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Displayed in bottom of product pages" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Recommend when 'Adding to Cart' or quotation" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Suggested accessories in the eCommerce cart" | ||
msgstr "" |
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 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_alternative | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-28 12:13+0000\n" | ||
"PO-Revision-Date: 2024-11-28 12:13+0000\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_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternative Products" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternatives" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Displayed in bottom of product pages" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Recommend when 'Adding to Cart' or quotation" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Suggested accessories in the eCommerce cart" | ||
msgstr "" |
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 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_alternative | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-28 12:14+0000\n" | ||
"PO-Revision-Date: 2024-11-28 12:14+0000\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_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternative Products" | ||
msgstr "Productos alternativos" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternatives" | ||
msgstr "Alternativos" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Displayed in bottom of product pages" | ||
msgstr "Se muestra en la parte inferior de las páginas de productos" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Recommend when 'Adding to Cart' or quotation" | ||
msgstr "Recomendar al \"Añadir a la cesta\" o al presupuesto" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Suggested accessories in the eCommerce cart" | ||
msgstr "Accesorios sugeridos en la cesta de comercio electrónico" |
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 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_alternative | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-28 12:14+0000\n" | ||
"PO-Revision-Date: 2024-11-28 12:14+0000\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_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternative Products" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternatives" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Displayed in bottom of product pages" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Recommend when 'Adding to Cart' or quotation" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Suggested accessories in the eCommerce cart" | ||
msgstr "" |
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 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_alternative | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-28 12:13+0000\n" | ||
"PO-Revision-Date: 2024-11-28 12:13+0000\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_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternative Products" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Alternatives" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Displayed in bottom of product pages" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Recommend when 'Adding to Cart' or quotation" | ||
msgstr "" | ||
|
||
#. module: product_alternative | ||
#: model_terms:ir.ui.view,arch_db:product_alternative.product_template_form_view | ||
msgid "Suggested accessories in the eCommerce cart" | ||
msgstr "" |
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,45 @@ | ||
<odoo> | ||
<record id="product_template_form_view" model="ir.ui.view"> | ||
<field name="model">product.template</field> | ||
<field name="inherit_id" ref="product.product_template_form_view" /> | ||
<field name="arch" type="xml"> | ||
<group name="upsell" position="attributes"> | ||
<attribute name="invisible">1</attribute> | ||
</group> | ||
<page name="sales" position="after"> | ||
<page name="alternatives" string="Alternatives"> | ||
<group> | ||
<group> | ||
<field | ||
name="optional_product_ids" | ||
widget="many2many_tags" | ||
options="{'color_field': 'color'}" | ||
domain="[('id', '!=', active_id), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" | ||
placeholder="Recommend when 'Adding to Cart' or quotation" | ||
/> | ||
</group> | ||
<group> | ||
<field | ||
name="accessory_product_ids" | ||
widget="many2many_tags" | ||
attrs="{'invisible': [('sale_ok','=',False)]}" | ||
placeholder="Suggested accessories in the eCommerce cart" | ||
/> | ||
</group> | ||
</group> | ||
|
||
<separator | ||
name="alternative_product" | ||
string="Alternative Products" | ||
/> | ||
<field | ||
name="alternative_product_ids" | ||
domain="[('id', '!=', active_id), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" | ||
attrs="{'invisible': [('sale_ok','=',False)]}" | ||
placeholder="Displayed in bottom of product pages" | ||
/> | ||
</page> | ||
</page> | ||
</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 @@ | ||
../../../../product_alternative |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
setup/stock_picking_packaging_report/odoo/addons/stock_picking_packaging_report
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
from . import stock_picking | ||
from . import stock_move | ||
from . import stock_move_line |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.