Good bank account process
Report on tasks: type HR_timesheet invoices: shortcut to list of interresting analytic account bzr revid: fp@tinyerp.com-e08ee363d46a93f26ee194feab844e4fcccbf530
This commit is contained in:
parent
370b5b0c17
commit
c482448eca
|
@ -98,6 +98,55 @@
|
|||
action="action_hr_analytic_timesheet_tree_invoiced"/>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_open_analytic_accounts">
|
||||
<field name="name">Open analytic accounts</field>
|
||||
<field name="res_model">account.analytic.account</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('state','<>','close'),('type','<>','view')]</field>
|
||||
</record>
|
||||
<menuitem name="Financial Management/Charts/Analytic Accounts Charts/Unclosed accounts"
|
||||
id="menu_action_open_analytic_accounts"
|
||||
action="action_open_analytic_accounts"/>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_open_invoice_analytic_accounts">
|
||||
<field name="name">Unclosed invoiced accounts</field>
|
||||
<field name="res_model">account.analytic.account</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('state','<>','close'),('type','<>','view'),('pricelist_id','<>',False)]</field>
|
||||
</record>
|
||||
<menuitem name="Financial Management/Charts/Analytic Accounts Charts/Unclosed accounts/Unclosed invoiced accounts"
|
||||
id="menu_action_open_invoice_analytic_accounts"
|
||||
action="action_open_invoice_analytic_accounts"/>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_draft_analytic_accounts">
|
||||
<field name="name">Draft analytic accounts</field>
|
||||
<field name="res_model">account.analytic.account</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('state','=','draft'),('type','<>','view')]</field>
|
||||
</record>
|
||||
<menuitem name="Financial Management/Charts/Analytic Accounts Charts/Draft accounts"
|
||||
id="menu_action_draft_analytic_accounts"
|
||||
action="action_draft_analytic_accounts"/>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_pending_analytic_accounts">
|
||||
<field name="name">Pending analytic accounts</field>
|
||||
<field name="res_model">account.analytic.account</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('state','=','pending'),('type','<>','view')]</field>
|
||||
</record>
|
||||
<menuitem name="Financial Management/Charts/Analytic Accounts Charts/Pending accounts"
|
||||
id="menu_action_pending_analytic_accounts"
|
||||
action="action_pending_analytic_accounts"/>
|
||||
|
||||
|
||||
|
||||
|
||||
<record model="ir.ui.view" id="view_hr_timesheet_invoice_factor_form">
|
||||
<field name="name">hr_timesheet_invoice.factor.form</field>
|
||||
<field name="model">hr_timesheet_invoice.factor</field>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version" : "1.0",
|
||||
"author" : "Tiny",
|
||||
"category" : "Localisation/Account charts",
|
||||
"depends" : ["base", "account", "account_report"],
|
||||
"depends" : ["base", "account", "account_report", "l10n_euro"],
|
||||
"init_xml" : [],
|
||||
"demo_xml" : ["account_demo.xml","account.report.report.csv"],
|
||||
"update_xml" : ["account_pcmn_belgium.xml"],
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
##############################################################################
|
||||
#
|
||||
# Copyright (c) 2004 TINY SPRL. (http://tiny.be) All Rights Reserved.
|
||||
# Fabien Pinckaers <fp@tiny.Be>
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import base_bank
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name" : "EURO - Localisation",
|
||||
"version" : "1.0",
|
||||
"author" : "Tiny",
|
||||
"category" : "Localisation/Account charts",
|
||||
"depends" : ["base"],
|
||||
"init_xml" : ["base_data.xml"],
|
||||
"active": False,
|
||||
"installable": True
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (c) 2004-2006 TINY SPRL. (http://tiny.be) All Rights Reserved.
|
||||
#
|
||||
# $Id: account.py 1005 2005-07-25 08:41:42Z nicoe $
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import netsvc
|
||||
from osv import fields, osv
|
||||
|
||||
class res_partner_bank(osv.osv):
|
||||
_inherit = "res.partner.bank"
|
||||
_columns = {
|
||||
'iban': fields.char('IBAN Nbr', size=32, readonly=True),
|
||||
'swift': fields.char('BIC/Swift', size=12, readonly=True),
|
||||
}
|
||||
res_partner_bank()
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0"?>
|
||||
<terp>
|
||||
<data>
|
||||
|
||||
<record model="ir.ui.view" id="view_partner_bank_iban_form">
|
||||
<field name="name">res.partner.bank.form.iban.inherit</field>
|
||||
<field name="model">res.partner.bank</field>
|
||||
<field name="inherit_id" ref="base.view_partner_bank_form"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="acc_number" position="after">
|
||||
<newline/>
|
||||
<field name="swift"/>
|
||||
<field name="iban"/>
|
||||
<newline/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# Default bank account description
|
||||
# --------------------------------------------------------------
|
||||
<record model="res.partner.bank.type" id="bank_iban">
|
||||
<field name="name">IBAN Account</field>
|
||||
<field name="code">iban</field>
|
||||
</record>
|
||||
<record model="res.partner.bank.type.field" id="bank_iban_field">
|
||||
<field name="name">iban</field>
|
||||
<field name="bank_type_id" ref="bank_iban"/>
|
||||
<field name="required" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
</record>
|
||||
<record model="res.partner.bank.type.field" id="bank_swift_field">
|
||||
<field name="name">swift</field>
|
||||
<field name="bank_type_id" ref="bank_iban"/>
|
||||
<field name="required" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
</record>
|
||||
<record model="res.partner.bank.type.field" id="bank_country_field">
|
||||
<field name="name">country_id</field>
|
||||
<field name="bank_type_id" ref="bank_iban"/>
|
||||
<field name="required" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
</record>
|
||||
<record model="res.partner.bank.type.field" id="bank_zip_field">
|
||||
<field name="name">zip</field>
|
||||
<field name="bank_type_id" ref="bank_iban"/>
|
||||
<field name="required" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
</record>
|
||||
</data>
|
||||
</terp>
|
|
@ -11,7 +11,7 @@
|
|||
<field name="model">report.task.user.pipeline.open</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Tasks by projects">
|
||||
<form string="Tasks by user">
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="company_id" select="1"/>
|
||||
<field name="task_nbr" select="2"/>
|
||||
|
@ -27,9 +27,9 @@
|
|||
<field name="model">report.task.user.pipeline.open</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Tasks by projects" type="bar">
|
||||
<graph string="Tasks by user" type="bar">
|
||||
<field name="user_id" groups="task_state"/>
|
||||
<field name="task_progress"/>
|
||||
<field name="task_progress" colour="task_state"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<field name="model">report.task.user.pipeline.open</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Tasks by projects">
|
||||
<tree string="Tasks by user">
|
||||
<field name="user_id"/>
|
||||
<field name="company_id"/>
|
||||
<field name="task_nbr"/>
|
||||
|
@ -56,29 +56,29 @@
|
|||
<field name="view_mode">tree,graph</field>
|
||||
<field name="domain">[]</field>
|
||||
</record>
|
||||
<menuitem name="Project/Reporting/All Months/Tasks by projects" action="action_project_task" id="menu_project_task_user_tree"/>
|
||||
<menuitem name="Project/Reporting/All Months/Tasks by user" action="action_project_task" id="menu_project_task_user_tree"/>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_project_task_done">
|
||||
<field name="name">Closed task by company</field>
|
||||
<field name="name">Closed task by user</field>
|
||||
<field name="res_model">report.task.user.pipeline.open</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="domain">[('task_state','=','done')]</field>
|
||||
</record>
|
||||
<menuitem
|
||||
name="Project/Reporting/All Months/Closed task by company"
|
||||
name="Project/Reporting/All Months/Closed task by user"
|
||||
action="action_project_task_done"
|
||||
id="menu_project_task_user_tree2"/>
|
||||
|
||||
<record model="ir.actions.act_window" id="action_project_task_open">
|
||||
<field name="name">Opened task by projects</field>
|
||||
<field name="name">Opened task by user</field>
|
||||
<field name="res_model">report.task.user.pipeline.open</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="domain">[('task_state','=','open')]</field>
|
||||
</record>
|
||||
<menuitem
|
||||
name="Project/Reporting/All Months/Opened task by company"
|
||||
name="Project/Reporting/All Months/Opened task by user"
|
||||
action="action_project_task_open"
|
||||
id="menu_project_task_user_tree3"/>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue