Hi, The codereview [1] which adds two new test scenarii on account_invoice has revealed an issue about the credit wizard for supplier invoice/credit note. In trunk, the supplier invoice/credit note doesn't have anymore a invoice_date filled by default because it was decided that the user must take care of the *real* invoice date the supplier put on it. With this behavior we are sure the user will have to fill it correctly.
But this breaks the credit wizard if used with "refund" option because it needs to validate the credited invoice to be able to reconcile it with the origin one. But as the invoice_date is not filled, it always fails. So I think having a credit wizard for supplier invoice/credit note doesn't have sense because such credited document need to be filled with the information received from the supplier (like invoice date). So I propose to remove the wizard (or prevent to run it) on supplier invoice/credit note. Any comments? [1] http://codereview.tryton.org/662003/ -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgp59UB4VCbbP.pgp
Description: PGP signature
