On 03/12/13 13:26 +0100, Guillem Barba Domingo wrote:
> 2013/12/3 Jordi Esteve (Zikzakmedia) <[email protected]>
> 
> > El 03/12/13 11:31, Guillem Barba Domingo ha escrit:
> >
> >  Hi,
> >>
> >> in account.journal there is a field 'sequence' defined with the domain
> >> ('code', '=', 'account.journal') [1], which is used in account.move
> >> creation [2].
> >> In account.fiscalyear there is another field pos_move_sequence with
> >> domain ('code', '=', 'account.move') [3] which is used here [4].
> >>
> >> I think these domains are contradictory because if both sequence are used
> >> in account.move both must to have the same 'code'.
> >> Is there a reason for these domains?
> >>
> >
> > Each account move has two numbers, one assigned when is draft and the
> > other when is posted.
> >
> > In the current design, the number for draft moves is computed from a
> > sequence defined in the journals. And the number for posted moves is
> > computed from a sequence defined in the periods (fiscal year). These
> > sequences are used for different things (draft moves vs posted moves) and
> > defined in different places (journals vs periods), so they have different
> > 'code'.
> >
> 
> IMHO I think it's incorrect. As they are used for different thinks they are
> defined in different places, but if both are used to define the number of
> account.move, both shoud have the same code.

So nothing wrong as they are used for different things.
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpu76Hx99Sk7.pgp
Description: PGP signature

Reply via email to