Tryton - Issues

 

Issue7602

Title Cancel move with reconciliation and different parties
Priority bug Status resolved
Superseder Nosy List ced, iehoshia, pokoli, reviewbot, roundup-bot
Type behavior Components account
Assigned To pokoli Keywords review
Reviews 45681002
View: 45681002

Created on 2018-08-02.20:42:03 by iehoshia, last changed by roundup-bot.

Messages
New changeset 8e27e0e3aeb4 by Sergi Almacellas Abellana in branch '4.8':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/modules/account/rev/8e27e0e3aeb4

New changeset a6a425509add by Sergi Almacellas Abellana in branch '4.6':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/modules/account/rev/a6a425509add

New changeset b8eb7d7a6742 by Sergi Almacellas Abellana in branch '4.4':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/modules/account/rev/b8eb7d7a6742

New changeset eabbbfea6a60 by Sergi Almacellas Abellana in branch '4.2':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/modules/account/rev/eabbbfea6a60

New changeset 3daf98a6d7a7 by Sergi Almacellas Abellana in branch '4.0':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/modules/account/rev/3daf98a6d7a7
New changeset 9aa3266f198a by Sergi Almacellas Abellana in branch 'default':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/tryton-env/rev/9aa3266f198a
New changeset 0249bea0eef8 by Sergi Almacellas Abellana in branch 'default':
Group by account and party when reconciling cancel moves
https://hg.tryton.org/modules/account/rev/0249bea0eef8

New changeset 94246d2c2a46 by Sergi Almacellas Abellana in branch 'default':
Add another party on move cancel scenario
https://hg.tryton.org/modules/account/rev/94246d2c2a46
review45681002 updated at https://codereview.tryton.org/45681002/#ps20001
review45681002 updated at https://codereview.tryton.org/45681002/#ps1
msg42801 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2018-08-08.15:51:05
Here is review45681002 that should fix it
msg42615 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-08-02.21:17:33
Indeed cancel wizard should group the lines to reconcile by account and party instead of just the account: http://hg.tryton.org/modules/account/file/9c0d832ac26b/move.py#l1733
msg42612 (view) Author: [hidden] (iehoshia) Date: 2018-08-02.20:42:03
Hi,

I was trying to cancel a move in the follow scenario: 

1. Create a move with 3 lines
   - Cash                         500
   - Main receivable    Party1        200  
   - Main receivable    Party2        300
2. Post it 
3. Cancel the move

I receive the message "You can not reconcile line "Main Receivable" because its party "Party1" is different from "Party2".

Is common for us to register in the same move lines the same account but with different party, and sometimes need to cancel a move. How I can handle this situation?

I recorded a short video for that [1]
[1] https://www.dropbox.com/s/dxj4wyssufoytf2/Cancel%20move.webm?dl=0
History
Date User Action Args
2018-08-26 21:13:41roundup-botsetmessages: + msg43078
2018-08-22 10:10:35roundup-botsetmessages: + msg43024
2018-08-22 10:10:27roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg43023
2018-08-08 18:09:53reviewbotsetmessages: + msg42803
2018-08-08 16:00:17reviewbotsetnosy: + reviewbot
messages: + msg42802
2018-08-08 15:51:05pokolisetstatus: chatting -> testing
keyword: + review
nosy: + pokoli
messages: + msg42801
reviews: 45681002
assignedto: pokoli
2018-08-02 21:17:34cedsetstatus: unread -> chatting
component: + account, - trytond
messages: + msg42615
nosy: + ced
title: Error on cancel move -> Cancel move with reconciliation and different parties
2018-08-02 20:42:03iehoshiacreate

Showing 10 items. Show all history (warning: this could be VERY long)