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. So what do you think? [1] https://bugs.tryton.org/issue5016 [2] https://bugs.tryton.org/issue4410 -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
