On 13/02/13 16:56 +0100, Cédric Krier wrote:
> 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.

I implemented in review [1] a check that raise a nice error message in
case the user try to credit with refund a supplier invoice (and set a
correct default value).

[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/

Attachment: pgp6Q8Y6F_nG9.pgp
Description: PGP signature

Reply via email to