Merge lp:~vauxoo/addons-vauxoo/addons-vauxoo-cicsa into lp:addons-vauxoo/7.0

Proposed by hbto [Vauxoo] http://www.vauxoo.com
Status: Merged
Approved by: hbto [Vauxoo] http://www.vauxoo.com
Approved revision: 1099
Merged at revision: 1124
Proposed branch: lp:~vauxoo/addons-vauxoo/addons-vauxoo-cicsa
Merge into: lp:addons-vauxoo/7.0
Diff against target: 533 lines (+398/-6)
12 files modified
account_anglo_saxon_stock_move/__init__.py (+27/-0)
account_anglo_saxon_stock_move/__openerp__.py (+51/-0)
account_anglo_saxon_stock_move/model/__init__.py (+27/-0)
account_anglo_saxon_stock_move/model/invoice.py (+32/-0)
account_anglo_saxon_stock_move/model/stock.py (+39/-0)
account_anglo_saxon_stock_move/wizard/__init__.py (+25/-0)
account_move_line_extended/view/account_move_line_view.xml (+15/-0)
account_move_line_grouping/__openerp__.py (+52/-0)
account_move_line_grouping/view/account_move_view.xml (+15/-0)
account_reconcile_grouping/__openerp__.py (+2/-1)
stock_move_entries/model/stock_move_entries.py (+78/-2)
stock_move_entries/view/stock_move_entries_view.xml (+35/-3)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/addons-vauxoo-cicsa
Reviewer Review Type Date Requested Status
hbto [Vauxoo] http://www.vauxoo.com Approve
Review via email: mp+231953@code.launchpad.net

Description of the change

Weekly MP

To post a comment you must log in.
1099. By hbto [Vauxoo] http://www.vauxoo.com

