Merge lp:~akretion-team/carriers-deliveries/action-after-install-dbl into lp:~stock-logistic-core-editors/carriers-deliveries/7.0

Proposed by David BEAL (ak)
Status: Merged
Approved by: Yannick Vaucher @ Camptocamp
Approved revision: 18
Merged at revision: 24
Proposed branch: lp:~akretion-team/carriers-deliveries/action-after-install-dbl
Merge into: lp:~stock-logistic-core-editors/carriers-deliveries/7.0
Diff against target: 18 lines (+9/-0)
1 file modified
base_delivery_carrier_label/res_config_view.xml (+9/-0)
To merge this branch: bzr merge lp:~akretion-team/carriers-deliveries/action-after-install-dbl
Reviewer Review Type Date Requested Status
Yannick Vaucher @ Camptocamp Approve
Pedro Manuel Baeza code review Approve
Review via email: mp+208956@code.launchpad.net

Description of the change

add common view action to use by module install

each carrier module will install its own datas in delivery.method, then redirection to this model is logical

To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

LGTM. It makes sense.

Regards.

review: Approve (code review)
18. By David BEAL (ak)

[FIX] action name

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Nice addition

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'base_delivery_carrier_label/res_config_view.xml'
2--- base_delivery_carrier_label/res_config_view.xml 2014-02-18 17:39:06 +0000
3+++ base_delivery_carrier_label/res_config_view.xml 2014-03-04 08:04:38 +0000
4@@ -5,5 +5,14 @@
5 <menuitem id="menu_carriers_config" name="Carriers"
6 parent="base.menu_config" sequence="20"/>
7
8+ <!-- After installation of the modules, open the delivery method menu -->
9+ <!-- call this action from your own carrier module -->
10+ <record id="action_delivery_method_from_carrier_module_install"
11+ model="ir.actions.client">
12+ <field name="name">Open Delivery Methods Menu</field>
13+ <field name="tag">reload</field>
14+ <field name="params"
15+ eval="{'menu_id': ref('delivery.action_delivery_carrier_form')}"/>
16+ </record>
17 </data>
18 </openerp>

Subscribers

People subscribed via source and target branches