← Back to team overview

openerp-expert-accounting team mailing list archive

Re: Due Date Calculated Invoice

 

Please review this MP to solve the problem described in this thread:

https://code.launchpad.net/~acsone-openerp/ocb-addons/7.0-bug-1278080-revert-8932/+merge/206805

Regards.


2014-02-13 9:43 GMT+01:00 Leonardo Pistone <leonardo.pistone@xxxxxxxxxxxxxx>
:

> Thanks for pointing that out Davide. Actually the same bug was fixed
> in both OCB, and later, on the core addons (it would be great if SA
> could care to consider and review existing fixes of the same bugs
> before doing their own, but that's a different story).
>
> Now we have the two fixes in OCB, which could be broken, as Carlos pointed
> out.
>
> We could consider reverting the OCB fix. What do you think?
>
> On Thu, Feb 13, 2014 at 9:37 AM, Carlos Liébana
> <carlos.liebana@xxxxxxxxxxxxxxx> wrote:
> > Hello,
> >
> > The thing is that we've found a regression in OCB addons. Due date is set
> > when the draft invoice is created with a value according to the payment
> > terms of the customer, which in fact is correct. But due date is not
> updated
> > when the invoice is confirmed, and the correct invoice may be different
> from
> > the creation one.
> >
> > If you try this on standard v7 branch, the due date gets updated on
> > confirmation. We're still investigating why.
> >
> > Best regards.
> >
> >
> > 2014-02-13 9:23 GMT+01:00 Davide Corio <davide.corio@xxxxxxxx>:
> >>
> >> On 13 Feb 2014, at 09:17, Leonardo Pistone
> >> <leonardo.pistone@xxxxxxxxxxxxxx> wrote:
> >> >
> >> > Alberto,
> >> > the way I understand is, you have two choices, and should choose one
> of
> >> > the two.
> >> >
> >> > - automatic terms: you set the payment terms and OpenERP computes the
> >> > due dates of your journal items (invoice due date is empty in that
> >> > case)
> >> > - invoice manual due date: this is a manual override, so you can set
> >> > it to a specific date you like.
> >>
> >> There are issues indeed about due date on invoice.
> >>
> >> some fixes landed on ocb addons long ago but there are still open cases:
> >>
> >> https://bugs.launchpad.net/openobject-addons/+bug/1102078
> >>
> >>
> >> --
> >> Davide Corio
> >> davide.corio@xxxxxxxx
> >>
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~openerp-expert-accounting
> >> Post to     : openerp-expert-accounting@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~openerp-expert-accounting
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> >
> > --
> > --------------------------
> >
> > CARLOS LIÉBANA ANERO
> > Director | factorlibre.com
> > +34 635 86 67 92
> > @carlosliebana
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-accounting
> Post to     : openerp-expert-accounting@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-accounting
> More help   : https://help.launchpad.net/ListHelp
>

References