← Back to team overview

openerp-expert-accounting team mailing list archive

Re: [Bug 519133] Re: The Centralisation check is required at write(), Date of move and effective date of move line do not behave as expected on write()

 

Hello.

We think, that the consistency is like Jay said:, BUT

The date in move _must_ be the same in lines, it doesn't have much sense
have move with diferent dates on lines and but.

IOH. We need to propose some elegant solution for the situation that  invitu
says, because this case have logical and is a REAL case.

We are worry about the future because, we need validate some extra
stuff.

What happend if we change the journal from centralized to Standard Journal a
journal with move and this characterisc special[dates in lines diferent for
dates in move]? an exception? or a recalc of dates for its moves? this
should be managed like an consistency problem.

I propose make this field a calculated field recordable [date in lines] and
put the logical behind the "def function" for the field value. With this
option we can validate the field itself and not the account_move_line
generation logical, i think this is a elegant solution!.

Regards.

2010/5/4 invitu <contact@xxxxxxxxxx>

> ** Changed in: openobject-addons
>       Status: Invalid => Incomplete
>
> --
> The Centralisation check is required at write(), Date of move and effective
> date of move line do not behave as expected on write()
> https://bugs.launchpad.net/bugs/519133
> You received this bug notification because you are subscribed to
> OpenObject.
>
> Status in OpenObject Addons Modules: Incomplete
> Status in OpenObject Addons 5.0 series: Fix Released
>
> Bug description:
> Hello
>
> When modifying an entry line in a centralized journal
> (journal.centralisation=true), all the entry line dates get modified and
> take the modified entry line value.
>
> The entry line dates should not be changed
>
> I guess the solution is in the write function in account_move_line.py where
> we should find some 'if journal.centralisation:...' as it is in the create
> function.
>
> Regards
>
>
>


-- 
Saludos Cordiales

Nhomar G. Hernandez M.
+58-414-4110269
+58-212-6615932
+58-212-9536734 ext 124
+58-212-9512643
Skype: nhomar00
Web-Blog: http://geronimo.com.ve
Servicios IT: http://openerp.netquatro.com
Linux-Counter: 467724
Correos:
nhomar.hernandez@xxxxxxxxxxxxx
nhomar@xxxxxxxxxxxxxxx

-- 
The Centralisation check is required at write(), Date of move and effective date of move line do not behave as expected on write()
https://bugs.launchpad.net/bugs/519133
You received this bug notification because you are a member of OpenERP
Accounting Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: Incomplete
Status in OpenObject Addons 5.0 series: Fix Released

Bug description:
Hello

When modifying an entry line in a centralized journal (journal.centralisation=true), all the entry line dates get modified and take the modified entry line value.

The entry line dates should not be changed

I guess the solution is in the write function in account_move_line.py where we should find some 'if journal.centralisation:...' as it is in the create function.

Regards





References