openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27166
[Bug 1127198] Re: [6.1/Trunk/7.0] wrong date in import invoices in bank statements
Hello guys,
I agree with you on the need for these changes. This was integrated in 6.1 and for some unknown reason not ported to 7.0.
This is now done.
However, as mentioned on the merge proposal below, the on_change use is problematic (should not make write calls edit mode). I believe it is not problematic to have a mismatch while the two are in draft. We are open to discuss this point though.
https://code.launchpad.net/~openerp-community/openobject-addons/fix-1127198-import-invoice-payment-date/+merge/163006
The 6.1 changes forward ported in 7 is merged at the following revision
revno: 9799 [merge]
revision-id: mat@xxxxxxxxxxx-20140129172009-vbp5n1nco51kaly8
Thanks
** Changed in: openobject-addons/7.0
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1127198
Title:
[6.1/Trunk/7.0] wrong date in import invoices in bank statements
Status in OpenERP Addons (modules):
Confirmed
Status in OpenERP Addons 7.0 series:
Fix Released
Status in OpenERP Addons trunk series:
Confirmed
Bug description:
When invoices imported in bank statements the transaction date of the
generated journal line is incorrect. The date is not the date from the bank
statement. The effective date from the invoice is choosen.
Steps to reproduce:
Create a invoice with date 2013-01-01 in period 2013/01.
The customer pay the invoice on 2013-02-01 via bank. Now we have to
create a bank statement on 2013-02-01 in period 2013/02. Click on
'import invoices' and import the invoice. Now confirm the bank statement
and you will see following error:
ValidateError
Error occurred while validating the field(s) date: The date of your
Journal Entry is not in the defined period! You should change the date
or remove this constraint from the journal
Now go to journals and disable 'Check Date in Period' in bank journal and the
bank statement can be confirmed. Click on Journal items and you can see
the wrong date 2013-01-01 in the journal item.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1127198/+subscriptions
References