From 775aff9b46084ed8db4acb8316f7b7f152977d72 Mon Sep 17 00:00:00 2001 From: pinky <> Date: Mon, 18 Dec 2006 06:33:52 +0000 Subject: [PATCH] Report_ANALYTIC: new reports Purchase Journal: Link in pickings Better views and objects BOARD_Account: New dashboard for accountants Purchases: link in the picking to the purchase allow multiple pickings for the same purchase order STOCK: When refunding picking -> confirm & Assign the newly generated picking bzr revid: pinky-180950b35ab721f7b133e048bfe1f2bc02742a99 --- addons/board_account/__init__.py | 28 ++++ addons/board_account/__terp__.py | 11 ++ addons/board_account/board_account_view.xml | 127 ++++++++++++++++++ addons/board_project/__terp__.py | 2 +- .../wizard/delivery_invoice_onshipping.py | 3 +- addons/purchase/__init__.py | 2 +- addons/purchase/__terp__.py | 10 +- addons/purchase/purchase.py | 10 +- addons/purchase/purchase_view.xml | 2 +- addons/purchase/stock.py | 44 ++++++ addons/purchase/stock_view.xml | 17 +++ .../purchase_journal_inherit.py | 15 +++ .../purchase_journal_view.xml | 12 ++ addons/report_analytic/__init__.py | 30 +++++ addons/report_analytic/__terp__.py | 14 ++ addons/report_analytic/report_analytic.py | 67 +++++++++ .../report_analytic/report_analytic_view.xml | 67 +++++++++ .../report_analytic_line.py | 2 - addons/sale/sale.py | 2 - addons/sale_journal/sale_journal_inherit.py | 6 +- addons/sale_journal/sale_journal_view.xml | 2 + addons/stock/stock.py | 3 +- addons/stock/wizard/wizard_return.py | 10 +- 23 files changed, 468 insertions(+), 18 deletions(-) create mode 100644 addons/board_account/__init__.py create mode 100644 addons/board_account/__terp__.py create mode 100644 addons/board_account/board_account_view.xml create mode 100644 addons/purchase/stock.py create mode 100644 addons/purchase/stock_view.xml create mode 100644 addons/report_analytic/__init__.py create mode 100644 addons/report_analytic/__terp__.py create mode 100644 addons/report_analytic/report_analytic.py create mode 100644 addons/report_analytic/report_analytic_view.xml diff --git a/addons/board_account/__init__.py b/addons/board_account/__init__.py new file mode 100644 index 00000000000..60d9e61f8bf --- /dev/null +++ b/addons/board_account/__init__.py @@ -0,0 +1,28 @@ +############################################################################## +# +# Copyright (c) 2006 TINY SPRL. (http://tiny.be) All Rights Reserved. +# Fabien Pinckaers +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + diff --git a/addons/board_account/__terp__.py b/addons/board_account/__terp__.py new file mode 100644 index 00000000000..8a475cf9905 --- /dev/null +++ b/addons/board_account/__terp__.py @@ -0,0 +1,11 @@ +{ + "name":"Board for accountant", + "version":"1.0", + "author":"Tiny", + "category":"Board", + "depends":["account","hr_timesheet_invoice","board"], + "demo_xml":[], + "update_xml":["board_account_view.xml"], + "active":False, + "installable":True, +} diff --git a/addons/board_account/board_account_view.xml b/addons/board_account/board_account_view.xml new file mode 100644 index 00000000000..598da523bc0 --- /dev/null +++ b/addons/board_account/board_account_view.xml @@ -0,0 +1,127 @@ + + + + + + Accountants + + + + project.task.tree + project.task + tree + + + + + + + + + + + + + + My open tasks + project.task + form + tree,graph + [('user_id','=',uid),('state','=','open')] + + + + My task's deadlines + project.task + form + tree,graph + [('user_id','=',uid),('state','=','open'),('date_deadline','<>',False)] + + + + + Public notes + board.note + form + tree + [('type','=','Project')] + + + + board.project.form + board.board + form + +
+ + + + + + + + + + + + + + + +