Commit Graph

4 Commits

Author SHA1 Message Date
Jake Harr
0c052343a7 [FIX] account_invoice_reference: Fall back to number consistently
Without an origin or supplier invoice number, `_ref_from_invoice` could
return a falsy value. This was checked when called from
`AccountInvoice.action_number`, but not when called from
`AccountMove.create`.
2015-05-14 16:46:21 -04:00
Guewen Baconnier
0b84dda3ff Migration to the new API for account.invoice 2014-10-10 12:59:49 +02:00
Guewen Baconnier
b9e8b6a8b2 Make the new test passes, the fields is named supplier_invoice_number
not supplier_invoice_reference
2014-10-10 12:58:00 +02:00
Guewen Baconnier
b3e278d3ab Move the Model account.invoice in a python module with the same name 2014-10-09 13:39:47 +02:00