2015-12-29 20:07 GMT-03:00 Albert Cervera i Areny <[email protected]>:
> 2015-12-26 15:10 GMT+01:00 Cédric Krier <[email protected]>: > > On 2015-12-25 22:26, Jordi Esteve (Zikzakmedia) wrote: > >> El 24/12/15 a les 15:06, Cédric Krier ha escrit: > >> >Hi, > >> > > >> >Following the previous discussions about the invoice sequence and the > >> >fiscal year, I have started a feature request to improve the situation > >> >and manage more cases. > >> > > >> >https://bugs.tryton.org/issue5205 > >> > > >> >Please comment if the proposal could be in conflict with your local > >> >usage. > >> > >> The new proposal (a check when setting the number on an invoice to > ensure > >> that the invoice date not before any invoice dates numbered with the > same > >> sequence) fits well the Spanish law and practice. > >> > >> In fact, the Spanish team maintains a module [1] that implements this > idea > >> with some restrictions because the sequence is not yet stored in > invoices. > >> > >> https://bitbucket.org/trytonspain/trytond-account_invoice_consecutive > > > > I see you also have a check for invoice_date == accounting_date for out > > invoices. I'm wondering if we should also include this constraint in the > > base. > > I think this makes sense. It'd be very strange that the law allowed > those dates to be different. > > However, as Jordi said, the reason we added this constraint was not > this one. In Spain you cannot create invoice number 0001 on 03/01/2016 > and invoice number 0002 on a date < 03/01/2015, which is exactly your > proposal. > > I always thought that was a very strict (special) Spanish requirement > so it would be nice to know if other countries have the same > limitation. > > Same limitation in Argentina Sebastián Marró Thymbra -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAE_jc%2B-7FoSxLa60tCn7iX_upLJcDCrdyYN9wiXHFvXqBS%2BSLA%40mail.gmail.com.
