Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9f88c08
[ADD] new module project_budget (#18)
oihane Apr 19, 2018
3e21eed
[IMP] project_budget: some modification and code cleaning (#24)
alfredoavanzosc May 16, 2018
49b6074
[IMP] project_budget: add new pivot view for budget lines (#38)
oihane Oct 1, 2018
61fafb9
[IMP] project_budget: inactivate a copied budget, translations... (#47)
oihane Oct 8, 2018
3be0cd5
[IMP] project_budget: added more usability (#49)
oihane Oct 17, 2018
9821cfb
[IMP] project_budget: add new fields in views (#67)
oihane Oct 30, 2018
c41c64f
[IMP] project_budget: translations (#79)
oihane Nov 7, 2018
3e2a054
[IMP] project_budget: add budget date to tree view (#80)
oihane Nov 9, 2018
117de41
[IMP] project_budget: dependency with account_budget_template
oihane Nov 16, 2018
c9a2487
[IMP] project_budget: usability improved (#90)
oihane Nov 23, 2018
d332392
[FIX] project_budget: multiple budgets for a many2one (#95)
oihane Dec 4, 2018
433a34e
[IMP] project_budget: line on december 30th configurable (#134)
oihane Jan 2, 2019
b3fb3f2
[IMP] project_budget: add recompute button (#143)
oihane Jan 29, 2019
66f9c50
[FIX] project_budget: give permission to create budget in order to fi…
oihane Feb 1, 2019
e2393cb
[IMP] project_budget: delete crossovered budget when project is delet…
oihane Feb 6, 2019
99a100a
[IMP] project_budget: add action to refresh data (#155)
oihane Feb 7, 2019
b541d28
[IMP] project_budget: show only if it has permission (#158)
oihane Feb 13, 2019
2bff0e6
[IMP] project_budget: fix test for databases with data (#169)
oihane Feb 26, 2019
547aadc
[IMP] project_budget: wizard to select budget date (#172)
oihane Mar 4, 2019
03acdf7
[IMP] add new translation (#186)
oihane May 6, 2019
ac8bc97
[IMP] project_budget: add new search wizard (#189)
oihane May 15, 2019
56afa02
[IMP] project_budget: create function for button, context instead of …
oihane May 24, 2019
0cd6fec
[IMP] project_budget: add project manager to allow filtering and grou…
oihane Aug 12, 2019
e33354c
[MIG] project_budget: Migration to 12.0
oihane Dec 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# list the OCA project dependencies, one per line
account-budgeting

# add a github url if you need a forked version
odoo-addons https://github.com/avanzosc/odoo-addons.git

50 changes: 50 additions & 0 deletions project_budget/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

==============
Project Budget
==============

This module extends the functionality of budgets for projects. When a
project is created it will create a budget for current year with:

* 12 lines of outgoings (one per month)
* 12 lines of incomings (one per month)
* And after checking it on project settings:

* 1 line on december 30th for outgoings
* 1 line on december 30th for incomings

It also allows creating those 26 budgetary lines for a budget with project
using a button.

When installing the module it creates two budgetary positions that must be
configured.

Configuration
=============

To configure this module, you need to:

#. Go to *Invoicing* > *Configuration* > *Management* > *Budgetary Positions*.
#. Configure **Income** and **Outcome** accounts.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/project-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

Credits
=======

Contributors
------------

* Oihane Crucelaegui <[email protected]>
* Ana Juaristi <[email protected]>

Do not contact contributors directly about support or help with technical issues.
2 changes: 2 additions & 0 deletions project_budget/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
29 changes: 29 additions & 0 deletions project_budget/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2018 Oihane Crucelaegui - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Project Bugdet",
"version": "12.0.1.0.0",
"category": "Project",
"license": "AGPL-3",
"author": "AvanzOSC",
"website": "http://www.avanzosc.es",
"depends": [
"account_budget_oca",
"account_budget_template",
"project",
],
"data": [
"security/ir.model.access.csv",
"security/project_budget_groups.xml",
"data/project_budget_data.xml",
"views/crossovered_budget_view.xml",
"views/crossovered_budget_line_view.xml",
"views/project_project_view.xml",
"views/account_analytic_account_view.xml",
"views/res_config_settings_view.xml",
"wizards/project_budget_search_view.xml",
"wizards/project_initial_budget_view.xml",
],
"installable": True,
}
35 changes: 35 additions & 0 deletions project_budget/data/project_budget_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="1">
<record id="account_account_income" model="account.account">
<field name="code">000</field>
<field name="name">Income</field>
<field name="user_type_id" ref="account.data_account_type_revenue" />
<field name="deprecated">True</field>
</record>

<record id="account_account_expenses" model="account.account">
<field name="code">001</field>
<field name="name">Expenses</field>
<field name="user_type_id" ref="account.data_account_type_expenses" />
<field name="deprecated">True</field>
</record>

<record id="budget_post_income" model="account.budget.post">
<field name="name">Income</field>
<field name="account_ids"
eval="[(4, ref('account_account_income'))]" />
</record>

<record id="budget_post_postcome" model="account.budget.post">
<field name="name">Outcome</field>
<field name="account_ids"
eval="[(4, ref('account_account_expenses'))]" />
</record>

<record id="project_budget_template" model="crossovered.budget.template">
<field name="name">Income / Outcome monthly</field>
<field name="budget_post_ids"
eval="[(4, ref('budget_post_income')),(4, ref('budget_post_postcome'))]" />
<field name="periodicity">monthly</field>
</record>
</odoo>
Loading