Tryton - Issues



Title Unable to create asset with analytic_account and multiple companies
Priority bug Status testing
Superseder Nosy List pokoli, reviewbot
Type behavior Components analytic_account
Assigned To pokoli Keywords review
Reviews 43211002
View: 43211002

Created on 2018-03-08.11:18:30 by pokoli, last changed by reviewbot.

review43211002 updated at
msg38862 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2018-03-08.11:18:29
I have a database with two Companies: Company A and Company B.
I have created an analytic account root for Company A, but not for company B. 

When I create an asset for Company A, there is no problem. But when I create an asset for Company B I get a domain validation error for the analytic accounts of the asset. 

This is because the default analytic_accounts of AnalyticMixin creates analytic accounts for every root, without taking in account it's domain.
Date User Action Args
2018-03-08 11:24:34reviewbotsetnosy: + reviewbot
messages: + msg38863
2018-03-08 11:19:37pokolisetstatus: in-progress -> testing
reviews: 43211002
keyword: + review
2018-03-08 11:18:30pokolicreate

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