Tryton - Issues

 

Issue7602

Title Cancel move with reconciliation and different parties
Priority bug Status testing
Superseder Nosy List ced, iehoshia, pokoli, reviewbot
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 reviewbot.

Messages
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-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)