Inventory from different company is not completed
Steps to reproduce:
- Create a database with two companies (A and B)
- Create product of type Goods
- Do a stock move of 1 unit of product from supplier to strogafe location using company A.
- Change user preferences and set the user company to B
- Create a new inventory, change company B (default) to company A.
- Click the complete lines button.
Current behaviour:
- No line is created as there is not stock for company B (context company)
Excepted behaviour:
- A line of 1 unit of product is created with estimated quantity of 1.