[9.0][FIX] README

This commit is contained in:
lreficent
2017-06-14 10:16:08 +02:00
committed by Jordi Ballester Alomar
parent 8b381365b7
commit 210e80f01e
3 changed files with 29 additions and 32 deletions

View File

@@ -7,35 +7,34 @@ Procurement Auto Create Group
=============================
This module allows the system to propose automatically new procurement groups
in procurement orders.
in procurement orders.
This capability is important when you want to make sure that all the stock
moves resulting from this procurement will never be mixed with moves from
other groups in stock transfers.
This capability is important when you want to make sure that all the stock
moves resulting from this procurement will never be mixed with moves from
other groups in stock transfers.
The stock transfers resulting from the execution of these procurements will
only contain stock moves created from that procurement.
The stock transfers resulting from the execution of these procurements will
only contain stock moves created from that procurement.
Configuration
=============
# Go to *Inventory / Configuration / Settings* and check the option 'Advanced
routing of products using rules' and press the 'Apply' button.
# Activate the developer mode.
# Go to *Inventory / Configuration / Routes / Routes* and check the option
'Auto-create Procurement Group' to the pull rules where you want the
procurement groups to be automatically proposed.
#. Go to *Inventory / Configuration / Settings* and check the option 'Advanced
routing of products using rules' and press the 'Apply' button.
#. Activate the developer mode.
#. Go to *Inventory / Configuration / Routes / Routes* and check the option
'Auto-create Procurement Group' to the pull rules where you want the
procurement groups to be automatically proposed.
Usage
=====
# Go to *Inventory / Reports / Procurement Exceptions*.
# Create a new procurement order and make sure that it determines a pull rule
with the option 'Auto-create Procurement Group' set.
# When you save the procurement order, a procurement group with format
'PG/000001' will be created.
#. Go to *Inventory / Reports / Procurement Exceptions*.
#. Create a new procurement order and make sure that it determines a pull rule
with the option 'Auto-create Procurement Group' set.
#. When you save the procurement order, a procurement group with format
'PG/000001' will be created.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot

View File

@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import api, fields, models
from openerp import fields, models
class ProcurementRule(models.Model):

View File

@@ -1,18 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="view_procurement_rule_form">
<field name="name">procurement.rule.form</field>
<field name="model">procurement.rule</field>
<field name="inherit_id"
ref="procurement.view_procurement_rule_form"/>
<field name="arch" type="xml">
<group name="propagation_group" position="inside">
<field name="auto_create_group"/>
</group>
</field>
</record>
<record model="ir.ui.view" id="view_procurement_rule_form">
<field name="name">procurement.rule.form</field>
<field name="model">procurement.rule</field>
<field name="inherit_id"
ref="procurement.view_procurement_rule_form"/>
<field name="arch" type="xml">
<group name="propagation_group" position="inside">
<field name="auto_create_group"/>
</group>
</field>
</record>
</data>
</odoo>