Skip to content

[16.0] Vendor bills received by email are not assigned to the correct operating unit #803

@tarteo

Description

@tarteo

Module

account_operating_unit

Describe the bug

When a vendor bill is sent to the email alias e.g. vendorbills@company2.com and you have multiple companies e.g. company1 and company2 it is assigned to the default operating unit of the user, which is in this (the scheduled action) case "OdooBot" that has the operating unit "company1".

Expected behavior

The vendorbill should be assigned to the first available operating unit of the journals company or just be left empty and decided after the fact.

I think this issue is also a result of this: #785

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions