Picking Create. Reembolso F is invoice

This commit is contained in:
resteve 2014-03-25 08:47:31 +01:00
parent 946ffa4747
commit d1a176e302
2 changed files with 4 additions and 5 deletions

View File

@ -72,8 +72,8 @@ class Picking(API):
'exp_bultos': data.get('exp_bultos', '1'),
'exp_cambio': data.get('exp_cambio', ''),
'exp_cde': data.get('exp_cde', ''),
'exp_portes': data.get('exp_portes', 'F'),
'exp_reembolso': data.get('exp_reembolso', ''),
'exp_portes': data.get('exp_portes', ''), # F: Facturacion
'exp_reembolso': data.get('exp_reembolso', ''), # F: Facturacion
'exp_seguro': data.get('exp_seguro', ''),
'exp_entregar_sabado': data.get('exp_entregar_sabado', ''),
'exp_lc': data.get('exp_lc', ''),
@ -114,7 +114,6 @@ class Picking(API):
'int_valor_declarado': data.get('int_valor_declarado', '0'),
}
xml = tmpl.generate(**vals).render()
print xml
result = self.connect(xml)
dom = parseString(result)

View File

@ -58,8 +58,8 @@ with Picking(username, password, debug) as picking_api:
#~ data['exp_bultos'] = ''
#~ data['exp_cambio'] = ''
#~ data['exp_cde'] = ''
#~ data['exp_portes'] = ''
#~ data['exp_reembolso'] = ''
#~ data['exp_portes'] = 'F'
#~ data['exp_reembolso'] = 'F'
#~ data['exp_seguro'] = ''
#~ data['exp_entregar_sabado'] = ''
#~ data['exp_lc'] = ''