Merge lp:~numerigraphe/openobject-addons/trunk-deliveries-to-invoice-views into lp:openobject-addons

Proposed by Numérigraphe
Status: Rejected
Rejected by: Fabien (Open ERP)
Proposed branch: lp:~numerigraphe/openobject-addons/trunk-deliveries-to-invoice-views
Merge into: lp:openobject-addons
Diff against target: 27 lines (+17/-0)
1 file modified
sale/stock_view.xml (+17/-0)
To merge this branch: bzr merge lp:~numerigraphe/openobject-addons/trunk-deliveries-to-invoice-views
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+107502@code.launchpad.net

Description of the change

The sales menu has an option to view deliveries waiting to be invoiced.
Unfortunately this uses the default views which are poorly suited to this.
I propose we use the delivery views instead.
Lionel Sausin.

To post a comment you must log in.
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

was fixed with the split of stock.picking into three different objects

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale/stock_view.xml'
2--- sale/stock_view.xml 2012-05-22 08:50:37 +0000
3+++ sale/stock_view.xml 2012-05-26 06:44:48 +0000
4@@ -74,6 +74,23 @@
5 <field name="context">{'default_type': 'out', 'contact_display': 'partner_address', 'search_default_to_invoice': 1, 'search_default_done': 1}</field>
6 <field name="search_view_id" ref="stock.view_picking_out_search"/>
7 </record>
8+ <record id="outgoing_picking_list_to_invoice_tree" model="ir.actions.act_window.view">
9+ <field eval="1" name="sequence"/>
10+ <field name="view_mode">tree</field>
11+ <field name="view_id" ref="stock.view_picking_out_tree"/>
12+ <field name="act_window_id" ref="outgoing_picking_list_to_invoice"/>
13+ </record>
14+ <record id="outgoing_picking_list_to_invoice_form" model="ir.actions.act_window.view">
15+ <field eval="2" name="sequence"/>
16+ <field name="view_mode">form</field>
17+ <field name="view_id" ref="stock.view_picking_out_form"/>
18+ <field name="act_window_id" ref="outgoing_picking_list_to_invoice"/>
19+ </record>
20+ <record id="outgoing_picking_list_to_invoice_cal" model="ir.actions.act_window.view">
21+ <field eval="3" name="sequence"/>
22+ <field name="view_mode">calendar</field>
23+ <field name="act_window_id" ref="outgoing_picking_list_to_invoice"/>
24+ </record>
25 <menuitem action="outgoing_picking_list_to_invoice" id="menu_action_picking_list_to_invoice" parent="base.menu_invoiced" groups="sale.group_invoice_deli_orders" sequence="20"/>
26
27 </data>

Subscribers

People subscribed via source and target branches

to all changes: