Rifakat (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-18001-l10n_ch-rha into
lp:openobject-addons/6.0.
Requested reviews:
nel (nel-tinyerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-18001-l10n_ch-rha/+merge/86009
Hello,
We were not able to save any DTA file, this fix solves this prbolem.
Kindly review.
Regards,
Rifakat
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-18001-l10n_ch-rha/+merge/86009
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-18001-l10n_ch-rha.
=== modified file 'l10n_ch/wizard/create_dta.py'
--- l10n_ch/wizard/create_dta.py 2011-12-14 12:19:22 +0000
+++ l10n_ch/wizard/create_dta.py 2011-12-16 09:14:26 +0000
@@ -580,6 +580,7 @@
data['ids'] = active_ids
data['id'] = active_id
dta_file = _create_dta(self, cr, uid, data, context)
+ self.write(cr, uid, ids, {'dta_file': dta_file['dta']}, context=context)
context.update({'dta_file':dta_file})
return self.save_dta(cr, uid, ids, context)
@@ -592,6 +593,7 @@
return {
'view_type': 'form',
'view_mode': 'form',
+ 'res_id': ids[0],
'res_model': 'create.dta.wizard',
'views': [(resource_id, 'form')],
'type': 'ir.actions.act_window',
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp