Please sign in to comment.
[FIX] sale_stock: default warehouse_id
Finetuning of b30e280 : self.user_id is always an empty recordset in a default function call, use self.env.user instead, it is the default value for user_id. The _init_column override is needed to ensure the new property field on res_users isn't read at module installation, because its ir.model.fields doesn't exist already, leading to a wrong sql query in ir_property. closes #48378 X-original-commit: 6c6bd01 Signed-off-by: Victor Feyens (vfe) <firstname.lastname@example.org>
- Loading branch information
Showing with 29 additions and 1 deletion.