[IMP] stock_inventory_cost_info: Add total in tree view

This commit is contained in:
Pedro M. Baeza
2019-07-26 13:42:10 +02:00
committed by Yadier A. De Quesada
parent f403c90265
commit 55671800be
5 changed files with 19 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Stock Inventory Cost Info",
"summary": "Shows the cost of the inventory adjustments",
"version": "11.0.1.0.0",
"version": "11.0.1.1.0",
"author": "Tecnativa, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",

View File

@@ -35,3 +35,10 @@ msgstr "Moneda"
#: model:ir.model,name:stock_inventory_cost_info.model_stock_inventory_line
msgid "Inventory Line"
msgstr "Línea de inventario"
#. module: stock_inventory_cost_info
#: model:ir.ui.view,arch_db:stock_inventory_cost_info.stock_inventory_line_tree
#: model:ir.ui.view,arch_db:stock_inventory_cost_info.stock_inventory_line_tree2
#: model:ir.ui.view,arch_db:stock_inventory_cost_info.view_inventory_form
msgid "Total"
msgstr ""

View File

@@ -33,3 +33,10 @@ msgstr ""
msgid "Inventory Line"
msgstr ""
#. module: stock_inventory_cost_info
#: model:ir.ui.view,arch_db:stock_inventory_cost_info.stock_inventory_line_tree
#: model:ir.ui.view,arch_db:stock_inventory_cost_info.stock_inventory_line_tree2
#: model:ir.ui.view,arch_db:stock_inventory_cost_info.view_inventory_form
msgid "Total"
msgstr ""

View File

@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<title>Stock Inventory Cost Info</title>
<style type="text/css">

View File

@@ -8,7 +8,7 @@
<field name="arch" type="xml">
<field name="product_qty" position="after">
<field name="currency_id" invisible="1"/>
<field name="adjustment_cost"/>
<field name="adjustment_cost" sum="Total"/>
</field>
</field>
</record>
@@ -20,7 +20,7 @@
<field name="arch" type="xml">
<field name="product_qty" position="after">
<field name="currency_id" invisible="1"/>
<field name="adjustment_cost"/>
<field name="adjustment_cost" sum="Total"/>
</field>
</field>
</record>
@@ -32,7 +32,7 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='line_ids']/tree/field[@name='product_qty']" position="after">
<field name="currency_id" invisible="1"/>
<field name="adjustment_cost"/>
<field name="adjustment_cost" sum="Total"/>
</xpath>
</field>
</record>