stock_orderpoint_uom: Migrated to 9.0

This commit is contained in:
lreficent
2016-12-22 14:52:08 +01:00
committed by davidborromeo
parent 6e88aafb86
commit 5fe6a7ecb6
3 changed files with 32 additions and 28 deletions

View File

@@ -15,18 +15,24 @@ created, the quantity to be transferred will be expressed in meters, making
it easier for the people responsible for the transfers to understand the
requirement.
Configuration
=============
To configure this module, you need to 'Inventory > Configuration > Settings'
and enable 'Some products may be sold/purchased in different unit of measures
(advanced)' option.
Usage
=====
Go to 'Configuration / Reordering Rules' and indicate a Procurement UoM.
Go to 'Inventory > Inventory Control > Reordering Rules' and indicate a
Procurement UoM.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/153/8.0
Bug Tracker
===========

View File

@@ -6,7 +6,7 @@
"name": "Stock Orderpoint UoM",
"summary": "Allows to create procurement orders in the UoM indicated in "
"the orderpoint",
"version": "8.0.1.0.0",
"version": "9.0.1.0.0",
"author": "Eficent Business and IT Consulting Services S.L,"
"Odoo Community Association (OCA)",
"website": "https://www.odoo-community.org",

View File

@@ -1,31 +1,29 @@
<?xml version="1.0"?>
<openerp>
<data>
<odoo>
<record id="view_warehouse_orderpoint_tree" model="ir.ui.view">
<field name="name">stock.warehouse.orderpoint.tree</field>
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id"
ref="stock.view_warehouse_orderpoint_tree"/>
<field name="arch" type="xml">
<field name="product_uom" position="after">
<field name="procure_uom_id" groups="product.group_uom"/>
</field>
<record id="view_warehouse_orderpoint_tree" model="ir.ui.view">
<field name="name">stock.warehouse.orderpoint.tree</field>
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id"
ref="stock.view_warehouse_orderpoint_tree"/>
<field name="arch" type="xml">
<field name="product_uom" position="after">
<field name="procure_uom_id" groups="product.group_uom"/>
</field>
</record>
</field>
</record>
<record id="view_warehouse_orderpoint_form" model="ir.ui.view">
<field name="name">stock.warehouse.orderpoint.form</field>
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id"
ref="stock.view_warehouse_orderpoint_form"/>
<field name="arch" type="xml">
<field name="product_uom" position="after">
<field name="procure_uom_id" class="oe_inline"
groups="product.group_uom"/>
</field>
<record id="view_warehouse_orderpoint_form" model="ir.ui.view">
<field name="name">stock.warehouse.orderpoint.form</field>
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id"
ref="stock.view_warehouse_orderpoint_form"/>
<field name="arch" type="xml">
<field name="product_uom" position="after">
<field name="procure_uom_id" class="oe_inline"
groups="product.group_uom"/>
</field>
</record>
</field>
</record>
</data>
</openerp>
</odoo>