~openerp-connector-core-editors/openerp-connector/7.0-e-commerce-addons-shipping-setup-product

« back to all changes in this revision

Viewing changes to sale_exceptions/sale_view.xml

  • Committer: Guewen Baconnier
  • Date: 2013-04-30 08:01:15 UTC
  • mfrom: (322.1.22 e-commerce-addons)
  • Revision ID: guewen.baconnier@camptocamp.com-20130430080115-j9n8n6j7qozpwa22
[ADD] cancelation of sales orders:

Propose a base implementation for sales orders canceled on a backend.

* sale_order.cancelled_in_backend means a sale order has been cancelled on the backend
* when sale_order.cancelled_in_backend is set to True, it tries to automatically cancel the SO
* when such a SO is cancelled, sale_order.cancellation_resolved is set to True
* the user has a button to set sale_order.cancellation_resolved to True without cancelling it
* search filter to display the SO to cancel
* Sales exceptions when a SO has been canceled on the backend
* SO can have a parent (logic of the parents is to implement in the connectors)
* Sales exception when a parent SO has been canceled on a backend
* adds notifications to inform the user what is happening

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
            <field name="inherit_id" ref="sale.view_order_form"/>
65
65
            <field name="arch" type="xml">
66
66
                <field name="name" position="after">
67
 
                    <field name="main_exception_id" nolabel="1"
 
67
                    <group>
 
68
                    <field name="main_exception_id" options='{"no_open": True}'
 
69
                           class="oe_inline" string="Error:"
68
70
                           attrs="{'invisible':[('main_exception_id','=', False)]}"/>
 
71
                    </group>
69
72
                </field>
70
73
                <xpath expr="//page[@string='Other Information']/group"
71
74
                        position="inside">