Merge lp:~inddiana/diana-addons/imp_he_biostar_wizard_marcaje into lp:diana-addons

Proposed by Mauricio Jose Sanchez Puerta
Status: Merged
Merged at revision: 25
Proposed branch: lp:~inddiana/diana-addons/imp_he_biostar_wizard_marcaje
Merge into: lp:diana-addons
Diff against target: 40 lines (+22/-0) (has conflicts)
1 file modified
diana_integracion_biostar/wizard/horas_marcaje_wizard.py (+22/-0)
Text conflict in diana_integracion_biostar/wizard/horas_marcaje_wizard.py
To merge this branch: bzr merge lp:~inddiana/diana-addons/imp_he_biostar_wizard_marcaje
Reviewer Review Type Date Requested Status
[SISB] Yennifer Santiago Z Pending
Review via email: mp+186043@code.launchpad.net

Description of the change

modificado herencia de la tabla para crear las lineas

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'diana_integracion_biostar/wizard/horas_marcaje_wizard.py'
--- diana_integracion_biostar/wizard/horas_marcaje_wizard.py 2013-09-11 20:59:36 +0000
+++ diana_integracion_biostar/wizard/horas_marcaje_wizard.py 2013-09-17 13:54:45 +0000
@@ -12,9 +12,26 @@
12 _columns = {12 _columns = {
13 'fecha_desde': fields.date('Fecha desde'),13 'fecha_desde': fields.date('Fecha desde'),
14 'fecha_hasta': fields.date('Fecha hasta'),14 'fecha_hasta': fields.date('Fecha hasta'),
15 'h_line_ids': fields.one2many('horas.marcaje.lineas.wizard', 'horas_marcaje_id', 'Lineas de marcaje'),
15 16
16 }17 }
17 18
19 def imprimir(self, cr, uid, ids, context=None):
20 d = {}
21 d = {
22 'ids': context.get('active_ids',[]),
23 'model': 'horas.marcaje.wizard',
24 }
25
26 data = self.read(cr, 1, ids)
27 data = data[0]
28 data.update(d)
29
30 return {
31 'type': 'ir.actions.report.xml',
32 'report_name': 'horas.marcaje',
33 #~ 'datas': data,
34 }
18 35
19 def salir(self, cr, uid, ids, context=None): 36 def salir(self, cr, uid, ids, context=None):
20 return {37 return {
@@ -203,4 +220,9 @@
203 }220 }
204 221
205222
223<<<<<<< TREE
206horas_marcaje_wizard()224horas_marcaje_wizard()
225=======
226#~ horas_marcaje_wizard()
227
228>>>>>>> MERGE-SOURCE

Subscribers

People subscribed via source and target branches