Move view code from sale_usability_extension to sale_stock_usability (pickings_ids belongs to sale_stock !)
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
'version': '0.2',
|
'version': '0.2',
|
||||||
'category': 'Sales Management',
|
'category': 'Sales Management',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'summary': 'use management',
|
'summary': 'Small usability improvements to the sale_stock module',
|
||||||
'description': """
|
'description': """
|
||||||
Sale Stock Usability
|
Sale Stock Usability
|
||||||
====================
|
====================
|
||||||
@@ -34,6 +34,7 @@ Sale Stock Usability
|
|||||||
The usability enhancements include:
|
The usability enhancements include:
|
||||||
|
|
||||||
* *To invoice* filter on pickings filters on invoice_state = 2binvoiced AND state = done
|
* *To invoice* filter on pickings filters on invoice_state = 2binvoiced AND state = done
|
||||||
|
* Add a tab with the list of related pickings in sale order form
|
||||||
|
|
||||||
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
||||||
""",
|
""",
|
||||||
|
|||||||
@@ -21,6 +21,18 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="view_order_form_inherit" model="ir.ui.view">
|
||||||
|
<field name="name">sale_stock_usability.sale_order_form</field>
|
||||||
|
<field name="model">sale.order</field>
|
||||||
|
<field name="inherit_id" ref="sale_stock.view_order_form_inherit"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<notebook position="inside">
|
||||||
|
<page string="Delivery Orders" states="progress,waiting_date,manual,invoice_except,shipping_except,done">
|
||||||
|
<field name="picking_ids" nolabel="1"/>
|
||||||
|
</page>
|
||||||
|
</notebook>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
# Sale Usability Extension module for OpenERP
|
# Sale Usability Extension module for Odoo
|
||||||
# Copyright (C) 2014 Akretion (http://www.akretion.com)
|
# Copyright (C) 2014-2016 Akretion (http://www.akretion.com)
|
||||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@@ -26,12 +26,15 @@
|
|||||||
'version': '0.1',
|
'version': '0.1',
|
||||||
'category': 'Sale Management',
|
'category': 'Sale Management',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'summary': 'Show invoices and deliveries on sale orders',
|
'summary': 'Show invoices on sale orders',
|
||||||
'description': """
|
'description': """
|
||||||
Sale Usability Extension
|
Sale Usability Extension
|
||||||
========================
|
========================
|
||||||
|
|
||||||
Display Invoices and Delivery Orders on Sale Order form view (in dedicated tabs).
|
Several small usability improvements:
|
||||||
|
|
||||||
|
* Display Invoices on Sale Order form view (in dedicated tab).
|
||||||
|
* Display currency in tree view
|
||||||
|
|
||||||
Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
|
Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
|
||||||
""",
|
""",
|
||||||
@@ -41,5 +44,5 @@ Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for
|
|||||||
'data': [
|
'data': [
|
||||||
'sale_view.xml',
|
'sale_view.xml',
|
||||||
],
|
],
|
||||||
'active': False,
|
'installable': True,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,9 +14,6 @@
|
|||||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<notebook position="inside">
|
<notebook position="inside">
|
||||||
<page string="Delivery Orders" states="progress,waiting_date,manual,invoice_except,shipping_except,done">
|
|
||||||
<field name="picking_ids" nolabel="1"/>
|
|
||||||
</page>
|
|
||||||
<page string="Invoices" states="progress,waiting_date,manual,invoice_except,shipping_except,done">
|
<page string="Invoices" states="progress,waiting_date,manual,invoice_except,shipping_except,done">
|
||||||
<field name="invoice_ids" nolabel="1" context="{'form_view_ref': 'account.invoice_form'}"/>
|
<field name="invoice_ids" nolabel="1" context="{'form_view_ref': 'account.invoice_form'}"/>
|
||||||
</page>
|
</page>
|
||||||
|
|||||||
Reference in New Issue
Block a user