[FIX] account_invoice_l10nbe: fixed error on some yaml tests, due to false value not in selection of reference_type field
bzr revid: qdp-launchpad@openerp.com-20110817083829-30nn49zk8x7d62q4
This commit is contained in:
parent
2a5e3c0712
commit
d0024fbeca
|
@ -80,7 +80,7 @@ class account_invoice(osv.osv):
|
|||
algorithm = 'random'
|
||||
reference = self.generate_bbacomm(cr, uid, ids, type, reference_type, algorithm, partner_id, '')['value']['reference']
|
||||
res_update = {
|
||||
'reference_type': reference_type,
|
||||
'reference_type': reference_type or 'none',
|
||||
'reference': reference,
|
||||
}
|
||||
result['value'].update(res_update)
|
||||
|
|
|
@ -45,4 +45,8 @@ class res_partner(osv.osv):
|
|||
], 'Communication Algorithm',
|
||||
help='Select Algorithm to generate the Structured Communication on Outgoing Invoices.' ),
|
||||
}
|
||||
|
||||
_default = {
|
||||
'out_inv_comm_type': 'none',
|
||||
}
|
||||
res_partner()
|
||||
|
|
Loading…
Reference in New Issue