Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi company issue facing #165165

Open
akloptim opened this issue May 12, 2024 · 0 comments
Open

Multi company issue facing #165165

akloptim opened this issue May 12, 2024 · 0 comments
Labels
17.0 Accounting Logistics about stock, mrp, delivery, purchase

Comments

@akloptim
Copy link

ctx = dict(self._context, default_product_id=self.id, default_company_id=self.env.company.id)

If a user switches from company A to company B and tries to create a revaluation entry, the default company remains as A. This will cause a multi-company issue and prevent the user from creating the valuation entry. Additionally, the field is read-only

@vava-odoo vava-odoo added Accounting Logistics about stock, mrp, delivery, purchase 17.0 labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.0 Accounting Logistics about stock, mrp, delivery, purchase
Projects
None yet
Development

No branches or pull requests

2 participants