Tryton - Issues

 

Issue7203

Title InvoiceLine on_change_account ignores supplier tax rule if not linked to any invoice
Priority feature Status resolved
Superseder Nosy List pokoli, reviewbot, roundup-bot
Type feature request Components account_invoice
Assigned To pokoli Keywords review
Reviews 36001003
View: 36001003

Created on 2018-03-09.11:34:59 by pokoli, last changed by roundup-bot.

Messages
New changeset 7889c34ed332 by Sergi Almacellas Abellana in branch 'default':
Apply party tax rules on on_change_account without invoice
http://hg.tryton.org/modules/account_invoice/rev/7889c34ed332
review36001003 updated at https://codereview.tryton.org/36001003/#ps1
msg38885 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2018-03-09.11:34:58
When calling on_change_account with an account with default taxes and with a line linked to a supplier with a tax rule this tax rule is ignored if the line is not linked to any invoice. 

The same pattern works well when using on_change_product. So for consistency I think on_change_tax should also pick the tax rule from the line party if defined.
History
Date User Action Args
2018-03-24 12:09:30roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg39316
2018-03-09 11:43:44reviewbotsetnosy: + reviewbot
messages: + msg38888
2018-03-09 11:37:03pokolisetstatus: in-progress -> testing
reviews: 36001003
keyword: + review
2018-03-09 11:34:59pokolicreate

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