This commit brings the model, views and compute method for the value and the quantity valued. An ir rule prevents to read the value of another company. Stat button are added on done picking to access the generated layers. Further commits will adapt one by one the cost method to actually use the stock valuation layer when As the goal is to move the valuation fields away from the stock move, we set the necessary fields on the layer. Note the absence of `remaining_value`. task-1875873
549 B
549 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_account_account_stock_manager | account.account stock manager | account.model_account_account | stock.group_stock_manager | 1 | 0 | 0 | 0 |
| 3 | access_stock_picking_invoicing_payments | stock.picking | stock.model_stock_picking | account.group_account_invoice | 1 | 1 | 1 | 0 |
| 4 | access_stock_move_invoicing_payments | stock.move | model_stock_move | account.group_account_invoice | 1 | 1 | 1 | 0 |
| 5 | access_stock_valuation_layer | access_stock_valuation_layer | model_stock_valuation_layer | stock.group_stock_manager | 1 | 1 | 1 | 0 |