summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2019-05-31 15:31:47 +0000
committerSimon Lejeune <sle@openerp.com>2019-06-10 20:43:27 +0000
commitf12a616c29fc1f5749c7958a17eee95a0030b5e0 (patch)
treec12c8cac706aff0593f6b40a171cfdbddcb89d2a /addons/web/static/src/js/fields/basic_fields.js
parent68d8e49f2fd03bdd42c9b50fde64f706af9d3c8b (diff)
[REF] stock_account: cost method change with valuation layers
The examples are implemented at TestStockValuationChangeCostMethod. The idea is that we want to keep some trace of cost method change and keep the consistency of the data (eg what about a fifo stack when changing to standard, that sort of things). We thus implement a simple logic: when changing the cost method, empty the current valued stock with the old cost method and refill the stock with the new one. Some cost method changes are neutral accounting wise, others not. The rationale is that cost method changes are a hard configuration changes and databases where users changed cost method are undebuggable because it is not possible to understand the resulting accounting entries. The change of valuation (auto to manual and conversely) is not well defined at the moment. task-1875873
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions