Issue 10246

Title
Usage of purchase and sale models even when not activated
Priority
bug
Status
resolved
Nosy list
ced, dotbit, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-04-02.20:20:46 by ced, last changed yesterday by roundup-bot.

Messages

New changeset 8fbc574d1105 by Cédric Krier in branch '5.8':
Do not fail if sale or purchase are not activated
https://hg.tryton.org/modules/account_tax_rule_country/rev/8fbc574d1105

New changeset 8e25c64ab5e9 by Cédric Krier in branch '5.6':
Do not fail if sale or purchase are not activated
https://hg.tryton.org/modules/account_tax_rule_country/rev/8e25c64ab5e9

New changeset 23a02cf1a588 by Cédric Krier in branch '5.0':
Do not fail if sale or purchase are not activated
https://hg.tryton.org/modules/account_tax_rule_country/rev/23a02cf1a588
New changeset 167d7f0f6c95 by Cédric Krier in branch 'default':
Do not fail if sale or purchase are not activated
https://hg.tryton.org/tryton-env/rev/167d7f0f6c95
New changeset d03efe83669b by Cédric Krier in branch 'default':
Do not fail if sale or purchase are not activated
https://hg.tryton.org/modules/account_tax_rule_country/rev/d03efe83669b
Author: [hidden] (dotbit) Tryton translator
Date: 2021-04-05.07:42:24

Tested on 5.8.5. It no longer crashes.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-04-02.20:20:46

Spotted on https://discuss.tryton.org/t/stock-account-configuration-french-chart-of-accounts/3996.
If the account_invoice module is activated but not the sale or purchase, InvoiceLine._get_tax_rule_pattern fails.

History
Date User Action Args
2021-04-19 23:59:06roundup-botsetkeyword: - backport
messages: + msg66732
2021-04-10 14:02:57roundup-botsetmessages: + msg66293
2021-04-10 14:02:53roundup-botsetmessages: + msg66292
nosy: + roundup-bot
status: testing -> resolved
2021-04-05 09:10:44cedsetkeyword: + backport
2021-04-05 07:42:24dotbitsetmessages: + msg66071
nosy: + dotbit
2021-04-02 20:48:19reviewbotsetmessages: + msg66010
nosy: + reviewbot
2021-04-02 20:26:26cedsetkeyword: + review
reviews: 341911002
status: in-progress -> testing
2021-04-02 20:20:46cedcreate