[IMP] order invoice per date, solve issue with multi journal

This commit is contained in:
Sébastien BEAU
2017-08-02 19:39:33 +02:00
parent 1e062af883
commit ffa6e74a19

View File

@@ -29,6 +29,7 @@ logger = logging.getLogger(__name__)
class AccountInvoice(models.Model):
_inherit = 'account.invoice'
_order = "date_invoice desc, number desc, id desc"
origin = fields.Char(track_visibility='onchange')
supplier_invoice_number = fields.Char(track_visibility='onchange')