[FIX] Stupid me Typo

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'account_anglo_saxon_stock_move'
2=== added file 'account_anglo_saxon_stock_move/__init__.py'
3--- account_anglo_saxon_stock_move/__init__.py 1970-01-01 00:00:00 +0000
4+++ account_anglo_saxon_stock_move/__init__.py 2014-08-22 20:04:28 +0000
5@@ -0,0 +1,27 @@
6+#!/usr/bin/python
7+# -*- encoding: utf-8 -*-
8+###############################################################################
9+# Module Writen to OpenERP, Open Source Management Solution
10+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
11+# All Rights Reserved
12+############# Credits #########################################################
13+# Coded by: Humberto Arocha <hbto@vauxoo.com>
14+# Planified by: Humberto Arocha <hbto@vauxoo.com>
15+# Audited by: Humberto Arocha <hbto@vauxoo.com>
16+###############################################################################
17+# This program is free software: you can redistribute it and/or modify
18+# it under the terms of the GNU Affero General Public License as published
19+# by the Free Software Foundation, either version 3 of the License, or
20+# (at your option) any later version.
21+#
22+# This program is distributed in the hope that it will be useful,
23+# but WITHOUT ANY WARRANTY; without even the implied warranty of
24+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25+# GNU Affero General Public License for more details.
26+#
27+# You should have received a copy of the GNU Affero General Public License
28+# along with this program. If not, see <http://www.gnu.org/licenses/>.
29+###############################################################################
30+
31+import model
32+import wizard
33
34=== added file 'account_anglo_saxon_stock_move/__openerp__.py'
35--- account_anglo_saxon_stock_move/__openerp__.py 1970-01-01 00:00:00 +0000
36+++ account_anglo_saxon_stock_move/__openerp__.py 2014-08-22 20:04:28 +0000
37@@ -0,0 +1,51 @@
38+#!/usr/bin/python
39+# -*- encoding: utf-8 -*-
40+###############################################################################
41+# Module Writen to OpenERP, Open Source Management Solution
42+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
43+# All Rights Reserved
44+############# Credits #########################################################
45+# Coded by: Humberto Arocha <hbto@vauxoo.com>
46+# Planified by: Humberto Arocha <hbto@vauxoo.com>
47+# Audited by: Humberto Arocha <hbto@vauxoo.com>
48+###############################################################################
49+# This program is free software: you can redistribute it and/or modify
50+# it under the terms of the GNU Affero General Public License as published
51+# by the Free Software Foundation, either version 3 of the License, or
52+# (at your option) any later version.
53+#
54+# This program is distributed in the hope that it will be useful,
55+# but WITHOUT ANY WARRANTY; without even the implied warranty of
56+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
57+# GNU Affero General Public License for more details.
58+#
59+# You should have received a copy of the GNU Affero General Public License
60+# along with this program. If not, see <http://www.gnu.org/licenses/>.
61+###############################################################################
62+
63+{
64+ 'name': 'Account Anglo-Saxon Stock Move',
65+ 'version': '1.0',
66+ 'author': 'Vauxoo',
67+ 'website': 'http://www.vauxoo.com/',
68+ 'category': '',
69+ 'description': '''
70+Account Anglo-Saxon Stock Move
71+------------------------------
72+ This module adds an attribute to the Account Invoice Line object
73+ and in the case of creating invoice from shipments attach the Stock Move
74+ Record on the regarding Invoice Line
75+''',
76+ 'depends': [
77+ 'account_anglo_saxon',
78+ ],
79+ 'data': [
80+ ],
81+ 'demo': [],
82+ 'test': [],
83+ 'qweb': [],
84+ 'js': [],
85+ 'css': [],
86+ 'active': False,
87+ 'installable': True,
88+}
89
90=== added directory 'account_anglo_saxon_stock_move/data'
91=== added directory 'account_anglo_saxon_stock_move/demo'
92=== added directory 'account_anglo_saxon_stock_move/doc'
93=== added directory 'account_anglo_saxon_stock_move/doc/images'
94=== added directory 'account_anglo_saxon_stock_move/i18n'
95=== added directory 'account_anglo_saxon_stock_move/model'
96=== added file 'account_anglo_saxon_stock_move/model/__init__.py'
97--- account_anglo_saxon_stock_move/model/__init__.py 1970-01-01 00:00:00 +0000
98+++ account_anglo_saxon_stock_move/model/__init__.py 2014-08-22 20:04:28 +0000
99@@ -0,0 +1,27 @@
100+#!/usr/bin/python
101+# -*- encoding: utf-8 -*-
102+###############################################################################
103+# Module Writen to OpenERP, Open Source Management Solution
104+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
105+# All Rights Reserved
106+############# Credits #########################################################
107+# Coded by: Yanina Aular <yani@vauxoo.com>
108+# Planified by: Humberto Arocha <hbto@vauxoo.com>
109+# Audited by: Humberto Arocha <hbto@vauxoo.com>
110+###############################################################################
111+# This program is free software: you can redistribute it and/or modify
112+# it under the terms of the GNU Affero General Public License as published
113+# by the Free Software Foundation, either version 3 of the License, or
114+# (at your option) any later version.
115+#
116+# This program is distributed in the hope that it will be useful,
117+# but WITHOUT ANY WARRANTY; without even the implied warranty of
118+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
119+# GNU Affero General Public License for more details.
120+#
121+# You should have received a copy of the GNU Affero General Public License
122+# along with this program. If not, see <http://www.gnu.org/licenses/>.
123+###############################################################################
124+
125+import stock
126+import invoice
127
128=== added file 'account_anglo_saxon_stock_move/model/invoice.py'
129--- account_anglo_saxon_stock_move/model/invoice.py 1970-01-01 00:00:00 +0000
130+++ account_anglo_saxon_stock_move/model/invoice.py 2014-08-22 20:04:28 +0000
131@@ -0,0 +1,32 @@
132+##############################################################################
133+#
134+# OpenERP, Open Source Management Solution
135+# Copyright (C)
136+# 2004-2010 Tiny SPRL (<http://tiny.be>).
137+# 2009-2010 Veritos (http://veritos.nl).
138+# All Rights Reserved
139+#
140+# This program is free software: you can redistribute it and/or modify
141+# it under the terms of the GNU Affero General Public License as
142+# published by the Free Software Foundation, either version 3 of the
143+# License, or (at your option) any later version.
144+#
145+# This program is distributed in the hope that it will be useful,
146+# but WITHOUT ANY WARRANTY; without even the implied warranty of
147+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
148+# GNU Affero General Public License for more details.
149+#
150+# You should have received a copy of the GNU Affero General Public License
151+# along with this program. If not, see <http://www.gnu.org/licenses/>.
152+#
153+##############################################################################
154+
155+from openerp.osv import osv, fields
156+
157+class account_invoice_line(osv.osv):
158+ _inherit = "account.invoice.line"
159+
160+ _columns = {
161+ 'move_id': fields.many2one('stock.move', string="Move line", help="If the invoice was generated from a stock.picking, reference to the related move line."),
162+ }
163+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
164
165=== added file 'account_anglo_saxon_stock_move/model/stock.py'
166--- account_anglo_saxon_stock_move/model/stock.py 1970-01-01 00:00:00 +0000
167+++ account_anglo_saxon_stock_move/model/stock.py 2014-08-22 20:04:28 +0000
168@@ -0,0 +1,39 @@
169+#!/usr/bin/python
170+# -*- encoding: utf-8 -*-
171+###############################################################################
172+# Module Writen to OpenERP, Open Source Management Solution
173+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
174+# All Rights Reserved
175+############# Credits #########################################################
176+# Coded by: Humberto Arocha <hbto@vauxoo.com>
177+# Planified by: Humberto Arocha <hbto@vauxoo.com>
178+# Audited by: Humberto Arocha <hbto@vauxoo.com>
179+###############################################################################
180+# This program is free software: you can redistribute it and/or modify
181+# it under the terms of the GNU Affero General Public License as published
182+# by the Free Software Foundation, either version 3 of the License, or
183+# (at your option) any later version.
184+#
185+# This program is distributed in the hope that it will be useful,
186+# but WITHOUT ANY WARRANTY; without even the implied warranty of
187+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
188+# GNU Affero General Public License for more details.
189+#
190+# You should have received a copy of the GNU Affero General Public License
191+# along with this program. If not, see <http://www.gnu.org/licenses/>.
192+###############################################################################
193+
194+from openerp.osv import osv
195+
196+class stock_picking(osv.osv):
197+ _inherit = "stock.picking"
198+ _description = "Picking List"
199+
200+ def _prepare_invoice_line(self, cr, uid, group, picking, move_line, invoice_id,
201+ invoice_vals, context=None):
202+ """Overwrite to add move_id reference"""
203+ res = super(stock_picking, self)._prepare_invoice_line(cr, uid, group, picking, move_line, invoice_id, invoice_vals, context=context)
204+ res.update({
205+ 'move_id': move_line.id,
206+ })
207+ return res
208
209=== added directory 'account_anglo_saxon_stock_move/report'
210=== added directory 'account_anglo_saxon_stock_move/security'
211=== added directory 'account_anglo_saxon_stock_move/static'
212=== added directory 'account_anglo_saxon_stock_move/static/description'
213=== added file 'account_anglo_saxon_stock_move/static/description/index.html'
214=== added directory 'account_anglo_saxon_stock_move/static/src'
215=== added directory 'account_anglo_saxon_stock_move/static/src/css'
216=== added directory 'account_anglo_saxon_stock_move/static/src/img'
217=== added file 'account_anglo_saxon_stock_move/static/src/img/icon.png'
218Binary files account_anglo_saxon_stock_move/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and account_anglo_saxon_stock_move/static/src/img/icon.png 2014-08-22 20:04:28 +0000 differ
219=== added directory 'account_anglo_saxon_stock_move/static/src/js'
220=== added directory 'account_anglo_saxon_stock_move/static/src/xml'
221=== added directory 'account_anglo_saxon_stock_move/test'
222=== added directory 'account_anglo_saxon_stock_move/view'
223=== added directory 'account_anglo_saxon_stock_move/wizard'
224=== added file 'account_anglo_saxon_stock_move/wizard/__init__.py'
225--- account_anglo_saxon_stock_move/wizard/__init__.py 1970-01-01 00:00:00 +0000
226+++ account_anglo_saxon_stock_move/wizard/__init__.py 2014-08-22 20:04:28 +0000
227@@ -0,0 +1,25 @@
228+#!/usr/bin/python
229+# -*- encoding: utf-8 -*-
230+###############################################################################
231+# Module Writen to OpenERP, Open Source Management Solution
232+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
233+# All Rights Reserved
234+############# Credits #########################################################
235+# Coded by: Humberto Arocha <hbto@vauxoo.com>
236+# Planified by: Humberto Arocha <hbto@vauxoo.com>
237+# Audited by: Humberto Arocha <hbto@vauxoo.com>
238+###############################################################################
239+# This program is free software: you can redistribute it and/or modify
240+# it under the terms of the GNU Affero General Public License as published
241+# by the Free Software Foundation, either version 3 of the License, or
242+# (at your option) any later version.
243+#
244+# This program is distributed in the hope that it will be useful,
245+# but WITHOUT ANY WARRANTY; without even the implied warranty of
246+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
247+# GNU Affero General Public License for more details.
248+#
249+# You should have received a copy of the GNU Affero General Public License
250+# along with this program. If not, see <http://www.gnu.org/licenses/>.
251+###############################################################################
252+
253
254=== added directory 'account_anglo_saxon_stock_move/workflow'
255=== modified file 'account_move_line_extended/view/account_move_line_view.xml'
256--- account_move_line_extended/view/account_move_line_view.xml 2014-08-04 19:15:36 +0000
257+++ account_move_line_extended/view/account_move_line_view.xml 2014-08-22 20:04:28 +0000
258@@ -1,6 +1,21 @@
259 <?xml version="1.0" encoding="utf-8"?>
260 <openerp>
261 <data>
262+
263+ <record id="aml_extended_search" model="ir.ui.view">
264+ <field name="name">Journal Entries Extended Search</field>
265+ <field name="model">account.move.line</field>
266+ <field name="inherit_id" ref="account.view_account_move_line_filter"/>
267+ <field name="arch" type="xml">
268+ <xpath expr="//search" position="inside">
269+ <field name="currency_id"/>
270+ </xpath>
271+ <xpath expr="//group" position="inside">
272+ <filter string="Currency" icon="terp-folder-orange" domain="[]" context="{'group_by':'currency_id'}"/>
273+ </xpath>
274+ </field>
275+ </record>
276+
277 <record id="aml_extended_tree" model="ir.ui.view">
278 <field name="name">Journal Entries Extended</field>
279 <field name="model">account.move.line</field>
280
281=== added directory 'account_move_line_grouping'
282=== added file 'account_move_line_grouping/__init__.py'
283=== added file 'account_move_line_grouping/__openerp__.py'
284--- account_move_line_grouping/__openerp__.py 1970-01-01 00:00:00 +0000
285+++ account_move_line_grouping/__openerp__.py 2014-08-22 20:04:28 +0000
286@@ -0,0 +1,52 @@
287+# -*- encoding: utf-8 -*-
288+#
289+# Module Writen to OpenERP, Open Source Management Solution
290+#
291+# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
292+# All Rights Reserved.
293+# info Vauxoo (info@vauxoo.com)
294+#
295+# Coded by: Jorge Angel Naranjo (jorge_nr@vauxoo.com)
296+#
297+#
298+# This program is free software: you can redistribute it and/or modify
299+# it under the terms of the GNU Affero General Public License as
300+# published by the Free Software Foundation, either version 3 of the
301+# License, or (at your option) any later version.
302+#
303+# This program is distributed in the hope that it will be useful,
304+# but WITHOUT ANY WARRANTY; without even the implied warranty of
305+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
306+# GNU Affero General Public License for more details.
307+#
308+# You should have received a copy of the GNU Affero General Public License
309+# along with this program. If not, see <http://www.gnu.org/licenses/>.
310+#
311+#
312+
313+{
314+ "name": "Account Move Line Grouping",
315+ "version": "1.0",
316+ "author": "Vauxoo",
317+ "category": "Accounting",
318+ "description" : """
319+Account Reconcile Grouping
320+==========================
321+
322+This module allows you to group your journal items by Journal Entry with a new filter in the search view.
323+
324+
325+ """,
326+ "website": "http://www.vauxoo.com/",
327+ "license": "AGPL-3",
328+ "depends": [
329+ "account",
330+ ],
331+ "demo": [
332+ ],
333+ "data": [
334+ 'view/account_move_view.xml',
335+ ],
336+ "installable": True,
337+ "active": False,
338+}
339
340=== added directory 'account_move_line_grouping/data'
341=== added directory 'account_move_line_grouping/demo'
342=== added directory 'account_move_line_grouping/i18n'
343=== added directory 'account_move_line_grouping/model'
344=== added directory 'account_move_line_grouping/security'
345=== added directory 'account_move_line_grouping/view'
346=== added file 'account_move_line_grouping/view/account_move_view.xml'
347--- account_move_line_grouping/view/account_move_view.xml 1970-01-01 00:00:00 +0000
348+++ account_move_line_grouping/view/account_move_view.xml 2014-08-22 20:04:28 +0000
349@@ -0,0 +1,15 @@
350+<?xml version="1.0" encoding="utf-8"?>
351+<openerp>
352+ <data>
353+ <record id="account_move_line_grouping_reconcile_search" model="ir.ui.view">
354+ <field name="name">account_move_line_grouping_reconcile_search</field>
355+ <field name="model">account.move.line</field>
356+ <field name="inherit_id" ref="account.view_account_move_line_filter"/>
357+ <field name="arch" type="xml">
358+ <xpath expr="//filter[@string='Period']" position="after">
359+ <filter string="Journal Entry" icon="terp-go-month" domain="[]" context="{'group_by':'move_id'}"/>
360+ </xpath>
361+ </field>
362+ </record>
363+ </data>
364+</openerp>
365
366=== added directory 'account_move_line_grouping/workflow'
367=== modified file 'account_reconcile_grouping/__openerp__.py'
368--- account_reconcile_grouping/__openerp__.py 2014-07-11 19:16:18 +0000
369+++ account_reconcile_grouping/__openerp__.py 2014-08-22 20:04:28 +0000
370@@ -40,7 +40,8 @@
371 "website": "http://www.vauxoo.com/",
372 "license": "AGPL-3",
373 "depends": [
374- "account",
375+ "account",
376+ "account_move_line_grouping",
377 ],
378 "demo": [
379 ],
380
381=== modified file 'stock_move_entries/model/stock_move_entries.py'
382--- stock_move_entries/model/stock_move_entries.py 2014-08-14 03:41:10 +0000
383+++ stock_move_entries/model/stock_move_entries.py 2014-08-22 20:04:28 +0000
384@@ -36,9 +36,9 @@
385 _columns = {
386 'sm_id': fields.many2one('stock.move', 'Stock move ID'),
387 'location_id':fields.related('sm_id', 'location_id', string='Source Location',
388- relation='stock.location', store=True, help='Location Move Source'),
389+ type='many2one', relation='stock.location', store=True, help='Location Move Source'),
390 'location_dest_id':fields.related('sm_id', 'location_dest_id',
391- string='Destination Location', relation='stock.location', store=True,
392+ type='many2one', string='Destination Location', relation='stock.location', store=True,
393 help="Location Move Destination")
394 }
395
396@@ -110,3 +110,79 @@
397 for line in res:
398 line[2]['sm_id'] = move.id
399 return res
400+
401+class stock_picking_out(osv.Model):
402+ _inherit = "stock.picking.out"
403+
404+ def show_entry_lines(self, cr, uid, ids, context=None):
405+ ids = isinstance(ids, (int,long)) and [ids] or ids
406+ context = context or {}
407+ res =[]
408+ for picking_brw in self.browse(cr, uid, ids, context=context):
409+ res += [aml_brw.id for move in picking_brw.move_lines if move.am_id for aml_brw in move.am_id.line_id]
410+ return {
411+ 'domain': "[('id','in',\
412+ ["+','.join(map(str, res))+"])]",
413+ 'name': _('Journal Entries'),
414+ 'view_type': 'form',
415+ 'view_mode': 'tree,form',
416+ 'res_model': 'account.move.line',
417+ 'view_id': False,
418+ 'type': 'ir.actions.act_window'
419+ }
420+
421+ def show_journal_entries(self, cr, uid, ids, context=None):
422+ ids = isinstance(ids, (int,long)) and [ids] or ids
423+ context = context or {}
424+ res =[]
425+ for picking_brw in self.browse(cr, uid, ids, context=context):
426+ res += [move.am_id.id for move in picking_brw.move_lines]
427+ return {
428+ 'domain': "[('id','in',\
429+ ["+','.join(map(str, res))+"])]",
430+ 'name': _('Journal Entries'),
431+ 'view_type': 'form',
432+ 'view_mode': 'tree,form',
433+ 'res_model': 'account.move',
434+ 'view_id': False,
435+ 'type': 'ir.actions.act_window'
436+ }
437+
438+
439+class stock_picking_in(osv.Model):
440+ _inherit = "stock.picking.in"
441+
442+ def show_entry_lines(self, cr, uid, ids, context=None):
443+ ids = isinstance(ids, (int,long)) and [ids] or ids
444+ context = context or {}
445+ res =[]
446+ for picking_brw in self.browse(cr, uid, ids, context=context):
447+ res += [aml_brw.id for move in picking_brw.move_lines if move.am_id for aml_brw in move.am_id.line_id]
448+ return {
449+ 'domain': "[('id','in',\
450+ ["+','.join(map(str, res))+"])]",
451+ 'name': _('Journal Entries'),
452+ 'view_type': 'form',
453+ 'view_mode': 'tree,form',
454+ 'res_model': 'account.move.line',
455+ 'view_id': False,
456+ 'type': 'ir.actions.act_window'
457+ }
458+
459+ def show_journal_entries(self, cr, uid, ids, context=None):
460+ ids = isinstance(ids, (int,long)) and [ids] or ids
461+ context = context or {}
462+ res =[]
463+ for picking_brw in self.browse(cr, uid, ids, context=context):
464+ res += [move.am_id.id for move in picking_brw.move_lines]
465+ return {
466+ 'domain': "[('id','in',\
467+ ["+','.join(map(str, res))+"])]",
468+ 'name': _('Journal Entries'),
469+ 'view_type': 'form',
470+ 'view_mode': 'tree,form',
471+ 'res_model': 'account.move',
472+ 'view_id': False,
473+ 'type': 'ir.actions.act_window'
474+ }
475+
476
477=== modified file 'stock_move_entries/view/stock_move_entries_view.xml'
478--- stock_move_entries/view/stock_move_entries_view.xml 2014-05-09 21:51:34 +0000
479+++ stock_move_entries/view/stock_move_entries_view.xml 2014-08-22 20:04:28 +0000
480@@ -15,11 +15,11 @@
481 </xpath>
482 </field>
483 </record>
484-
485+
486 <!--
487 Account Move Extension
488 -->
489-
490+
491 <record id="view_stock_move_form_inherit" model="ir.ui.view">
492 <field name="name">stock.move.form.inherit</field>
493 <field name="model">stock.move</field>
494@@ -30,5 +30,37 @@
495 </xpath>
496 </field>
497 </record>
498+
499+ <record id="view_stock_move_entries_picking_in_form" model="ir.ui.view">
500+ <field name="name">stock.picking.in.entries</field>
501+ <field name="model">stock.picking.in</field>
502+ <field name="inherit_id" ref="stock.view_picking_in_form"/>
503+ <field name="arch" type="xml">
504+ <xpath expr="//page[@string='Additional Info']" position="inside">
505+ <group>
506+ <group>
507+ <button string="Show Journal Entries" name="show_journal_entries" type="object" states="done"/>
508+ <button string="Show Entry Lines" name="show_entry_lines" type="object" states="done"/>
509+ </group>
510+ </group>
511+ </xpath>
512+ </field>
513+ </record>
514+
515+ <record id="view_stock_move_entries_picking_out_form" model="ir.ui.view">
516+ <field name="name">stock.picking.out.entries</field>
517+ <field name="model">stock.picking.out</field>
518+ <field name="inherit_id" ref="stock.view_picking_out_form"/>
519+ <field name="arch" type="xml">
520+ <xpath expr="//page[@string='Additional Info']" position="inside">
521+ <group>
522+ <group>
523+ <button string="Show Journal Entries" name="show_journal_entries" type="object" states="done"/>
524+ <button string="Show Entry Lines" name="show_entry_lines" type="object" states="done"/>
525+ </group>
526+ </group>
527+ </xpath>
528+ </field>
529+ </record>
530 </data>
531-</openerp>
532\ No newline at end of file
533+</openerp>