openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #25578
[Bug 1154263] Re: Journal entry search by partner is unreliable
This is already been fixed in 7.0,
http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/revision/9406
** Changed in: openobject-addons
Status: Confirmed => Fix Committed
--
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/1154263
Title:
Journal entry search by partner is unreliable
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Searching for journal entries using the partner field, some journal
entries don't match, even though they display the partner you're
looking for in the tree view.
Steps to reproduce:
1. Create a new database with sample data.
2. Install the account_voucher and account_accountant modules. Accept all the default values during the configuration steps.
3. Reload the menu, then choose Accounting: Customers: Customer Invoices.
4. Click the New button, and type Agrolait as the customer.
5. Add a new line item, type "service" as the description, 100.00 as the unit price, and 200000 as the account.
6. Click the Save & Close button.
7. Click the Validate button to confirm the invoice.
8. Click the Payment button to pay the invoice.
9. Choose Cash as the payment method, and click the Validate button to record the payment.
10. From the Accounting menu, choose Journal Entries: Journal Entries.
11. You should now see two journal entries, one in the cash journal, the other in the sales journal. Both have partner Agrolait.
12. Type Agrolait in the Partner search field, and click the Find button.
Expected result: you should still see both journal entries.
Actual result: the cash entry does not match the search and disappears.
Analysis:
The account_move.partner_id field is a related field with the store flag set, but it doesn't trigger an update when only the account_move_line table is changed. You have to save the entire account_move to trigger an update.
Tested with revision 7176 of lp:~openerp/openobject-addons/6.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1154263/+subscriptions