account_move_line: improved account selection when partner changes
Bug #784006 reported by
Stéphane Bidoul (Acsone)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hi,
When one create journal entries in journals of type 'general', the system does not propose an account when a partner is selected. For other journal types such as 'sale' and 'purchase', an account is proposed when a partner is selected.
The attached patch improves this behaviour as an attempt to solve the FIXME in that area of account_move_line.
Additionnally it removes the test on journal_type = 'expense' (expense not being a known journal type).
Best regards,
-sbi
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-784006-ara
- Mustufa Rangwala (Open ERP) (community): Approve
- Ashvin Rathod (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 18 lines (+6/-1)1 file modifiedaccount/account_move_line.py (+6/-1)
summary: |
- [6.0] account_move_line: improved account selectino when partner changes + [6.0] account_move_line: improved account selection when partner changes |
summary: |
- [6.0] account_move_line: improved account selection when partner changes + account_move_line: improved account selection when partner changes |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Stéphane,
I have tested as your description and get the same problem. And your attached patch is working fine for this. It will be merged soon in trunk addons.
Revision ID: <email address hidden>
Revision No: 4769
Thanks for contribution.