Stock Account Extension
by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.roStock Account Extension
Transfer values, category accounts, cost control
Small additions to stock valuation: the value of each transfer in the transfers list, accounting settings passed from a product category to its subcategories, and control over who may change the cost of a product that is in stock.
Value of transfers. Adds an Amount column to the transfers list (for example Inventory > Operations > Transfers > Receipts), with the total at the bottom. The amount is the sum of the valuation Value of the stock moves of the transfer; moves that are not valued (for example internal transfers) count as zero.
Accounts propagated to subcategories. When the Stock Account of a product category is changed, the category's accounting settings are copied to all its subcategories: Income Account, Expense Account, Stock Account, Price Difference Account, Stock Journal, Costing Method and Inventory Valuation. The same copy can be run at any time with the Propagate Accounts action on the category form (developer mode).
Settings inherited from the parent category. When you choose a Parent Category on a category, the same accounting settings are copied from the parent.
Cost changes restricted. Only users in the Change Product Price group can change the Cost of a product that has quantity on hand. Other users get an access error. The administrator is in the group by default.
Configuration
Add users to the Change Product Price group in *Settings > Users & Companies
Groups* (developer mode).
Limitations
- The value of a transfer is shown only in the transfers list, not on the transfer form.
- The Stock Variation Account of the category is not propagated.
- Open Inventory > Operations > Transfers > Receipts. The Amount column shows the valuation value of each receipt and the total at the bottom. A receipt that is not validated yet is worth 0.00.
- The same column in Deliveries shows the cost of the goods that left the stock, not the sales price.
- Open the top product category (Inventory > Configuration > Products > Product Categories), set Income Account, Expense Account, Costing Method and Inventory Valuation, then set Stock Account and save. Saving a new Stock Account copies all these settings to every subcategory.
- Check a subcategory: it now has the same accounts, costing method and inventory valuation.
- When you change another setting of the top category, copy the settings again with the gear icon > Propagate Accounts (developer mode).
- On a new category, choosing a Parent Category fills in the accounting settings of the parent.
- A user who is not in the Change Product Price group cannot change the Cost of a product that has quantity on hand: saving shows an Access Error.
- Manage who may change the cost in Settings > Users & Companies > Groups > Change Product Price (developer mode). The administrator is in the group by default.
The copy to subcategories overwrites their settings, empty values included: set exceptions on a subcategory after the propagation. The cost of products without stock and the automatic cost updates (for example the average cost recomputed at a receipt) are not restricted.
20.0.1.0.10 (2026-11-04)
- Migration to Odoo 20.0:
_change_standard_pricefollows the new signature (creating a product with a cost no longer fails); the transfer amount uses the magnitude of the move value (negative on outgoing moves in 20).
19.0.1.0.10 (2026-11-03)
- Description rewritten from the code: the transfer value is shown in the transfers list, not on the transfer form.
- Documented the account propagation to subcategories and the Change Product Price group, which the old description did not mention.
- Summary and banner corrected.
19.0.1.0.9 (2026-10-16)
- Development status raised from Beta to Production/Stable: the module has been in production use at customers for a long time.
19.0.1.0.8 (2026-10-09)
- Apps Store banner (banner.json).
19.0.1.0.7 (2026-10-08)
- Fixed STOCKACCOUNT-001: saving a stock valuation account on a category, the
Propagate Accounts action and selecting a parent category raised
AttributeError, because they still used fields removed in Odoo 19 (old price difference account, stock input/output accounts). Propagation now uses the Odoo 19 fields: price difference, expense, income and stock valuation accounts, stock journal, costing method and inventory valuation.
19.0.1.0.6 (2026-09-29)
- Own module icon, instead of the generic gears it had.
Need help getting started?
Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.
Questions about this module? Write to us — the developers who build it will answer.
More apps by Terrabit
Other modules from the same publisher, built to work together. All apps →
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Discuss (mail) |
| Lines of code | 102 |
| Technical Name |
deltatech_stock_account |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module