On 2015-10-21 12:07, Albert Cervera i Areny wrote: > 2015-10-20 21:53 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>: > > On 2015-10-20 21:17, Jordi Esteve wrote: > >> El 20/10/15 a les 19:24, Cédric Krier ha escrit: > >> >On 2015-10-20 19:07, Albert Cervera i Areny wrote: > >> >>2015-10-20 18:38 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>: > >> >>>Hi, > >> >>> > >> >>>I was discussing about issue5016 [1] which is indeed a continuation of > >> >>>issue4410 [2] and I came with the idea that we should remove the > >> >>>invoice/credit_note type on the Invoice object. > >> >>>Such types are really a big constraint that prevent us to generate mixed > >> >>>documents (half invoice and half credit note). > >> >>> > >> >>>So the idea will be to migrate the credit note to negate the quantity > >> >>>and keep in type only 'in' / 'out' (aka 'supplier' / 'customer'). > >> >>> > >> >>>The only difficulty will be for the sequence. Until now, we have the > >> >>>possibility to use different sequences for invoice and credit note. I > >> >>>think the way to manage such change will be to warn early enough users > >> >>>that such configuration will no more be possible in the future and so > >> >>>people should configure the next fiscalyear by using unique sequence for > >> >>>both types in prevision of the future migration. > >> >>We need both sequences in Spain as it is a legal requirement [1]. > >> >Could you point to which page? > >> > >> Page 23: > >> > >> ==== > >> Número y, en su caso, serie. La numeración de las facturas dentro de cada > >> serie debe ser correlativa > >> > >> Es obligatoria, en todo caso, la expedición en series específicas de las > >> facturas siguientes: > >> - Las rectificativas. > >> ==== > >> > >> As Albert has said, credit notes could be removed and replaced by different > >> invoice sequences, like account_invoice_multisequence module [1] does. > > > > This doesn't say that invoice and credit note must have a different > > sequence. > > It does. When it says that they need to be with specific sequences, it > means that they must be different from standard invoices. "Facturas > rectificativas" is the equivalent to credit notes. > > > But of course, customization of the invoice numbering will still be > > possible. But they will have also to merge the two types. > > > >> >>Yet, > >> >>it should not be all that difficult to choose the sequence depending > >> >>on the sign of the invoice. > >> >I think if you have really this constraint, this means that you can not > >> >mix positive and negative lines on the same document otherwise it is not > >> >consistent. > >> > >> It depends, Spanish legal requirements for credit notes are strict (page > >> 38); summarizing credit notes in Spain must come from previous invoices. > >> But > >> you can have negative amounts in sales/purchases and generate a single > >> invoice with mixed positive/negative amounts. > > > > So I don't see that it is a requirement to have separated sequences > > for each kind. > > > > Indeed, in page 171 of the same document (and some other notes > elsewhere in the same document) it states that it is not possible to > have negative amounts in normal invoices if they are to invoice > returning goods. Those should always be in a "Factura rectificativa" > and should state the invoice of the goods that were delivered in the > first place.
I think you are not looking at the important information. In some way, we don't care how they named the document. What is important is if there should be a clear separation between what we call now invoice and credit note. If there is, what is the definition of an invoice and a credit note? -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/