[MIG] Make mrp_sale_info installable on v9

This commit is contained in:
victor
2016-02-14 10:25:51 +08:00
committed by Bhavesh Odedra
parent 7f6e198f99
commit 34be073c8b
5 changed files with 12 additions and 10 deletions

View File

@@ -6,9 +6,8 @@
MRP Sale Info
=============
This module extends the functionality of *sale_mrp*.
This module extends the functionality of sale_mrp and adds related fields to Manufacturing Orders and Work Orders:
* Add fields to Manufacturing Orders and Work Orders:
* Sale order
* Customer
* Commitment Date
@@ -16,11 +15,11 @@ This module extends the functionality of *sale_mrp*.
Usage
=====
New fields are in Tree views and in Extra information tab at form views.
New fields are displayed in tree and in form views (Extra information tab).
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/129/8.0
:target: https://runbot.odoo-community.org/runbot/129/9.0
Bug Tracker
===========
@@ -32,7 +31,7 @@ help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
manufacture/issues/new?body=module:%20
mrp_sale_info%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
@@ -51,6 +50,7 @@ Contributors
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>",
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>",
* Ana Juaristi <ajuaristio@gmail.com>"
* Victor M. Martin <victor.martin@elico-corp.com>
Maintainer
----------

View File

@@ -4,7 +4,7 @@
{
"name": "MRP Sale Info",
"summary": "Adds sale information to Manufacturing models",
"version": "8.0.1.0.0",
"version": "9.0.1.0.0",
"category": "Manufacturing",
"website": "http://www.antiun.com",
"author": "Antiun Ingeniería S.L., "

View File

@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Project-Id-Version: Odoo Server 9.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-25 12:39+0000\n"
"PO-Revision-Date: 2016-01-25 12:39+0000\n"

View File

@@ -5,7 +5,7 @@
<record id="mrp_production_form_view" model="ir.ui.view">
<field name="name">MRP Production Form with Sale Order</field>
<field name="model">mrp.production</field>
<field name="inherit_id" ref="sale_mrp.view_mrp_production_form" />
<field name="inherit_id" ref="sale_mrp.mrp_production_form_view_inherit_sale_mrp" />
<field name="arch" type="xml">
<field name="sale_name" position="after">
<field name="sale_id"/>

View File

@@ -20,13 +20,15 @@
<field name="model">mrp.production.workcenter.line</field>
<field name="inherit_id" ref="mrp_operations.mrp_production_workcenter_form_view_inherit"/>
<field name="arch" type="xml">
<group string="Product to Produce" position="after">
<xpath expr="//page/group[1]" position="after">
<group string="Sale Information">
<field name="sale_id"/>
<field name="partner_id"/>
<field name="commitment_date"/>
</group>
</group>
</xpath>
</field>
</record>