Add stock_vertical_lift_packaging_type

This commit is contained in:
Simone Orsi
2020-09-02 13:09:53 +02:00
committed by Guewen Baconnier
parent 43bac7a671
commit bd041a3def
7 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../../stock_vertical_lift_packaging_type

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

View File

@@ -0,0 +1,20 @@
# Copyright 2020 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Vertical Lift Packaging type",
"summary": "Provides integration with Vertical Lifts and packaging types",
"version": "13.0.1.0.0",
"category": "Stock",
"author": "Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": [
"stock_vertical_lift",
# OCA / product-attribute
"product_packaging_type",
],
"website": "https://github.com/OCA/stock-logistics-warehouse",
"data": ["views/shuttle_screen_templates.xml"],
"installable": True,
"auto_install": True,
"development_status": "Alpha",
}

View File

@@ -0,0 +1 @@
* Simone Orsi <simahawk@gmail.com>

View File

@@ -0,0 +1,5 @@
Glue module for `product_packaging_type` (from OCA/product-attribute)
and `stock_vertical_lift`.
If both module are installed this module automatically gets installed
and displays the packaging type's full name instead of the packaging's name.

View File

@@ -0,0 +1,7 @@
<odoo>
<template id="packagings" inherit_id="stock_vertical_lift.packagings">
<xpath expr="//span[hasclass('packaging_name')]" position="attributes">
<attribute name="t-esc">packaging.packaging_type_id.display_name</attribute>
</xpath>
</template>
</odoo>