diff --git a/base_account_budget/README.rst b/base_account_budget/README.rst new file mode 100644 index 000000000..a29115b8b --- /dev/null +++ b/base_account_budget/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Budget Management +================= +Budgets Management system for Odoo 18 Community edition. + +Configuration +============= +No configuration + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(http://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer: (V17) Risvana A R , Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/base_account_budget/__init__.py b/base_account_budget/__init__.py new file mode 100644 index 000000000..e550e005b --- /dev/null +++ b/base_account_budget/__init__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models + + +def enable_analytic_accounting(env): + group = env.ref('analytic.group_analytic_accounting') + if group: + users = env['res.users'].search([('share', '=', False)]) + for user in users: + user.write({'groups_id': [(4, group.id)]}) diff --git a/base_account_budget/__manifest__.py b/base_account_budget/__manifest__.py new file mode 100644 index 000000000..e2f4bfa9c --- /dev/null +++ b/base_account_budget/__manifest__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Odoo 18 Budget Management', + 'version': '18.0.1.0.0', + 'category': 'Accounting', + 'summary': """ Budget Management for Odoo 18 Community Edition. """, + 'description': """ This module allows accountants to manage analytic and + budgets. Once the Budgets are defined (in Accounting/Accounting/Budgets), + the Project Managers can set the planned amount on each Analytic Account. + The accountant has the possibility to see the total of amount planned for + each Budget in order to ensure the total planned is not greater/lower + than what he planned for this Budget. Each list of record can also be + switched to a graphical view of it, odoo17, accounting, odoo17 accounting, odoo17 budget, odoo17""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'account'], + 'data': [ + 'security/account_budget_security.xml', + 'security/ir.model.access.csv', + 'views/account_analytic_account_views.xml', + 'views/account_budget_views.xml', + ], + 'post_init_hook': 'enable_analytic_accounting', + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/base_account_budget/doc/RELEASE_NOTES.md b/base_account_budget/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..4ad5d2e81 --- /dev/null +++ b/base_account_budget/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 07.10.2024 +#### Version 18.0.1.0.0 +#### ADD +- Initial commit for Budget Management diff --git a/base_account_budget/i18n/zh_CN.po b/base_account_budget/i18n/zh_CN.po new file mode 100644 index 000000000..3f07a54bc --- /dev/null +++ b/base_account_budget/i18n/zh_CN.po @@ -0,0 +1,410 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_account_budget +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-03-09 10:32+0000\n" +"PO-Revision-Date: 2022-03-10 08:50+0800\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"Language: zh_CN\n" +"X-Generator: Poedit 2.2\n" + +#. module: base_account_budget +#: model_terms:ir.actions.act_window,help:base_account_budget.act_budget_view +msgid "" +"A budget is a forecast of your company's income and/or expenses\n" +" expected for a period in the future. A budget is defined on some\n" +" financial accounts and/or analytic accounts (that may represent\n" +" projects, departments, categories of products, etc.)" +msgstr "" +"预算是对公司收入和/或支出的预测\n" +"预计在未来一段时间内。预算是在某些时间定义的\n" +"金融账户和/或分析账户(可能代表\n" +"项目、部门、产品类别等)" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__account_ids +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_post_form +msgid "Accounts" +msgstr "科目" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__percentage +msgid "Achievement" +msgstr "达成" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_needaction +msgid "Action Needed" +msgstr "需要采取的行动" + +#. module: base_account_budget +#: model:ir.model,name:base_account_budget.model_account_analytic_account +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__analytic_account_id +msgid "Analytic Account" +msgstr "辅助核算" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Approve" +msgstr "批准" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_attachment_count +msgid "Attachment Count" +msgstr "附件数量" + +#. module: base_account_budget +#: model:ir.model,name:base_account_budget.model_budget_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__budget_id +#: model_terms:ir.ui.view,arch_db:base_account_budget.budget_budget_view_tree +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Budget" +msgstr "预算" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_account_analytic_account_form_inherit_budget +msgid "Budget Items" +msgstr "预算项目" + +#. module: base_account_budget +#: model:ir.model,name:base_account_budget.model_budget_lines +msgid "Budget Line" +msgstr "预算明细" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_analytic_account__budget_line +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__budget_line +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__budget_line +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_line_form +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_line_search +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_line_tree +msgid "Budget Lines" +msgstr "预算明细" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__name +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Budget Name" +msgstr "预算名称" + +#. module: base_account_budget +#: model:ir.model,name:base_account_budget.model_account_budget_post +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__general_budget_id +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_post_form +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_post_search +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_budget_post_tree +msgid "Budgetary Position" +msgstr "预算状况" + +#. module: base_account_budget +#: model:ir.actions.act_window,name:base_account_budget.open_budget_post_form +#: model:ir.ui.menu,name:base_account_budget.menu_budget_post_form +msgid "Budgetary Positions" +msgstr "预算状况" + +#. module: base_account_budget +#: model:ir.actions.act_window,name:base_account_budget.act_budget_lines_view +#: model:ir.actions.act_window,name:base_account_budget.act_budget_view +#: model:ir.ui.menu,name:base_account_budget.menu_act_budget_view +#: model:ir.ui.menu,name:base_account_budget.menu_act_crossovered_budget_lines_view +msgid "Budgets" +msgstr "预算" + +#. module: base_account_budget +#: model_terms:ir.actions.act_window,help:base_account_budget.act_budget_view +msgid "" +"By keeping track of where your money goes, you may be less\n" +" likely to overspend, and more likely to meet your financial\n" +" goals. Forecast a budget by detailing the expected revenue per\n" +" analytic account and monitor its evolution based on the actuals\n" +" realised during that period." +msgstr "" +"通过跟踪资金流向,您可能会减少\n" +"可能会超支,更可能满足您的财务要求\n" +"目标。通过详细说明每个月的预期收入来预测预算\n" +"分析帐户并根据实际情况监控调整以达到预算目的。" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Cancel Budget" +msgstr "取消预算" + +#. module: base_account_budget +#: model:ir.model.fields.selection,name:base_account_budget.selection__budget_budget__state__cancel +msgid "Cancelled" +msgstr "已取消" + +#. module: base_account_budget +#: model_terms:ir.actions.act_window,help:base_account_budget.act_budget_view +msgid "Click to create a new budget." +msgstr "单击以创建新预算" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__company_id +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__company_id +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__company_id +msgid "Company" +msgstr "公司" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Confirm" +msgstr "审核" + +#. module: base_account_budget +#: model:ir.model.fields.selection,name:base_account_budget.selection__budget_budget__state__confirm +msgid "Confirmed" +msgstr "已审核" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__create_uid +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__create_uid +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__create_uid +msgid "Created by" +msgstr "创建人" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__create_date +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__create_date +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__create_date +msgid "Created on" +msgstr "创建于" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_analytic_account__display_name +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__display_name +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__display_name +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__display_name +msgid "Display Name" +msgstr "显示名称" + +#. module: base_account_budget +#: model:ir.model.fields.selection,name:base_account_budget.selection__budget_budget__state__done +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Done" +msgstr "完成" + +#. module: base_account_budget +#: model:ir.model.fields.selection,name:base_account_budget.selection__budget_budget__state__draft +msgid "Draft" +msgstr "草稿" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__date_to +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__date_to +msgid "End Date" +msgstr "结束时间" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_follower_ids +msgid "Followers" +msgstr "相关人员" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_channel_ids +msgid "Followers (Channels)" +msgstr "相关人员(频道)" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_partner_ids +msgid "Followers (Partners)" +msgstr "相关人员(业务伙伴)" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "From" +msgstr "来自" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_analytic_account__id +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__id +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__id +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__id +msgid "ID" +msgstr "ID" + +#. module: base_account_budget +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_needaction +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_unread +msgid "If checked, new messages require your attention." +msgstr "确认后, 将会提示消息。" + +#. module: base_account_budget +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_has_error +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "如果勾选此项, 某些消息将会产生传递错误。" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_is_follower +msgid "Is Follower" +msgstr "是否相关人员" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_analytic_account____last_update +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post____last_update +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget____last_update +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines____last_update +msgid "Last Modified on" +msgstr "最后修改日" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__write_uid +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__write_uid +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__write_uid +msgid "Last Updated by" +msgstr "最后更新人" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__write_date +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__write_date +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__write_date +msgid "Last Updated on" +msgstr "最后更新日期" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_main_attachment_id +msgid "Main Attachment" +msgstr "主要附件" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_has_error +msgid "Message Delivery error" +msgstr "消息传递错误" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_ids +msgid "Messages" +msgstr "消息" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_account_budget_post__name +msgid "Name" +msgstr "名称" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_needaction_counter +msgid "Number of Actions" +msgstr "执行次数" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_has_error_counter +msgid "Number of errors" +msgstr "错误数" + +#. module: base_account_budget +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "需要处理的消息数量" + +#. module: base_account_budget +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "发送错误的消息数量" + +#. module: base_account_budget +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__message_unread_counter +msgid "Number of unread messages" +msgstr "未读消息数" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__paid_date +msgid "Paid Date" +msgstr "付款日期" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Period" +msgstr "期间" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__planned_amount +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Planned Amount" +msgstr "预算金额" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__practical_amount +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_account_analytic_account_form_inherit_budget +msgid "Practical Amount" +msgstr "实际金额" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "Reset to Draft" +msgstr "重置为草稿" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__creating_user_id +msgid "Responsible" +msgstr "负责人" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_has_sms_error +msgid "SMS Delivery error" +msgstr "短信发送错误" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__date_from +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__date_from +msgid "Start Date" +msgstr "开始日期" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__state +msgid "Status" +msgstr "状态" + +#. module: base_account_budget +#: code:addons/base_account_budget/models/account_budget.py:0 +#, python-format +msgid "The budget must have at least one account." +msgstr "此预算必须至少需要有一个账户" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_lines__theoretical_amount +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +#: model_terms:ir.ui.view,arch_db:base_account_budget.view_account_analytic_account_form_inherit_budget +msgid "Theoretical Amount" +msgstr "理论金额" + +#. module: base_account_budget +#: model_terms:ir.ui.view,arch_db:base_account_budget.crossovered_budget_view_form +msgid "To" +msgstr "按" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_unread +msgid "Unread Messages" +msgstr "未读邮件" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__message_unread_counter +msgid "Unread Messages Counter" +msgstr "未读邮件计数器" + +#. module: base_account_budget +#: model:ir.model.fields.selection,name:base_account_budget.selection__budget_budget__state__validate +msgid "Validated" +msgstr "已验证" + +#. module: base_account_budget +#: model:ir.model.fields,field_description:base_account_budget.field_budget_budget__website_message_ids +msgid "Website Messages" +msgstr "网站消息" + +#. module: base_account_budget +#: model:ir.model.fields,help:base_account_budget.field_budget_budget__website_message_ids +msgid "Website communication history" +msgstr "网站浏览历史" diff --git a/base_account_budget/models/__init__.py b/base_account_budget/models/__init__.py new file mode 100644 index 000000000..2aac76dc0 --- /dev/null +++ b/base_account_budget/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import account_budget +from . import account_analytic_account diff --git a/base_account_budget/models/account_analytic_account.py b/base_account_budget/models/account_analytic_account.py new file mode 100644 index 000000000..507059444 --- /dev/null +++ b/base_account_budget/models/account_analytic_account.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models + + +class AccountAnalyticAccount(models.Model): + """Inherits the AccountAnalytic model to add new budget line field that + connect with the budget line modules""" + _inherit = "account.analytic.account" + + budget_line = fields.One2many('budget.lines', + 'analytic_account_id', + 'Budget Lines') + + @api.model_create_multi + def create(self, vals_list): + res = super().create(vals_list) + return res diff --git a/base_account_budget/models/account_budget.py b/base_account_budget/models/account_budget.py new file mode 100644 index 000000000..68fb89382 --- /dev/null +++ b/base_account_budget/models/account_budget.py @@ -0,0 +1,212 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class AccountBudgetPost(models.Model): + """Model used to create the Budgetary Position for the account""" + _name = "account.budget.post" + _order = "name" + _description = "Budgetary Position" + + name = fields.Char('Name', required=True) + account_ids = fields.Many2many('account.account', 'account_budget_rel', + 'budget_id', 'account_id', 'Accounts', + domain=[('deprecated', '=', False)]) + budget_line = fields.One2many('budget.lines', 'general_budget_id', + 'Budget Lines') + company_id = fields.Many2one('res.company', 'Company', required=True, + default=lambda self: self.env[ + 'res.company']._company_default_get( + 'account.budget.post')) + + def _check_account_ids(self, vals): + if 'account_ids' in vals: + account_ids = vals['account_ids'] + else: + account_ids = self.account_ids + if not account_ids: + raise ValidationError( + _('The budget must have at least one account.')) + + @api.model + def create(self, vals): + self._check_account_ids(vals) + return super(AccountBudgetPost, self).create(vals) + + def write(self, vals): + self._check_account_ids(vals) + return super(AccountBudgetPost, self).write(vals) + + +class Budget(models.Model): + _name = "budget.budget" + _description = "Budget" + _inherit = ['mail.thread'] + + name = fields.Char('Budget Name', required=True) + creating_user_id = fields.Many2one('res.users', 'Responsible', + default=lambda self: self.env.user) + date_from = fields.Date('Start Date', required=True) + date_to = fields.Date('End Date', required=True) + state = fields.Selection([ + ('draft', 'Draft'), + ('cancel', 'Cancelled'), + ('confirm', 'Confirmed'), + ('validate', 'Validated'), + ('done', 'Done') + ], 'Status', default='draft', index=True, required=True, readonly=True, + copy=False, tracking=True) + budget_line = fields.One2many('budget.lines', 'budget_id', 'Budget Lines', + copy=True) + company_id = fields.Many2one('res.company', 'Company', required=True, + default=lambda self: self.env[ + 'res.company']._company_default_get( + 'account.budget.post')) + + def action_budget_confirm(self): + self.write({'state': 'confirm'}) + + def action_budget_draft(self): + self.write({'state': 'draft'}) + + def action_budget_validate(self): + self.write({'state': 'validate'}) + + def action_budget_cancel(self): + self.write({'state': 'cancel'}) + + def action_budget_done(self): + self.write({'state': 'done'}) + + +class BudgetLines(models.Model): + _name = "budget.lines" + _rec_name = "budget_id" + _description = "Budget Line" + + budget_id = fields.Many2one('budget.budget', 'Budget', ondelete='cascade', + index=True, required=True) + analytic_account_id = fields.Many2one('account.analytic.account', + 'Analytic Account') + general_budget_id = fields.Many2one('account.budget.post', + 'Budgetary Position', required=True) + date_from = fields.Date('Start Date', required=True) + date_to = fields.Date('End Date', required=True) + paid_date = fields.Date('Paid Date') + planned_amount = fields.Float('Planned Amount', required=True, digits=0) + practical_amount = fields.Float(compute='_compute_practical_amount', + string='Practical Amount', digits=0) + theoretical_amount = fields.Float(compute='_compute_theoretical_amount', + string='Theoretical Amount', digits=0) + percentage = fields.Float(compute='_compute_percentage', + string='Achievement') + company_id = fields.Many2one(related='budget_id.company_id', + comodel_name='res.company', + string='Company', store=True, readonly=True) + + def _compute_practical_amount(self): + for line in self: + result = 0.0 + acc_ids = line.general_budget_id.account_ids.ids # Get the account IDs + date_to = self.env.context.get('wizard_date_to') or line.date_to + date_from = self.env.context.get( + 'wizard_date_from') or line.date_from + if line.analytic_account_id.id: + query = """ + SELECT SUM(amount) + FROM account_analytic_line + WHERE account_id = %s + AND date BETWEEN %s AND %s + AND general_account_id = ANY(%s) + """ + params = (line.analytic_account_id.id, date_from, date_to, + '{' + ','.join(map(str, + acc_ids)) + '}') # Convert acc_ids to SQL array format + self.env.cr.execute(query, params) + result = self.env.cr.fetchone()[0] or 0.0 + line.practical_amount = result + + def _compute_theoretical_amount(self): + today = fields.Datetime.now() + for line in self: + if self.env.context.get( + 'wizard_date_from') and self.env.context.get( + 'wizard_date_to'): + date_from = fields.Datetime.from_string( + self.env.context.get('wizard_date_from')) + date_to = fields.Datetime.from_string( + self.env.context.get('wizard_date_to')) + if date_from < fields.Datetime.from_string(line.date_from): + date_from = fields.Datetime.from_string(line.date_from) + elif date_from > fields.Datetime.from_string(line.date_to): + date_from = False + + if date_to > fields.Datetime.from_string(line.date_to): + date_to = fields.Datetime.from_string(line.date_to) + elif date_to < fields.Datetime.from_string(line.date_from): + date_to = False + + theo_amt = 0.00 + if date_from and date_to: + line_timedelta = fields.Datetime.from_string( + line.date_to) - fields.Datetime.from_string( + line.date_from) + elapsed_timedelta = date_to - date_from + if elapsed_timedelta.days > 0: + theo_amt = ( + elapsed_timedelta.total_seconds() / line_timedelta.total_seconds()) * line.planned_amount + else: + if line.paid_date: + if fields.Datetime.from_string( + line.date_to) <= fields.Datetime.from_string( + line.paid_date): + theo_amt = 0.00 + else: + theo_amt = line.planned_amount + else: + line_timedelta = fields.Datetime.from_string( + line.date_to) - fields.Datetime.from_string( + line.date_from) + elapsed_timedelta = fields.Datetime.from_string(today) - ( + fields.Datetime.from_string(line.date_from)) + if elapsed_timedelta.days < 0: + # If the budget line has not started yet, theoretical amount should be zero + theo_amt = 0.00 + elif line_timedelta.days > 0 and fields.Datetime.from_string( + today) < fields.Datetime.from_string(line.date_to): + total_days = (line.date_to - line.date_from).days + 1 + days_over = ( + fields.Date.today() - line.date_from).days + 1 + # If today is between the budget line date_from and date_to + theo_amt = line.planned_amount / total_days * days_over + else: + theo_amt = line.planned_amount + line.theoretical_amount = theo_amt + + def _compute_percentage(self): + for line in self: + if line.theoretical_amount != 0.00: + line.percentage = float((line.practical_amount or 0.0) / line.theoretical_amount) * 100 + else: + line.percentage = 0.00 diff --git a/base_account_budget/security/account_budget_security.xml b/base_account_budget/security/account_budget_security.xml new file mode 100644 index 000000000..9677ea75e --- /dev/null +++ b/base_account_budget/security/account_budget_security.xml @@ -0,0 +1,31 @@ + + + + + + Budget post multi-company + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + + + Budget multi-company + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + + + Budget lines multi-company + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + + + + + + + diff --git a/base_account_budget/security/ir.model.access.csv b/base_account_budget/security/ir.model.access.csv new file mode 100644 index 000000000..fa665f35f --- /dev/null +++ b/base_account_budget/security/ir.model.access.csv @@ -0,0 +1,7 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_budget_budget,budget.budget,model_budget_budget,account.group_account_manager,1,1,1,1 +access_account_budget_post,account.budget.post,model_account_budget_post,account.group_account_manager,1,1,1,1 +access_account_budget_post_accountant,account.budget.post accountant,model_account_budget_post,account.group_account_user,1,1,1,1 +access_budget_budget_accountant,budget.budget accountant,model_budget_budget,account.group_account_user,1,1,1,1 +access_budget_lines_accountant,budget.lines accountant,model_budget_lines,account.group_account_user,1,1,1,1 +access_budget,budget.lines manager,model_budget_lines,base.group_user,1,1,1,0 diff --git a/base_account_budget/static/description/assets/icons/capture (1).png b/base_account_budget/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/base_account_budget/static/description/assets/icons/capture (1).png differ diff --git a/base_account_budget/static/description/assets/icons/check.png b/base_account_budget/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/base_account_budget/static/description/assets/icons/check.png differ diff --git a/base_account_budget/static/description/assets/icons/chevron.png b/base_account_budget/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/chevron.png differ diff --git a/base_account_budget/static/description/assets/icons/cogs.png b/base_account_budget/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/cogs.png differ diff --git a/base_account_budget/static/description/assets/icons/consultation.png b/base_account_budget/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/base_account_budget/static/description/assets/icons/consultation.png differ diff --git a/base_account_budget/static/description/assets/icons/ecom-black.png b/base_account_budget/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/ecom-black.png differ diff --git a/base_account_budget/static/description/assets/icons/education-black.png b/base_account_budget/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/base_account_budget/static/description/assets/icons/education-black.png differ diff --git a/base_account_budget/static/description/assets/icons/hotel-black.png b/base_account_budget/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/base_account_budget/static/description/assets/icons/hotel-black.png differ diff --git a/base_account_budget/static/description/assets/icons/img.png b/base_account_budget/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/img.png differ diff --git a/base_account_budget/static/description/assets/icons/license.png b/base_account_budget/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/base_account_budget/static/description/assets/icons/license.png differ diff --git a/base_account_budget/static/description/assets/icons/lifebuoy.png b/base_account_budget/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/base_account_budget/static/description/assets/icons/lifebuoy.png differ diff --git a/base_account_budget/static/description/assets/icons/manufacturing-black.png b/base_account_budget/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/base_account_budget/static/description/assets/icons/manufacturing-black.png differ diff --git a/base_account_budget/static/description/assets/icons/photo-capture.png b/base_account_budget/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/photo-capture.png differ diff --git a/base_account_budget/static/description/assets/icons/pos-black.png b/base_account_budget/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/pos-black.png differ diff --git a/base_account_budget/static/description/assets/icons/puzzle.png b/base_account_budget/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/puzzle.png differ diff --git a/base_account_budget/static/description/assets/icons/restaurant-black.png b/base_account_budget/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/restaurant-black.png differ diff --git a/base_account_budget/static/description/assets/icons/service-black.png b/base_account_budget/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/base_account_budget/static/description/assets/icons/service-black.png differ diff --git a/base_account_budget/static/description/assets/icons/trading-black.png b/base_account_budget/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/base_account_budget/static/description/assets/icons/trading-black.png differ diff --git a/base_account_budget/static/description/assets/icons/training.png b/base_account_budget/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/base_account_budget/static/description/assets/icons/training.png differ diff --git a/base_account_budget/static/description/assets/icons/update.png b/base_account_budget/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/base_account_budget/static/description/assets/icons/update.png differ diff --git a/base_account_budget/static/description/assets/icons/user.png b/base_account_budget/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/base_account_budget/static/description/assets/icons/user.png differ diff --git a/base_account_budget/static/description/assets/icons/wrench.png b/base_account_budget/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/base_account_budget/static/description/assets/icons/wrench.png differ diff --git a/base_account_budget/static/description/assets/misc/Cybrosys R.png b/base_account_budget/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/base_account_budget/static/description/assets/misc/Cybrosys R.png differ diff --git a/base_account_budget/static/description/assets/misc/email.svg b/base_account_budget/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/base_account_budget/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/base_account_budget/static/description/assets/misc/phone.svg b/base_account_budget/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/base_account_budget/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/base_account_budget/static/description/assets/misc/star (1) 2.svg b/base_account_budget/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/base_account_budget/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/base_account_budget/static/description/assets/misc/support (1) 1.svg b/base_account_budget/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/base_account_budget/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/base_account_budget/static/description/assets/misc/support-email.svg b/base_account_budget/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/base_account_budget/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/base_account_budget/static/description/assets/misc/tick-mark.svg b/base_account_budget/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/base_account_budget/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/base_account_budget/static/description/assets/misc/whatsapp 1.svg b/base_account_budget/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/base_account_budget/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/base_account_budget/static/description/assets/misc/whatsapp.svg b/base_account_budget/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/base_account_budget/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/base_account_budget/static/description/assets/modules/1.png b/base_account_budget/static/description/assets/modules/1.png new file mode 100644 index 000000000..ba1058c42 Binary files /dev/null and b/base_account_budget/static/description/assets/modules/1.png differ diff --git a/base_account_budget/static/description/assets/modules/2.png b/base_account_budget/static/description/assets/modules/2.png new file mode 100644 index 000000000..6949185dd Binary files /dev/null and b/base_account_budget/static/description/assets/modules/2.png differ diff --git a/base_account_budget/static/description/assets/modules/3.png b/base_account_budget/static/description/assets/modules/3.png new file mode 100644 index 000000000..4e506f79b Binary files /dev/null and b/base_account_budget/static/description/assets/modules/3.png differ diff --git a/base_account_budget/static/description/assets/modules/4.png b/base_account_budget/static/description/assets/modules/4.png new file mode 100644 index 000000000..e78427938 Binary files /dev/null and b/base_account_budget/static/description/assets/modules/4.png differ diff --git a/base_account_budget/static/description/assets/modules/5.png b/base_account_budget/static/description/assets/modules/5.png new file mode 100755 index 000000000..272ec20f9 Binary files /dev/null and b/base_account_budget/static/description/assets/modules/5.png differ diff --git a/base_account_budget/static/description/assets/modules/6.png b/base_account_budget/static/description/assets/modules/6.png new file mode 100644 index 000000000..7d5c3154f Binary files /dev/null and b/base_account_budget/static/description/assets/modules/6.png differ diff --git a/base_account_budget/static/description/assets/screenshots/budget_1.png b/base_account_budget/static/description/assets/screenshots/budget_1.png new file mode 100644 index 000000000..1d89eed78 Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/budget_1.png differ diff --git a/base_account_budget/static/description/assets/screenshots/budget_2.png b/base_account_budget/static/description/assets/screenshots/budget_2.png new file mode 100644 index 000000000..c11207038 Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/budget_2.png differ diff --git a/base_account_budget/static/description/assets/screenshots/budget_3.png b/base_account_budget/static/description/assets/screenshots/budget_3.png new file mode 100644 index 000000000..0884dfbc8 Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/budget_3.png differ diff --git a/base_account_budget/static/description/assets/screenshots/budget_4.png b/base_account_budget/static/description/assets/screenshots/budget_4.png new file mode 100644 index 000000000..3985ba118 Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/budget_4.png differ diff --git a/base_account_budget/static/description/assets/screenshots/budget_5.png b/base_account_budget/static/description/assets/screenshots/budget_5.png new file mode 100644 index 000000000..d7eb22300 Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/budget_5.png differ diff --git a/base_account_budget/static/description/assets/screenshots/budget_6.png b/base_account_budget/static/description/assets/screenshots/budget_6.png new file mode 100644 index 000000000..b4dee5cd7 Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/budget_6.png differ diff --git a/base_account_budget/static/description/assets/screenshots/hero.gif b/base_account_budget/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..144933ceb Binary files /dev/null and b/base_account_budget/static/description/assets/screenshots/hero.gif differ diff --git a/base_account_budget/static/description/banner.jpg b/base_account_budget/static/description/banner.jpg new file mode 100644 index 000000000..5141a7802 Binary files /dev/null and b/base_account_budget/static/description/banner.jpg differ diff --git a/base_account_budget/static/description/icon.png b/base_account_budget/static/description/icon.png new file mode 100644 index 000000000..9347b8198 Binary files /dev/null and b/base_account_budget/static/description/icon.png differ diff --git a/base_account_budget/static/description/index.html b/base_account_budget/static/description/index.html new file mode 100644 index 000000000..d9942a490 --- /dev/null +++ b/base_account_budget/static/description/index.html @@ -0,0 +1,670 @@ + + + + + + + Odoo 18 Budget Management + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+
+
+
+
+

+ Odoo 18 Budget Management

+

+ Budget Management for Odoo 18 Community Edition. +

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

Odoo 18 Community Edition Support.

+

Budget management system in Odoo 18 Community Edition. +

+
+
+
+
+
+
+ +
+
+

Budgetary Positions.

+

Create and manage Budgetary Positions. +

+
+
+
+
+
+
+ +
+
+

Manage with Analytic Accounts.

+

Manage budgets with analytic accounts. +

+
+
+
+
+
+
+ +
+
+

Budgetary Planning with Planned Amount.

+

Budgetary planning with planned amount on each Analytic Account. +

+
+
+
+
+
+
+ +
+
+

Budgetary Reports.

+

Budgetary reports are also available. +

+
+
+
+
+
+
+ +
+
+

Graphical View.

+

Each list of record can also be switched to a graphical view of it. . +

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+

+ Creating Budget.

+
+ Create Budget from Accounting > Accounting > Budgets > New.
+
+
+
+
+
+
+ +
+
+

+ Budget Records.

+
+ Can see the list view of the Budget records.
+
+
+
+
+
+
+ +
+
+

+ Create Budgetary Positions.

+
+ Create Budgetary Positions from Accounting -> Configuration -> Budgetary Positions.
+
+
+
+
+
+
+ +
+
+

+ List View of the Budgetary Positions.

+
+ We can set-up the records and that will be shown in the list view.
+
+
+
+ +
+
+
+ +
+
+

+ Budget Form view.

+
+ The Budget records and the Budgetary Positions can be added in the forms.
+
+
+
+
+
+
+ +
+
+

+ Budget Report.

+
+ For Budget report, go to Accounting > Reporting > Management > Budgets.
+
+
+
+
+
+
+
    +
  • + Create and manage Budgetary Positions. +
  • +
  • + Manage budgets with analytic accounts. +
  • +
  • + Budgetary planning with planned amount on each Analytic Account.. +
  • + +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:07th Nov 2023 +
+

+ + Odoo 17 Budgets Management.

+
+
+
+
+
+
+
+

Related Products

+
+
+ +
+
+

Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Licensing Consultancy

+
+
+
+
+
+
+

Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

Education

+

A platform for educational management

+
+
+
+
+ +

Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service Management

+

Keep track of services and invoice

+
+
+
+
+ +

Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to us on WhatsApp!

+
+91 + 99456767686
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/base_account_budget/views/account_analytic_account_views.xml b/base_account_budget/views/account_analytic_account_views.xml new file mode 100644 index 000000000..6e5808965 --- /dev/null +++ b/base_account_budget/views/account_analytic_account_views.xml @@ -0,0 +1,47 @@ + + + + + account.analytic.account.form.inherit.budget + account.analytic.account + + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+
+
+
+
+
diff --git a/base_account_budget/views/account_budget_views.xml b/base_account_budget/views/account_budget_views.xml new file mode 100644 index 000000000..b82a9f3e6 --- /dev/null +++ b/base_account_budget/views/account_budget_views.xml @@ -0,0 +1,344 @@ + + + + + account.budget.post.search + account.budget.post + + + + + + + + + + account.budget.post.tree + account.budget.post + + + + + + + + + + Budgetary Positions + account.budget.post + list,kanban,form + + + + + + + + account.budget.post.form + account.budget.post + +
+ + + + + + + + + + + + + + + + +
+
+
+ + + budget.view.form + budget.budget + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + budget.view.tree + budget.budget + + + + + + + + + + + + + + budget.kanban + budget.budget + + + + + + + + + +
+
+
+ + + +
+
+ + + +
+
+
+
+ + - + +
+
+ + + +
+
+
+
+
+
+
+
+ + + Budgets + budget.budget + list,kanban,form + + +

+ Click to create a new budget. +

+

+ A budget is a forecast of your company's income and/or expenses + expected for a period in the future. A budget is defined on + some + financial accounts and/or analytic accounts (that may represent + projects, departments, categories of products, etc.) +

+

+ By keeping track of where your money goes, you may be less + likely to overspend, and more likely to meet your financial + goals. Forecast a budget by detailing the expected revenue per + analytic account and monitor its evolution based on the actual + realised during that period. +

+
+
+ + + account.budget.line.search + budget.lines + + + + + + + + + budget.line.tree + budget.lines + + + + + + + + + + + + + + + + + budget.line.form + budget.lines + +
+ + + + + + + + + + + + + + + +
+
+
+ + + Budgets + budget.lines + list,form + + + + + +