-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] sale_sourced_by_line: fix conflict with precompute
Built-in filed is marked as precompute=True. When field is marked as precomputed and readonly, Odoo will remove it's value from create values. (See `odoo.models.BaseModel._prepare_create_values`) Therefore, it was not possible to set `warehouse_id` in create as it would reset to default computed warehouse. Now, it's fixed and readonly enforced on view level.
- Loading branch information
1 parent
b2e4686
commit f47d3f7
Showing
2 changed files
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters