openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #00389
[Merge] lp:~openerp-community/openobject-addons/pniederlag into lp:openobject-addons
jugglefish has proposed merging lp:~openerp-community/openobject-addons/pniederlag into lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #806832 in OpenERP Addons: "sale_layout: name of product is reset in sale.order.line"
https://bugs.launchpad.net/openobject-addons/+bug/806832
For more details, see:
https://code.launchpad.net/~openerp-community/openobject-addons/pniederlag/+merge/67170
--
The attached diff has been truncated due to its size.
https://code.launchpad.net/~openerp-community/openobject-addons/pniederlag/+merge/67170
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/pniederlag.
=== added file '__init__.py'
--- __init__.py 1970-01-01 00:00:00 +0000
+++ __init__.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,1 @@
+import account_product_fiscal_classification
\ No newline at end of file
=== added file '__terp__.py'
--- __terp__.py 1970-01-01 00:00:00 +0000
+++ __terp__.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,33 @@
+# -*- encoding: utf-8 -*-
+#########################################################################
+# #
+# Copyright (C) 2010 Raphaël Valyi #
+# #
+#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 3 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, see <http://www.gnu.org/licenses/>. #
+#########################################################################
+
+{
+ "name" : "Account Product Fiscal Classification",
+ "version" : "0.1",
+ "author" : "Akretion.com",
+ "description": """Account Product Fiscal Classification
+ """,
+ 'website': 'http://www.akretion.com',
+ 'depends': ["account", "product"],
+ 'init_xml': [],
+ 'update_xml': ['product_view.xml'],
+ 'demo_xml': [],
+ 'installable': True,
+ 'active': False,
+}
=== added directory 'account_analytic_package'
=== added file 'account_analytic_package/__terp__.py.OTHER'
--- account_analytic_package/__terp__.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_analytic_package/__terp__.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,43 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Account Analytic Package - To configure Analytic Account for product packages",
+ "description": """The Module allows to configure analytic account for product packages.
+ Views for total and monthly product packages weight, Amount analysis.""",
+ "version" : "1.0",
+ "author" : "Tiny",
+ "category" : "Generic Modules/Accounting",
+ "module": "",
+ "website": "http://www.openerp.com",
+ "depends" : ["account","product","crm"],
+ "init_xml" : [],
+ "update_xml" : [
+ "security/ir.model.access.csv",
+ "account_analytic_package_view.xml"
+ ],
+ "demo_xml" : [],
+ "active": False,
+ "installable": True,
+
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_analytic_package/account_analytic_package.py.OTHER'
--- account_analytic_package/account_analytic_package.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_analytic_package/account_analytic_package.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,161 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import operator
+from osv import osv, fields
+
+
+class account_analytic_account(osv.osv):
+ _inherit = "account.analytic.account"
+ _columns = {
+ 'package_ok': fields.boolean('Used in Package'),
+ }
+account_analytic_account()
+
+
+class product_product(osv.osv):
+ _inherit = "product.product"
+ _columns = {
+ 'package_weight': fields.float('Package Weight', digits=(16,2)),
+ }
+ _defaults = {
+ 'package_weight': lambda *args: 0.0
+ }
+product_product()
+
+class crm_case_section(osv.osv):
+ _inherit = "crm.case.section"
+ _columns = {
+ 'package_product_id': fields.many2one('product.product', 'Package Product'),
+ 'analytic_account_id': fields.many2one('account.analytic.account', 'Main Analytic Account'),
+ 'analytic_journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal'),
+ }
+crm_case_section()
+
+class crm_case(osv.osv):
+ _inherit = "crm.case"
+ def case_open(self, cr, uid, ids, *args):
+ res = super(crm_case, self).case_open(cr, uid, ids, *args)
+ for case in self.browse(cr,uid, ids):
+ section = case.section_id
+ if section.package_product_id and section.analytic_account_id and section.analytic_journal_id:
+ partner = self.pool.get('res.users').browse(cr, uid, uid).address_id.partner_id.id
+ aids = self.pool.get('account.analytic.account').search(cr, uid, [('partner_id','=',partner),('state','in',('open','draft','pending')),('parent_id','child_of',[section.analytic_account_id.id])])
+ if not aids:
+ raise osv.except_osv('You can not open this case !', 'No valid analytic account defined for your user.\nPlease contact the administrator.')
+ self.pool.get('account.analytic.line').create(cr, uid, {
+ 'name': case.name,
+ 'amount': 0.0,
+ 'unit_amount': 1,
+ 'product_uom_id': section.package_product_id.uom_id.id,
+ 'product_id': section.package_product_id.id,
+ 'account_id': aids[0],
+ 'general_account_id': section.package_product_id.property_account_income.id or section.package_product_id.categ_id.property_account_income_categ.id,
+ 'journal_id': section.analytic_journal_id.id,
+ 'user_id': uid,
+ 'ref': 'CASE'+str(case.id)
+ })
+ return res
+crm_case()
+
+
+class account_analytic_line_package(osv.osv):
+ _name = "account.analytic.line.package"
+ _auto = False
+ _order = 'date desc'
+ def init(self, cr):
+ cr.execute("""
+ CREATE OR REPLACE VIEW account_analytic_line_package AS (
+ select
+ l.id,
+ l.name,
+ l.date,
+ a.partner_id,
+ a.id as account_id,
+ l.product_id,
+ p.package_weight as unit_weight,
+ p.package_weight*l.unit_amount as total_weight,
+ l.unit_amount
+ from
+ account_analytic_line l
+ left join
+ account_analytic_account a on (l.account_id=a.id)
+ left join
+ product_product p on (p.id=l.product_id)
+ where
+ l.product_id is not null and
+ p.package_weight<>0 and
+ a.package_ok
+ )
+ """)
+ _columns = {
+ 'name': fields.char('Name', size=128, readonly=True, select=1),
+ 'date': fields.date('Date', readonly=True, select=1),
+ 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
+ 'account_id': fields.many2one('account.analytic.account', 'Account', readonly=True),
+ 'product_id': fields.many2one('product.product', 'Product', select=2, readonly=True),
+ 'unit_amount': fields.float('Quantity', readonly=True),
+ 'unit_weight': fields.float('Unit Weight', readonly=True),
+ 'total_weight': fields.float('Total Weight', readonly=True),
+ }
+account_analytic_line_package()
+
+class account_analytic_line_package_month(osv.osv):
+ _name = "account.analytic.line.package.month"
+ _auto = False
+ def init(self, cr):
+ cr.execute("""
+ CREATE OR REPLACE VIEW account_analytic_line_package_month AS (
+ select
+ min(l.id) as id,
+ to_char(l.date, 'YYYY-MM-01') as name,
+ a.partner_id,
+ l.product_id,
+ sum(p.package_weight*l.unit_amount) as total_weight,
+ sum(case when p.package_weight>0 then p.package_weight*l.unit_amount else 0 end) as total_activity,
+ sum(case when p.package_weight<0 then -p.package_weight*l.unit_amount else 0 end) as total_service
+ from
+ account_analytic_line l
+ left join
+ account_analytic_account a on (l.account_id=a.id)
+ left join
+ product_product p on (p.id=l.product_id)
+ where
+ l.product_id is not null and
+ p.package_weight<>0 and
+ a.package_ok
+ group by
+ l.product_id,
+ a.partner_id,
+ to_char(l.date, 'YYYY-MM-01')
+ )
+ """)
+ _columns ={
+ 'name': fields.date('Date', readonly=True, select=1),
+ 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
+ 'product_id': fields.many2one('product.product', 'Product', select=2, readonly=True),
+ 'total_weight': fields.float('Total Weight', readonly=True),
+ 'total_activity': fields.float('Total Activity', readonly=True),
+ 'total_service': fields.float('Total Service', readonly=True),
+ }
+account_analytic_line_package_month()
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added directory 'account_analytic_progress'
=== added file 'account_analytic_progress/__terp__.py.OTHER'
--- account_analytic_progress/__terp__.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_analytic_progress/__terp__.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,43 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Account Analytic Progress - Define Progress bar for analytic accounts",
+ "description": """Progress bar for analytic accounts.
+This is the module used for displaying the shared funded
+development projects on the Tiny ERP website.""",
+ "version" : "1.0",
+ "author" : "tiny",
+ "category" : "Generic Modules/Accounting",
+ "module": "",
+ "website": "http://www.openerp.com",
+ "depends" : ["account_analytic_analysis"],
+ "init_xml" : [],
+ "update_xml" : [
+ "account_analytic_progress_view.xml"
+ ],
+ "demo_xml" : [],
+ "active": False,
+ "installable": True,
+
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added directory 'account_anglo_saxon'
=== renamed directory 'account_anglo_saxon' => 'account_anglo_saxon.moved'
=== added file 'account_anglo_saxon/__init__.py'
--- account_anglo_saxon/__init__.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/__init__.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,26 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+import product
+import stock
+import purchase
+import invoice
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
=== added file 'account_anglo_saxon/__terp__.py'
--- account_anglo_saxon/__terp__.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/__terp__.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,44 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+
+{
+ "name" : "Stock Accounting for Anglo Saxon countries",
+ "version" : "1.2",
+ "author" : "Tiny, Veritos",
+ "website" : "http://tinyerp.com - http://veritos.nl",
+ "description" : """This module will support the Anglo-Saxons accounting methodology by
+ changing the accounting logic with stock transactions. The difference between the Anglo-Saxon accounting countries
+ and the Rhine or also called Continental accounting countries is the moment of taking the Cost of Goods Sold versus Cost of Sales.
+ Anglo-Saxons accounting does take the cost when sales invoice is created, Continental accounting will take the cost at he moment the goods are shipped.
+ This module will add this functionality by using a interim account, to store the value of shipped goods and will contra book this interim account
+ when the invoice is created to transfer this amount to the debtor or creditor account.
+ Secondly, price differences between actual purchase price and fixed product standard price are booked on a seperate account""",
+ "depends" : ["product", "account", "sale", "purchase", "stock"],
+ "category" : "Generic Modules/Inventory Control",
+ "init_xml" : [],
+ "demo_xml" : [],
+ "update_xml" : ["product_view.xml",],
+ "active": False,
+ "installable": True
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
=== added file 'account_anglo_saxon/invoice.py'
--- account_anglo_saxon/invoice.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/invoice.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,179 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C)
+# 2004-2008 Tiny SPRL (<http://tiny.be>).
+# 2009-2010 Veritos (http://veritos.nl).
+# All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+
+class account_invoice_line(osv.osv):
+ _inherit = "account.invoice.line"
+
+ def move_line_get(self, cr, uid, invoice_id, context=None):
+ res = super(account_invoice_line,self).move_line_get(cr, uid, invoice_id, context)
+ inv = self.pool.get('account.invoice').browse(cr, uid, invoice_id)
+ if inv.type in ('out_invoice','out_refund'):
+ for i_line in inv.invoice_line:
+ if i_line.product_id:
+ if inv.type == 'out_invoice':
+ # debit account dacc will be the output account
+ # first check the product, if empty check the category
+ dacc = i_line.product_id.product_tmpl_id.property_stock_account_output and i_line.product_id.product_tmpl_id.property_stock_account_output.id
+ if not dacc:
+ dacc = i_line.product_id.categ_id.property_stock_account_output_categ and i_line.product_id.categ_id.property_stock_account_output_categ.id
+ else:
+ # = out_refund
+ # debit account dacc will be the input account
+ # first check the product, if empty check the category
+ dacc = i_line.product_id.product_tmpl_id.property_stock_account_input and i_line.product_id.product_tmpl_id.property_stock_account_input.id
+ if not dacc:
+ dacc = i_line.product_id.categ_id.property_stock_account_input_categ and i_line.product_id.categ_id.property_stock_account_input_categ.id
+ # in both cases the credit account cacc will be the expense account
+ # first check the product, if empty check the category
+ cacc = i_line.product_id.product_tmpl_id.property_account_expense and i_line.product_id.product_tmpl_id.property_account_expense.id
+ if not cacc:
+ cacc = i_line.product_id.categ_id.property_account_expense_categ and i_line.product_id.categ_id.property_account_expense_categ.id
+
+ if dacc and cacc:
+ res.append({
+ 'type':'src',
+ 'name': i_line.name[:64],
+ 'price_unit':i_line.product_id.product_tmpl_id.standard_price,
+ 'quantity':i_line.quantity,
+ 'price':i_line.product_id.product_tmpl_id.standard_price * i_line.quantity,
+ 'account_id':dacc,
+ 'product_id':i_line.product_id.id,
+ 'uos_id':i_line.uos_id.id,
+ 'account_analytic_id':i_line.account_analytic_id.id,
+ 'taxes':i_line.invoice_line_tax_id,
+ })
+
+ res.append({
+ 'type':'src',
+ 'name': i_line.name[:64],
+ 'price_unit':i_line.product_id.product_tmpl_id.standard_price,
+ 'quantity':i_line.quantity,
+ 'price': -1 * i_line.product_id.product_tmpl_id.standard_price * i_line.quantity,
+ 'account_id':cacc,
+ 'product_id':i_line.product_id.id,
+ 'uos_id':i_line.uos_id.id,
+ 'account_analytic_id':i_line.account_analytic_id.id,
+ 'taxes':i_line.invoice_line_tax_id,
+ })
+ elif inv.type in ('in_invoice','in_refund'):
+ for i_line in inv.invoice_line:
+ if i_line.product_id:
+ if i_line.product_id.product_tmpl_id.type != 'service':
+ # get the price difference account at the product
+ acc = i_line.product_id.product_tmpl_id.property_account_creditor_price_difference and i_line.product_id.product_tmpl_id.property_account_creditor_price_difference.id
+ if not acc:
+ # if not found on the product get the price difference account at the category
+ acc = i_line.product_id.categ_id.property_account_creditor_price_difference_categ and i_line.product_id.categ_id.property_account_creditor_price_difference_categ.id
+ a = None
+ if inv.type == 'in_invoice':
+ # oa will be the stock input account
+ # first check the product, if empty check the category
+ oa = i_line.product_id.product_tmpl_id.property_stock_account_input and i_line.product_id.product_tmpl_id.property_stock_account_input.id
+ if not oa:
+ oa = i_line.product_id.categ_id.property_stock_account_input_categ and i_line.product_id.categ_id.property_stock_account_input_categ.id
+ else:
+ # = in_refund
+ # oa will be the stock output account
+ # first check the product, if empty check the category
+ oa = i_line.product_id.product_tmpl_id.property_stock_account_output and i_line.product_id.product_tmpl_id.property_stock_account_output.id
+ if not oa:
+ oa = i_line.product_id.categ_id.property_stock_account_output_categ and i_line.product_id.categ_id.property_stock_account_output_categ.id
+ if oa:
+ # get the fiscal position
+ fpos = i_line.invoice_id.fiscal_position or False
+ a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, oa)
+ diff_res = []
+ # calculate and write down the possible price difference between invoice price and product price
+ for line in res:
+ if a == line['account_id'] and i_line.product_id.id == line['product_id']:
+ uom = i_line.product_id.uos_id or i_line.product_id.uom_id
+ standard_price = self.pool.get('product.uom')._compute_price(cr, uid, uom.id, i_line.product_id.product_tmpl_id.standard_price, i_line.uos_id.id)
+ if standard_price != i_line.price_unit and line['price_unit'] == i_line.price_unit and acc:
+ price_diff = i_line.price_unit - standard_price
+ line.update({'price':standard_price * line['quantity']})
+ diff_res.append({
+ 'type':'src',
+ 'name': i_line.name[:64],
+ 'price_unit':price_diff,
+ 'quantity':line['quantity'],
+ 'price': price_diff * line['quantity'],
+ 'account_id':acc,
+ 'product_id':line['product_id'],
+ 'uos_id':line['uos_id'],
+ 'account_analytic_id':line['account_analytic_id'],
+ 'taxes':line.get('taxes',[]),
+ })
+ res += diff_res
+ return res
+
+ def product_id_change(self, cr, uid, ids, product, uom, qty=0, name='', type='out_invoice', partner_id=False, fposition_id=False, price_unit=False, address_invoice_id=False, context=None):
+ if not product:
+ return super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, context)
+ else:
+ res = super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, context)
+
+ if type in ('in_invoice','in_refund'):
+ product_obj = self.pool.get('product.product').browse(cr, uid, product, context=context)
+ if type == 'in_invoice':
+ oa = product_obj.product_tmpl_id.property_stock_account_input and product_obj.product_tmpl_id.property_stock_account_input.id
+ if not oa:
+ oa = product_obj.categ_id.property_stock_account_input_categ and product_obj.categ_id.property_stock_account_input_categ.id
+ else:
+ oa = product_obj.product_tmpl_id.property_stock_account_output and product_obj.product_tmpl_id.property_stock_account_output.id
+ if not oa:
+ oa = product_obj.categ_id.property_stock_account_output_categ and product_obj.categ_id.property_stock_account_output_categ.id
+ if oa:
+ fpos = fposition_id and self.pool.get('account.fiscal.position').browse(cr, uid, fposition_id) or False
+ a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, oa)
+ res['value'].update({'account_id':a})
+ return res
+
+account_invoice_line()
+
+class account_invoice(osv.osv):
+ _inherit = "account.invoice"
+
+ def _refund_cleanup_lines(self, cr, uid, lines):
+ for line in lines:
+ inv_id = line['invoice_id']
+ inv_obj = self.browse(cr,uid,inv_id[0])
+ if inv_obj.type == 'in_invoice':
+ if line.get('product_id',False):
+ product_obj = self.pool.get('product.product').browse(cr,uid,line['product_id'][0])
+ oa = product_obj.product_tmpl_id.property_stock_account_output and product_obj.product_tmpl_id.property_stock_account_output.id
+ if not oa:
+ oa = product_obj.categ_id.property_stock_account_output_categ and product_obj.categ_id.property_stock_account_output_categ.id
+ if oa:
+ fpos = inv_obj.fiscal_position or False
+ a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, oa)
+ account_data = self.pool.get('account.account').read(cr,uid,[a],['name'])[0]
+ line.update({'account_id': (account_data['id'],account_data['name'])})
+ res = super(account_invoice,self)._refund_cleanup_lines(cr, uid, lines)
+ return res
+
+account_invoice()
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
=== added file 'account_anglo_saxon/product.py'
--- account_anglo_saxon/product.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/product.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,57 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+
+class product_category(osv.osv):
+ _inherit = "product.category"
+ _columns = {
+ 'property_account_creditor_price_difference_categ': fields.property(
+ 'account.account',
+ type='many2one',
+ relation='account.account',
+ string="Price Difference Account",
+ method=True,
+ view_load=True,
+ help="This account will be used to value price difference between purchase price and cost price."),
+
+ }
+product_category()
+
+class product_template(osv.osv):
+ _inherit = "product.template"
+ _columns = {
+ 'property_account_creditor_price_difference': fields.property(
+ 'account.account',
+ type='many2one',
+ relation='account.account',
+ string="Price Difference Account",
+ method=True,
+ view_load=True,
+ help="This account will be used to value price difference between purchase price and cost price."),
+
+ }
+product_template()
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_anglo_saxon/product_view.xml'
--- account_anglo_saxon/product_view.xml 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/product_view.xml 2011-07-07 11:22:45 +0000
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<openerp>
+ <data>
+ <record id="product_normal_form_view" model="ir.ui.view">
+ <field name="name">product.normal.form.inherit.stock</field>
+ <field name="model">product.product</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="account.product_normal_form_view"/>
+ <field name="arch" type="xml">
+ <xpath expr="/form/notebook/page/field[@name='property_account_expense']" position="after">
+ <field name="property_account_creditor_price_difference" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
+ <newline/>
+<!-- <field name="property_account_sending_goods" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('sale_ok','=',0)]}" />-->
+<!-- <field name="property_account_received_goods" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />-->
+ </xpath>
+ </field>
+ </record>
+
+ <record id="product_template_form_view" model="ir.ui.view">
+ <field name="name">product.template.product.form.inherit</field>
+ <field name="model">product.template</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="account.product_template_form_view"/>
+ <field name="arch" type="xml">
+ <xpath expr="/form/notebook/page/field[@name='property_account_expense']" position="after">
+ <field name="property_account_creditor_price_difference" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
+ <newline/>
+<!-- <field name="property_account_sending_goods" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('sale_ok','=',0)]}" />-->
+<!-- <field name="property_account_received_goods" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />-->
+ </xpath>
+ </field>
+ </record>
+
+ <record id="view_category_property_form" model="ir.ui.view">
+ <field name="name">product.category.property.form.inherit.stock</field>
+ <field name="model">product.category</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="product.product_category_form_view"/>
+ <field name="arch" type="xml">
+ <form position="inside">
+ <group col="2" colspan="2">
+ <separator string=" Accounting Property" colspan="2"/>
+ <field name="property_account_creditor_price_difference_categ" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
+<!-- <field name="property_account_sending_goods_categ" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('sale_ok','=',0)]}" />-->
+<!-- <field name="property_account_received_goods_categ" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />-->
+ </group>
+ </form>
+ </field>
+ </record>
+
+ </data>
+</openerp>
+
=== added file 'account_anglo_saxon/purchase.py'
--- account_anglo_saxon/purchase.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/purchase.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,42 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+
+class purchase_order(osv.osv):
+ _name = "purchase.order"
+ _inherit = "purchase.order"
+ _description = "Purchase order"
+
+ def inv_line_create(self, cr, uid, a, ol):
+ line = super(purchase_order, self).inv_line_create(cr, uid, a, ol)
+ if ol.product_id:
+ oa = ol.product_id.product_tmpl_id.property_stock_account_input and ol.product_id.product_tmpl_id.property_stock_account_input.id
+ if not oa:
+ oa = ol.product_id.categ_id.property_stock_account_input_categ and ol.product_id.categ_id.property_stock_account_input_categ.id
+ if oa:
+ fpos = ol.order_id.fiscal_position or False
+ a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, oa)
+ line[2].update({'account_id': a})
+ return line
+purchase_order()
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
=== added file 'account_anglo_saxon/sale.py'
--- account_anglo_saxon/sale.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/sale.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,44 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields, osv
+
+#class sale_order_line(osv.osv):
+# _name = 'sale.order.line'
+# _description = 'Sale Order line'
+# _inherit = 'sale.order.line'
+#
+# def invoice_line_create(self, cr, uid, ids, context={}):
+# line_ids = super('sale_order_line',self).invoice_line_create(cr, uid, ids, context)
+# invoice_line_obj = self.pool.get('account.invoice.line')
+# for line in invoice_line_obj.browse(cr, uid, line_ids):
+# if line.product_id:
+# a = line.product_id.product_tmpl_id.property_stock_account_output and line.product_id.product_tmpl_id.property_stock_account_output.id
+# if not a:
+# a = line.product_id.categ_id.property_stock_account_output_categ and line.product_id.categ_id.property_stock_account_output_categ.id
+# if a:
+# a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, a)
+# invoice_line_obj.write(cr, uid, line.id, {'account_id':a})
+#
+#sale_order_line()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added file 'account_anglo_saxon/stock.py'
--- account_anglo_saxon/stock.py 1970-01-01 00:00:00 +0000
+++ account_anglo_saxon/stock.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,64 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import fields,osv
+
+#----------------------------------------------------------
+# Stock Picking
+#----------------------------------------------------------
+class stock_picking(osv.osv):
+ _inherit = "stock.picking"
+ _description = "Packing List"
+
+ def action_invoice_create(self, cr, uid, ids, journal_id=False,
+ group=False, type='out_invoice', context=None):
+ '''Return ids of created invoices for the pickings'''
+ res = super(stock_picking,self).action_invoice_create(cr, uid, ids, journal_id, group, type, context)
+ if type == 'in_refund':
+ for inv in self.pool.get('account.invoice').browse(cr, uid, res.values(), context=context):
+ for ol in inv.invoice_line:
+ if ol.product_id:
+ oa = ol.product_id.product_tmpl_id.property_stock_account_output and ol.product_id.product_tmpl_id.property_stock_account_output.id
+ if not oa:
+ oa = ol.product_id.categ_id.property_stock_account_output_categ and ol.product_id.categ_id.property_stock_account_output_categ.id
+ if oa:
+ fpos = ol.invoice_id.fiscal_position or False
+ a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, oa)
+ self.pool.get('account.invoice.line').write(cr, uid, [ol.id], {'account_id': a})
+
+ elif type == 'in_invoice':
+ for inv in self.pool.get('account.invoice').browse(cr, uid, res.values(), context=context):
+ for ol in inv.invoice_line:
+ if ol.product_id:
+ oa = ol.product_id.product_tmpl_id.property_stock_account_input and ol.product_id.product_tmpl_id.property_stock_account_input.id
+ if not oa:
+ oa = ol.product_id.categ_id.property_stock_account_input_categ and ol.product_id.categ_id.property_stock_account_input_categ.id
+ if oa:
+ fpos = ol.invoice_id.fiscal_position or False
+ a = self.pool.get('account.fiscal.position').map_account(cr, uid, fpos, oa)
+ self.pool.get('account.invoice.line').write(cr, uid, [ol.id], {'account_id': a})
+ return res
+
+stock_picking()
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
=== added directory 'account_asset'
=== added file 'account_asset/__terp__.py.OTHER'
--- account_asset/__terp__.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/__terp__.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,173 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+{
+ "name" : "Asset management",
+ "version" : "1.1",
+ "depends" : ["account"],
+ "author" : "Tiny, Grzegorz Grzelak (Cirrus.pl)",
+ "description": """Financial and accounting asset management.
+ Allows to define
+ * Assets.
+ * Asset usage period and method.
+ * Asset category.
+ * Asset method types
+ * Default accounts for methods and categories
+ * Depreciation methods:
+ - Straight-Line
+ - Declining-Balance
+ - Sum of Year Digits
+ - Units of Production - this method can be used for individual depreciation schedule.
+ - Progressive
+ * Method Parameters:
+ - Starting interval (period)
+ - Number of depreciation intervals
+ - Number of intervals per year
+ - Progressive factor for Declining-Balance method
+ - Salvage Value
+ - Life Quantity for Unit of Production method
+ * Functionality:
+ - Defining the asset in invoice when purchasing
+ - Adjusting the asset value in purchasing Refund
+ - Periodical entering of units of production
+ - Periodical asset calculation
+ - Sales invoice stops the depreciation and make final postings
+ * Wizards:
+ - Initial Values for continuing depreciation from previous system
+ - Revaluation
+ - Abandonment
+ - Method parameters changing
+ - Suppressing and Resuming depreciation
+ - Localisation changing
+
+This module is based on original Tiny module account_asset version 1.0 of the same name "Financial and accounting asset management".
+
+Purpose of the module is to aid fixed assets management and integrate this management into the accounting system.
+
+Terms used in the module:
+- Asset - product or set of products which are used internally in company for longer time and must be taken into asset registry.
+- Asset Category - Term for grouping assets into hierarchical structure.
+- Asset Method - Calculation rules of depreciation. Asset can have few methods. For each asset element or for each kind of depreciation (cost and tax).
+- Method Type - Used for differentiation of method types and for default settings.
+- Method Defaults - Settings assigned to method types (and categories) simplifying creation of asset settings.
+
+Usage of the module:
+====================
+Introduction settings:
+1. Creating Asset categories (optional)
+2. Creating Method Types (optional)
+3. Setting Method Defaults (optional)
+
+Usual activities:
+4. Creating Asset
+5. Purchasing Asset
+6. Calculating Asset depreciation
+
+Rare activities:
+7. Acquiring asset
+8. Sale of asset
+9. Revaluation of asset
+10. Asset abandonment
+11. Suppressing and resuming the depreciation
+12. Changing a localisation
+
+============================
+1. Create Asset categories in menu "Financial Management - Configuration - Assets - Asset Categories". Categories can be hierarchical. Read farther how hierarchy works for Method Defaults and for Periodical Calculation. You can review hierarchy of categories in menu "Financial Management - Configuration - Assets - Category Structure"
+
+2. Create Method types in menu "Financial Management - Configuration - Assets - Asset Method Types". You should create method type for every kind of depreciation. Fe. you use fast depreciation for computer equipment and slow depreciation for buildings. You can also create different types for cost depreciation and for tax depreciation (if you use tax depreciation).
+
+3. Create Method Defaults in menu "Financial Management - Configuration - Assets - Asset Method Defaults". You can create default settings for method type only or for pairs of method type and asset category. It is suggested to accounting manager to design asset categories hierarchy and assign defaults to categories and method types before system start. If it will be well designed accountants will have simplified and more error-proof job later on. All accounts, calculation methods and other parameters will be entered automatically during asset creation. Note that as Categories are hierarchical the defaults will work also hierarchical for all children categories. It means that if there is no defaults line for certain pair of Method Type and Category system look for pairs of Method Type and parent Category. It looks for such pair till root of Category.
+
+4. Create asset in menu "Financial Management - Configuration - Assets - Assets" or in "Financial Management - Assets - Assets". In Asset form you should enter the name of asset, asset code (abbreviation or numerical symbol which can be set in Sequence settings). Then you select Asset category. It is optional step but it would be used to enter method defaults.
+
+Then you go to methods creation. Asset can have many methods. They can be used when asset is a set of several elements. Fe. Computer set consisting PC, screen and printer. When they have the same depreciation rule they can be in one method (invoice lines assigned to the same method). If they have different depreciation rules they have to be in different methods.
+
+As a first step in creation of method select Method Type. After Method Type selection many fields can be filled automatically. First system creates the method Name from Method Type Code, Asset name and Asset Code. It would simplify Method selection in invoice line. Then system fills other fields according to method type defaults. There are accounts, calculation methods and other values. You can change Method name and other default settings before asset saving but when you select Method type again (even to the same type) these fields will be reverted back to defaults.
+
+5. As buying is the most common way to possess the asset you usually have to assign the created asset method to supplier invoice line. So when you create the draft supplier invoice you have to open the invoice line and select the created asset method. Notice that after method selection the invoice line account would be changed to Asset Account which was set in Asset method. Then when you create the invoice the asset state changes to Normal, Asset method state changes to Open and method is ready for depreciation.
+
+When asset purchase is subject of refund and asset should change the value according to that you should assign Refund line to asset method as you did during Purchasing. Method value will be reflected to the refund value.
+
+When an asset should consist few elements and these elements will be depreciated the same way (with the same rules) you can assignt few invoice lines to the same method. (From the same invoice or another). But if elements depreciation rules differs you should create separate methods for these elements.
+
+6. To make asset calculation choose "Financial Management - Periodical Processing - Assets Calculation - Compute Assets". You have to select period of calculation and date of postings. Selected period is also used as posting period so Date must be in Period. Then you can select Asset Category and Method Type which you would like to compute. Remember that Categories are hierarchical and work for all children.
+
+7. When you possesed the asset different way than purchasing (by own production or investment) or you wish to continue depreciation started in other system you can use wizard Initial Values. If you continue depreciation you can enter:
+ a. Base Value as starting Total.
+ b. Expense Value as depreciation already made.
+ c. Intervals Before as number of intervals already calculated.
+You can also Enter Base Value only as Residual left from previous depreciation (don't enter Expense Value and Intervals Before in such case).
+
+You can use this wizard also to make starting account move if asset was produced by you or is a result of investment recorded previously in other accounts.
+
+Remember that Wizards allows you to make note about previous depreciation in history entry. You can use Notes field for that.
+
+8. When asset is to be sold you can assign appropriate method to the Customer invoice line. System will make needed postings and stop the asset method.
+
+9. If you wish to revalue the method you can use Revalue Method button. Select parameters for postings and for asset history.
+
+10. If you wish to abandon the asset you can use Abandon Method button. Parameters in wizard are described in labels.
+
+11. You can wish suppress or resume the depreciation. You can use Suppress and Resume buttons for that. If method has state "Suppressed" it is not calculated.
+
+12. Some local rules require to trace the asset localisation. You can use for that the button "Change Localisation" on asset tab "Other Information". This wizard will change localisation text and make proper entry in asset history.
+
+Remarks:
+- All wizard actions are traced in Asset history. You can use Asset history as Asset registry.
+- Period in Method is used as indication of starting interval. If you have monthly periods, Intervals per Year is 4 (quarterly) and you set period July or August the calculation will start on September anyway. Depreciation is calculated always in last period of interval. If you set Intervals per Year to 1 (yearly depreciation) system calculates asset in 4th quarter or in December. In last case it calculates depreciation for whole year. If you wish to calculate different interval in first December than in following Decembers you can try to change method parameters using Change Parameters wizard at appropriate moment.
+- If you make mistake in depreciations or in wizard actions you can delete created accounting moves usual way in Financial menu. They are in draft state after creation so they can be deleted. You can recreate depreciation moves in Compute Asset wizard. Deleting the moves created by wizards doesn't delete asset history entries.
+- You can also manually create account moves for special postings not covered by this module functionality. In such case you have to assign move lines to asset method. You can use this possibility to add tax depreciation:
+ a. Create special method type for tax.
+ b. Create tax method for asset.
+ c. Create manually initial account move.
+ d. Create account move lines with proper accounts for assets.
+ e. Assign account move lines to asset method.
+ f. Use periodical depreciation computing as usual.
+ You can try to use Initial Values wizard instead of points c, d, e.
+
+- Unit of Production method. If you are not satisfied with any calculation method functionality or you wish to have individual depreciation schedule for method you can adopt Unit of Production calculation method for that:
+ a. Select Units of Production as Computation Method
+ b. Enter 100 in Life Quantity in method.
+ c. On Usage tab use Create Usage Line wizard to create usage entries for the method.
+ d. Enter percentage values as usage entries.
+Usage values can be entered in method tab Usage or in menu "Financial Management - Periodical Processing - Assets Calculation - Method Usage". Second method is recommended for use before every period computation.
+ """,
+ "website" : "http://www.openerp.com",
+ "category" : "Generic Modules/Accounting",
+ "init_xml" : [
+ ],
+ "demo_xml" : [
+ ],
+ "update_xml" : [
+ "security/ir.model.access.csv",
+ "account_asset_wizard.xml",
+ "account_asset_view.xml",
+ "account_asset_invoice_view.xml"
+ ],
+# "translations" : {
+# "fr": "i18n/french_fr.csv"
+# },
+ "active": False,
+ "installable": True,
+
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/account_asset.py.OTHER'
--- account_asset/account_asset.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/account_asset.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,803 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import osv, fields
+import time
+import math
+import mx.DateTime
+from tools.translate import _
+from tools import config
+#from mx.DateTime import RelativeDateTime, now, DateTime, localtime
+
+class account_asset_category(osv.osv):
+ _name = 'account.asset.category'
+ _description = 'Asset category'
+ _columns = {
+ 'code': fields.char('Asset Category Code', size=16, required=True, select=1),
+ 'name': fields.char('Asset Category', size=64, required=True, select=1),
+ 'note': fields.text('Note'),
+ 'parent_id': fields.many2one('account.asset.category', 'Parent Category'),
+ 'child_ids': fields.one2many('account.asset.category', 'parent_id', 'Children Categories'),
+
+ }
+
+ def _check_recursion(self, cr, uid, ids):
+ level = 100
+ while len(ids):
+ cr.execute('select distinct parent_id from account_asset_category where id in ('+','.join(map(str,ids))+')')
+ ids = filter(None, map(lambda x:x[0], cr.fetchall()))
+ if not level:
+ return False
+ level -= 1
+ return True
+
+ _constraints = [
+ (_check_recursion, _('Error ! You can not create recursive categories.'), ['parent_id'])
+ ]
+account_asset_category()
+
+class account_asset_asset(osv.osv):
+ _name = 'account.asset.asset'
+ _description = 'Asset'
+
+ def _amount_all(self, cr, uid, ids, name, args, context=None):
+ res = {}
+ for asset in self.browse(cr,uid,ids, context=context):
+ res[asset.id] = {
+ 'amount_total': 0.0,
+ 'amount_residual': 0.0,
+ }
+ for method in asset.method_ids:
+ res[asset.id]['amount_total'] += method.value_total
+ res[asset.id]['amount_residual'] += method.value_residual
+ return res
+
+
+ def _get_method(self, cr, uid, ids, context=None):
+ result = {}
+ for method in self.pool.get('account.asset.method').browse(cr, uid, ids, context=context):
+ result[method.asset_id.id] = True
+ return result.keys()
+
+ def _get_move_line(self, cr, uid, ids, context=None):
+ result = {}
+ for mline in self.pool.get('account.move.line').browse(cr, uid, ids, context=context):
+ if mline.asset_method_id:
+ result[mline.asset_method_id.asset_id.id] = True
+ return result.keys()
+
+ def clear(self, cr, uid, ids, context={}):
+ for asset in self.browse(cr, uid, ids, context):
+ ok = True
+ for met in asset.method_ids:
+ if met.state=='draft':
+ self.pool.get('account.asset.method').unlink(cr, uid, [met.id], context)
+ elif met.state != 'close':
+ ok = False
+ if ok:
+ self.write(cr, uid, [asset.id], {'state':'close'}, context)
+ else:
+ raise osv.except_osv(_('Warning !'), _('This wizard works only when asset have just Draft and Closed methods !'))
+
+ return True
+
+ _columns = {
+ 'name': fields.char('Asset', size=64, required=True, select=1),
+ 'code': fields.char('Asset Code', size=16, select=1, required=True, readonly=True, states={'draft':[('readonly',False)]}),
+ 'amount_total': fields.function(_amount_all, method=True, digits=(16, int(config['price_accuracy'])), string='Total',
+ store={
+ 'account.asset.asset': (lambda self, cr, uid, ids, c={}: ids, ['method_ids'], 20),
+ 'account.asset.method': (_get_method, ['value_total','value_residual','entry_ids','state'], 20),
+ 'account.move.line': (_get_move_line, ['debit','credit','account_id','asset_method_id'], 20),
+ },
+ multi='all'),
+ 'amount_residual': fields.function(_amount_all, method=True, digits=(16, int(config['price_accuracy'])), string='Residual',
+ store={
+ 'account.asset.asset': (lambda self, cr, uid, ids, c={}: ids, ['method_ids'], 20),
+ 'account.asset.method': (_get_method, ['value_total','value_residual','entry_ids','state'], 20),
+ 'account.move.line': (_get_move_line, ['debit','credit','account_id','asset_method_id'], 20),
+ },
+ multi='all'),
+
+ 'note': fields.text('Note'),
+ 'category_id': fields.many2one('account.asset.category', 'Asset Category', change_default=True),
+ 'localisation': fields.char('Localisation', size=32, select=2, readonly=True, states={'draft':[('readonly',False)]}, help = "Set this field before asset coonfirming. Later on you will have to use Change Localisation button."),
+ 'sequence': fields.integer('Seq.'),
+ 'date': fields.date('Date',readonly=True, states={'draft':[('readonly',False)]}, help = "Set this date or leave it empty to allow system set the first purchase date."),
+ 'state': fields.selection([('view','View'),('draft','Draft'),('normal','Normal'),('close','Closed')], 'Asset State', required=True, help = "Normal - Asset contains active methods (opened, suppressed or depreciated).\nClosed - Asset doesn't exist. All methods are sold or abandoned."),
+ 'active': fields.boolean('Active', select=2),
+ 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True, states={'draft':[('readonly',False)]}, help = "If Date field is empty this field will be filled by first purchase."),
+ 'method_ids': fields.one2many('account.asset.method', 'asset_id', 'Asset Method Name', readonly=False, states={'close':[('readonly',True)]}),
+ 'history_ids': fields.one2many('account.asset.history', 'asset_id', 'History', readonly=True)
+ }
+ _defaults = {
+ 'code': lambda obj, cr, uid, context: obj.pool.get('ir.sequence').get(cr, uid, 'account.asset.code'),
+# 'date': lambda obj, cr, uid, context: time.strftime('%Y-%m-%d'),
+ 'active': lambda obj, cr, uid, context: True,
+ 'state': lambda obj, cr, uid, context: 'draft',
+ }
+
+ def unlink(self, cr, uid, ids, context={}):
+ for obj in self.browse(cr, uid, ids, context):
+ if obj.state != 'draft':
+ raise osv.except_osv(_('Error !'), _('You can dalete assets only in Draft state !'))
+ return super(account_asset_asset, self).unlink(cr, uid, ids, context)
+
+
+ def _localisation(self, cr, uid, asset_id, localisation, name, note, context={}):
+ asset = self.browse(cr, uid, asset_id, context)
+ self.pool.get('account.asset.history').create(cr, uid, {
+ 'type': "transfer",
+ 'asset_id' : asset_id,
+ 'name': name,
+# 'asset_total': asset.amount_total,
+# 'asset_residual': asset.amount_residual,
+ 'note': _("Asset transfered to: ") + str(localisation)+
+ "\n" + str(note or ""),
+ }, context)
+ self.pool.get('account.asset.asset').write(cr, uid, [asset_id], {
+ 'localisation': localisation,
+ }, context)
+ return True
+
+account_asset_asset()
+
+class account_asset_method_type(osv.osv):
+ _name = 'account.asset.method.type'
+ _description = 'Asset Method Type'
+ _columns = {
+ 'code': fields.char('Asset Method Type Code', size=16, required=True, select=1),
+ 'name': fields.char('Asset Method Type Name', size=64, required=True, select=1),
+ 'note': fields.text('Note'),
+ }
+account_asset_method_type()
+
+class account_asset_method_defaults(osv.osv):
+ _name = 'account.asset.method.defaults'
+ _description = 'Asset Method Delfaults'
+ _columns = {
+ 'asset_category': fields.many2one('account.asset.category', 'Asset Category', help = "Select the asset category for this set of defaults. If no selection defined defaults will concern to all methods of selected type."),
+ 'method_type': fields.many2one('account.asset.method.type', 'Method Type', required = True, help ="Select method type for this set of defaults.", ondelete = "cascade"),
+ 'account_asset_id': fields.many2one('account.account', 'Asset Account', help = "Select account used for cost basis of asset. It will be applied into invoice line when you select this asset in invoice line."),
+ 'account_expense_id': fields.many2one('account.account', 'Depr. Expense Account', help = "Select account used for depreciation expense (write-off). If you use direct method of depreciation this account should be the same as Asset Account."),
+ 'account_actif_id': fields.many2one('account.account', 'Depreciation Account', help = "Select account used for depreciation amount."),
+ 'account_residual_id': fields.many2one('account.account', 'Sale Residual Account', help = "Select account used for sale residual."),
+ 'account_impairment_id': fields.many2one('account.account', 'Impairment Account', help = "Select account used for impairment amount. Used in revaluation."),
+ 'account_abandon_id': fields.many2one('account.account', 'Abandonment Account', help = "Select account used for abandonment loss amount."),
+ 'journal_id': fields.many2one('account.journal', 'Journal', ),
+ 'journal_analytic_id': fields.many2one('account.analytic.journal', 'Analytic Journal'),
+ 'account_analytic_id': fields.many2one('account.analytic.account', 'Analytic Account'),
+ 'method': fields.selection([('linear','Straight-Line'), ('decbalance','Declining-Balance'), ('syd', 'Sum of Years Digits'), ('uop','Units of Production'), ('progressive','Progressive')], 'Computation Method', ),
+ 'method_progress_factor': fields.float('Progressive factor', help = "Specify the factor of progression in depreciation. It is used in Declining-Balance method. When linear depreciation is 20% per year, and you want apply Double-Declining Balance you should choose Declining-Balance method and enter 0,40 (40%) as Progressive factor."),
+# 'method_time': fields.selection([('interval','Interval'),('endofyear','End of Year')], 'Time Method'),
+ 'method_delay': fields.integer('Number of Intervals'),
+ 'method_period': fields.integer('Intervals per Year'),
+
+ }
+
+ _defaults = {
+ 'method': lambda obj, cr, uid, context: 'linear',
+# 'method_time': lambda obj, cr, uid, context: 'interval',
+ 'method_progress_factor': lambda obj, cr, uid, context: 0.3,
+ 'method_delay': lambda obj, cr, uid, context: 5,
+ 'method_period': lambda obj, cr, uid, context: 1,
+ }
+
+account_asset_method_defaults()
+
+
+class account_asset_method(osv.osv): # Asset method = Asset Method
+ def _amount_total(self, cr, uid, ids, name, args, context={}):
+ if not ids:
+ return {}
+# id_set=",".join(map(str,ids))
+ res = {}
+ for id in ids: #
+ res[id] = {}
+
+ method = self.browse(cr, uid, id, context)
+ cr.execute("SELECT SUM(l.debit-l.credit) AS asset_acc_vals \
+ FROM account_asset_method p \
+ LEFT JOIN account_move_line l \
+ ON (p.id=l.asset_method_id) \
+ WHERE p.id = %s AND l.account_id = p.account_asset_id" % (id, ))
+ asset_acc_val = cr.fetchone()[0] or 0.0
+
+ if method.account_asset_id.id == method.account_expense_id.id: # Direct method
+ if (asset_acc_val == 0.0) and (method.state == 'close'):
+ write_off = 0.0
+ else:
+ cr.execute("SELECT SUM(l.debit) AS writeoff \
+ FROM account_asset_method p \
+ LEFT JOIN account_move_line l \
+ ON (p.id=l.asset_method_id) \
+ WHERE p.id = %s AND p.account_actif_id = l.account_id" % (id, ))
+ write_off = cr.fetchone()[0] or 0.0
+ res[id]['value_total'] = asset_acc_val + write_off
+ res[id]['value_residual'] = asset_acc_val
+ else: # Indirect method
+ cr.execute("SELECT SUM(l.debit-l.credit) AS expense_acc_vals \
+ FROM account_asset_method p \
+ LEFT JOIN account_move_line l \
+ ON (p.id=l.asset_method_id) \
+ WHERE p.id = %s AND l.account_id = p.account_expense_id" % (id, ))
+
+ expense_acc_val = cr.fetchone()[0] or 0.0
+ res[id]['value_total'] = asset_acc_val
+ res[id]['value_residual'] = asset_acc_val + expense_acc_val
+ return res
+
+ def _finish_depreciation(self, cr, uid, method, context={}):
+ if method.state == 'open':
+ self.write(cr, uid, [method.id], {
+ 'state': 'depreciated'
+ })
+ method.state='depreciated'
+ return True
+
+ def _close(self, cr, uid, method, context={}):
+ if method.state<>'close':
+ self.write(cr, uid, [method.id], {
+ 'state': 'close'
+ })
+ method.state='close'
+ ok = (method.asset_id.state == 'normal')
+ any_open = self.search(cr, uid, [('asset_id','=',method.asset_id.id),('state','<>','close')])
+ if ok and not any_open:
+ self.pool.get('account.asset.asset').write(cr, uid, [method.asset_id.id], {
+ 'state': 'close'
+ }, context)
+ method.asset_id.state='close'
+ return True
+
+ def _initial(self, cr, uid, method, period_id, date, base, expense, acc_impairment, intervals_before, name, note, context):
+ period = self._check_date(cr, uid, period_id, date, context)
+ self._post_3lines_move(cr, uid, method=method, period = period, date = date, \
+ acc_third_id = acc_impairment, base = base, expense = expense, method_initial = True, context = context)
+ self.validate(cr, uid, [method.id], context)
+ if not method.asset_id.date:
+ self.pool.get('account.asset.asset').write(cr, uid, [method.asset_id.id], {
+ 'date': date,
+ })
+ if intervals_before:
+ self.write(cr, uid, [method.id], {'intervals_before': intervals_before}, context)
+ self.pool.get('account.asset.history')._history_line(cr, uid, "initial", method, name, \
+ base, expense, False, note, context)
+ return True
+
+
+ def _reval(self, cr, uid, method, period_id, date, base, expense, acc_impairment, name, note, context={}):
+ period = self._check_date(cr, uid, period_id, date, context)
+ direct = (method.account_asset_id.id == method.account_expense_id.id)
+ expense = not direct and expense or False
+ self._post_3lines_move(cr, uid, method = method, period = period, date = date, acc_third_id = acc_impairment, \
+ base = base, expense = expense, reval=True, context = context)
+ self.pool.get('account.asset.history')._history_line(cr, uid, "reval", method, name, \
+ base, expense, False, note, context)
+ return True
+
+ def _abandon(self, cr, uid, methods, period_id, date, acc_abandon, name, note, context={}):
+ period = self._check_date(cr, uid, period_id, date, context)
+ for method in methods:
+ if method.state in ['open','suppressed','depreciated']:
+ direct = (method.account_asset_id.id == method.account_expense_id.id)
+ base = not direct and -method.value_total or - method.value_residual
+ expense = not direct and -(method.value_total - method.value_residual) or False
+ if base:
+ self._post_3lines_move(cr, uid, method = method, period = period, date = date, acc_third_id = acc_abandon, \
+ base = base, expense = expense, context = context)
+ self.pool.get('account.asset.history')._history_line(cr, uid, "abandon", method, name,
+ base, expense, False, note, context)
+ self._close(cr, uid, method, context)
+ return True
+
+ def _modif(self, cr, uid, method, method_delay, method_period, method_progress_factor, method_salvage, life, name, note, context={}):
+
+ note2 = _("Changing of method parameters to:") + \
+ _('\n Number of Intervals: ')+ str(method_delay) + \
+ _('\n Intervals per Year: ')+ str(method_period) + \
+ _('\n Progressive Factor: ') + str(method_progress_factor) + \
+ _('\n Salvage Value: ') + str(method_salvage or 0.0)+ \
+ _('\n Life Quantity: ') + str(life or 0.0)+ \
+ "\n" + str(note or "")
+
+ self.pool.get('account.asset.history')._history_line(cr, uid, "change", method, name, 0.0, 0.0, False, note2, context )
+ self.write(cr, uid, [method.id], {
+ 'method_delay': method_delay,
+ 'method_period': method_period,
+ 'method_progress_factor': method_progress_factor,
+ 'method_salvage': method_salvage,
+ 'life': life,
+ }, context)
+ return True
+
+
+ def _suppress(self, cr, uid, methods, name, note, context={}):
+ for method in methods:
+ if method.state == 'open':
+ self.pool.get('account.asset.history')._history_line(cr, uid, "suppression", method, name, 0.0, 0.0, False, note, context )
+ self.write(cr, uid, [method.id], {
+ 'state': 'suppressed'
+ })
+ method.state='suppressed'
+ return True
+
+ def _resume(self, cr, uid, methods, name, note, context={}):
+ for method in methods:
+ if method.state == 'suppressed':
+ self.pool.get('account.asset.history')._history_line(cr, uid, "resuming", method, name, 0.0, 0.0, False, note, context )
+ self.write(cr, uid, [method.id], {
+ 'state': 'open'
+ })
+ method.state='open'
+ return True
+
+
+ def _get_next_period(self, cr, uid, context={}):
+ period_obj = self.pool.get('account.period')
+ periods = period_obj.find(cr, uid, time.strftime('%Y-%m-%d'), context)
+ if periods:
+ cp = period_obj.browse(cr, uid, periods[0], context)
+ return period_obj.next(cr, uid, cp, 1, context)
+ else:
+ return False
+
+ def _get_line(self, cr, uid, ids, context=None):
+ result = {}
+ for line in self.pool.get('account.move.line').browse(cr, uid, ids, context=context):
+ if line.asset_method_id:
+ result[line.asset_method_id.id] = True
+ return result.keys()
+
+
+ _name = 'account.asset.method'
+ _description = 'Asset method'
+ _columns = {
+ 'name': fields.char('Method name', size=64, select=1, required=True, readonly=True, states={'draft':[('readonly',False)]}),
+ 'method_type': fields.many2one('account.asset.method.type', 'Method Type', required=True, readonly=True, states={'draft':[('readonly',False)]}),
+ 'asset_id': fields.many2one('account.asset.asset', 'Asset', required=True, ondelete='cascade'),
+ 'account_asset_id': fields.many2one('account.account', 'Asset Account', required=True, readonly=True, states={'draft':[('readonly',False)]}, help = "Select account used for cost basis of asset. It will be applied into invoice line when you select this asset in invoice line."),
+ 'account_expense_id': fields.many2one('account.account', 'Depr. Expense Account', required=True, readonly=True, states={'draft':[('readonly',False)]}, help = "Select account used for depreciation expense (write-off). If you use direct method of depreciation this account should be the same as Asset Account."),
+ 'account_actif_id': fields.many2one('account.account', 'Depreciation Account', required=True, readonly=True, states={'draft':[('readonly',False)]}, help = "Select account used for depreciation amounts."),
+ 'account_residual_id': fields.many2one('account.account', 'Sale Residual Account', help = "Select account used for residual when asset is sold. You can change the account before sale operation."),
+
+ 'journal_id': fields.many2one('account.journal', 'Journal', required=True, readonly=True, states={'draft':[('readonly',False)]}),
+ 'journal_analytic_id': fields.many2one('account.analytic.journal', 'Analytic Journal', help = "Not implemented yet."),
+ 'account_analytic_id': fields.many2one('account.analytic.account', 'Analytic Account', help = "Not implemented yet."),
+ 'period_id': fields.many2one('account.period', 'Period', required=True, readonly=True, states={'draft':[('readonly',False)]}, help = "Select period indicating first interval."),
+ 'method': fields.selection([('linear','Straight-Line'), ('decbalance','Declining-Balance'), ('syd', 'Sum of Years Digits'), ('uop','Units of Production'), ('progressive','Progressive')], 'Computation Method', required=True, readonly=True, states={'draft':[('readonly',False)]}),
+ 'method_progress_factor': fields.float('Progressive Factor', readonly=True, states={'draft':[('readonly',False)]}, help = "Specify the factor of progression in depreciation. Used in Declining-Balance and Progressive method only. When linear depreciation is 20% per year, and you want apply Double-Declining Balance you should choose Declining-Balance method and enter 0,40 (40%) as Progressive factor."),
+# TODO You can implement depreciation calculation from fixed date.
+# 'method_time': fields.selection([('interval','Interval'),('date','Start Date')], 'Time Method', required=True, readonly=True, states={'draft':[('readonly',False)]}),
+# 'date_start' : fields.date('Start Date',readonly=True, states={'draft':[('readonly',False)]}, help = "Date of depreciation calculation start."),
+ 'method_delay': fields.integer('Number of Intervals', readonly=True, states={'draft':[('readonly',False)]}, help = "How many intervals this asset is to be calculated in its life. If asset was calculated in other system before specify Intervals Before too."),
+ 'intervals_before' : fields.integer('Intervals Before', readonly=True, states={'draft':[('readonly',False)]}, help = "Number of intervals calculated before asset is managed in this system. Used with Initial Values wizard. If you start asset in this system keep zero."),
+ 'method_period': fields.integer('Intervals per Year', readonly=True, states={'draft':[('readonly',False)]}, help = "Specify the number of depreciations to be made in year. This number cannot be less then number of periods in year."),
+ 'method_salvage': fields.float('Salvage Value', readonly=True, states={'draft':[('readonly',False)]}, help = "Value planned to be residual after full depreciation process"),
+ 'method_end': fields.date('Ending Date'),
+ 'date': fields.date('Date Created'),
+ 'entry_ids': fields.one2many('account.move.line', 'asset_method_id', 'Entries', readonly=True, states={'draft':[('readonly',False)]}),
+ 'life': fields.float('Life Quantity', readonly=True, states={'draft':[('readonly',False)]}, help = "Quantity of production which make the asset method used up. Used only in Units of Production computation method and cannot be zero in this case."),
+ 'usage_ids': fields.one2many('account.asset.method.usage', 'asset_method_id', 'Usage'),
+ 'value_total': fields.function(_amount_total, method=True, digits=(16, int(config['price_accuracy'])), string='Gross Value',
+ store={
+ 'account.asset.method': (lambda self, cr, uid, ids, c={}: ids, ['entry_ids','state'], 10),
+ 'account.move.line': (_get_line, ['debit','credit','account_id','asset_method_id'], 10),
+ },
+ multi='all'),
+ 'value_residual': fields.function(_amount_total, method=True, digits=(16, int(config['price_accuracy'])), string='Residual Value',
+ store={
+ 'account.asset.method': (lambda self, cr, uid, ids, c={}: ids, ['entry_ids','state'], 10),
+ 'account.move.line': (_get_line, ['debit','credit','account_id','asset_method_id'], 10),
+ },
+ multi='all'),
+ 'state': fields.selection([('draft','Draft'), ('open','Open'), ('suppressed','Suppressed'),('depreciated','Depreciated'), ('close','Closed')], 'Method State', required=True, help = "Open - Ready for calculation.\nSuppressed - Not calculated.\nDepreciated - Depreciation finished but method exists (can be sold or abandoned).\nClosed - Asset method doesn't exist (sold or abandoned)."),
+
+ }
+
+ _defaults = {
+# 'type': lambda obj, cr, uid, context: 'direct',
+ 'state': lambda obj, cr, uid, context: 'draft',
+ 'method': lambda obj, cr, uid, context: 'linear',
+# 'method_time': lambda obj, cr, uid, context: 'interval',
+ 'method_progress_factor': lambda obj, cr, uid, context: 0.3,
+ 'method_delay': lambda obj, cr, uid, context: 5,
+ 'method_period': lambda obj, cr, uid, context: 12,
+ 'date': lambda obj, cr, uid, context: time.strftime('%Y-%m-%d'),
+ 'period_id': _get_next_period,
+ }
+
+ def unlink(self, cr, uid, ids, context={}):
+ for obj in self.browse(cr, uid, ids, context):
+ if obj.state != 'draft':
+ raise osv.except_osv(_('Error !'), _('You can dalete method only in Draft state !'))
+ return super(account_asset_method, self).unlink(cr, uid, ids, context)
+
+ def _check_method(self, cr, uid, ids):
+ obj_self = self.browse(cr, uid, ids[0])
+ if (12 % obj_self.method_period) == 0:
+ return True
+ return False
+
+ _constraints = [
+ (_check_method, _('Error ! Number of intervals per year must be 1, 2, 3, 4, 6 or 12.'), ['method_period']),
+ ]
+
+ def validate(self, cr, uid, ids, context={}):
+ self.write(cr, uid, ids, {'state':'open'}, context)
+ method = self.browse(cr, uid, ids[0], context)
+ self.pool.get('account.asset.asset').write(cr, uid, [method.asset_id.id], {'state':'normal'}, context)
+ method.asset_id.state = 'normal'
+ return True
+
+ def get_defaults(self, cr, uid, method_type_id, asset_category_id, context={}):
+ default_obj = self.pool.get('account.asset.method.defaults')
+ if not asset_category_id:
+ defaults_id = default_obj.search(cr,uid,[('method_type','=',method_type_id),('asset_category','=',False)])
+ else:
+ defaults_id = default_obj.search(cr,uid,[('method_type','=',method_type_id),('asset_category','=',asset_category_id)])
+ if not defaults_id:
+ asset_cat_obj = self.pool.get('account.asset.category')
+ parent_cat_id = asset_category_id
+ n = 100
+ while asset_cat_obj.browse(cr, uid, parent_cat_id,{}).parent_id and not defaults_id and n != 0:
+ parent_cat_id = asset_cat_obj.browse(cr, uid, parent_cat_id,{}).parent_id.id
+ defaults_id = default_obj.search(cr,uid,[('method_type','=',method_type_id),('asset_category','=',parent_cat_id)])
+ n = n - 1
+ return defaults_id and default_obj.browse(cr, uid, defaults_id[0],{}) or False
+
+ def onchange_take_defaults(self, cr, uid, ids, method_type_id, name, asset_code, asset_name, asset_category_id, context={}):
+ result = {}
+ if method_type_id:
+ defaults = self.get_defaults(cr, uid, method_type_id, asset_category_id, context)
+ if defaults:
+ result['account_expense_id'] = defaults.account_expense_id.id
+ result['account_actif_id'] = defaults.account_actif_id.id
+ result['account_asset_id'] = defaults.account_asset_id.id
+ result['account_residual_id'] = defaults.account_residual_id.id
+ result['journal_id'] = defaults.journal_id.id
+ result['journal_analytic_id'] = defaults.journal_analytic_id.id
+ result['account_analytic_id'] = defaults.account_analytic_id.id
+ result['method'] = defaults.method
+ result['method_progress_factor'] = defaults.method_progress_factor
+ result['method_time'] = defaults.method_time
+ result['method_delay'] = defaults.method_delay
+ result['method_period'] = defaults.method_period
+ as_code = asset_code or ""
+ as_name = asset_name or ""
+ type_code = self.pool.get('account.asset.method.type').browse(cr, uid, method_type_id,{}).code
+ result['name'] = as_name + " (" + as_code + ")" + ' - ' + type_code
+ return {'value': result}
+
+# Method is used to post Asset sale, revaluation, abandon and initial values (initial can create 4 lines move)
+ def _post_3lines_move(self, cr, uid, method, period, date, acc_third_id, base=0.0, expense=0.0, method_initial=False, reval=False, context={}):
+ move_id = self.pool.get('account.move').create(cr, uid, {
+ 'journal_id': method.journal_id.id,
+ 'period_id': period.id,
+ 'date': date,
+ 'name': '/', # GG fix, was 'name': method.name or method.asset_id.name,
+ 'ref': method.name
+ })
+ result = [move_id]
+ entries =[]
+ expense = expense and - expense or False
+ total = base
+ if method_initial:
+ residual = - total
+ elif reval:
+ residual = -(base + (expense or 0.0)) # expense is already negative
+ else:
+ residual = method.value_residual
+ if expense:
+ id = self.pool.get('account.move.line').create(cr, uid, {
+ 'name': method.name or method.asset_id.name,
+ 'move_id': move_id,
+ 'account_id': method.account_expense_id.id,
+ 'debit': expense > 0 and expense or 0.0,
+ 'credit': expense < 0 and -expense or 0.0,
+ 'ref': method.asset_id.code,
+ 'period_id': period.id,
+ 'journal_id': method.journal_id.id,
+ # 'partner_id': method.asset_id.partner_id.id,
+ 'date': date,
+ 'asset_method_id': method.id
+ })
+ entries.append((4,id,False),)
+ if method_initial: # Only for initial values
+ id_depr = self.pool.get('account.move.line').create(cr, uid, {
+ 'name': method.name or method.asset_id.name,
+ 'move_id': move_id,
+ 'account_id': method.account_actif_id.id,
+ 'debit': expense < 0 and -expense or 0.0,
+ 'credit': expense > 0 and expense or 0.0,
+ 'ref': method.asset_id.code,
+ 'period_id': period.id,
+ 'journal_id': method.journal_id.id,
+ # 'partner_id': method.asset_id.partner_id.id,
+ 'date': date,
+ 'asset_method_id': method.id
+ })
+ entries.append((4,id_depr,False),)
+
+ id2 = self.pool.get('account.move.line').create(cr, uid, {
+ 'name': method.name or method.asset_id.name,
+ 'move_id': move_id,
+ 'account_id': method.account_asset_id.id,
+ 'debit': total > 0 and total or 0.0,
+ 'credit': total < 0 and -total or 0.0,
+ 'ref': method.asset_id.code,
+ 'period_id': period.id,
+ 'journal_id': method.journal_id.id,
+# 'partner_id': method.asset_id.partner_id.id,
+ 'date': date,
+ 'asset_method_id': method.id
+ })
+ id3 = self.pool.get('account.move.line').create(cr, uid, {
+ 'name': method.name or method.asset_id.name,
+ 'move_id': move_id,
+ 'account_id': acc_third_id, #method.account_actif_id.id,
+ 'debit': residual > 0 and residual or 0.0,
+ 'credit': residual < 0 and -residual or 0.0,
+ 'ref': method.asset_id.code,
+ 'period_id': period.id,
+ 'journal_id': method.journal_id.id,
+# 'partner_id': method.asset_id.partner_id.id,
+ 'date': date,
+ 'asset_method_id': method.id
+ })
+ entries.append([(4, id2, False),(4, id3, False)])
+ self.pool.get('account.asset.method').write(cr, uid, [method.id], {
+ 'entry_ids': entries,
+ })
+# TODO automatic move posting according to journal setting.
+ return result
+
+
+ def _post_move(self, cr, uid, method, period, date, amount, context={}):
+ move_id = self.pool.get('account.move').create(cr, uid, {
+ 'journal_id': method.journal_id.id,
+ 'period_id': period.id,
+ 'date': date,
+ 'name': '/', # GG fix, was 'name': method.name or method.asset_id.name,
+ 'ref': method.name
+ })
+ result = [move_id]
+ id = self.pool.get('account.move.line').create(cr, uid, {
+ 'name': method.name or method.asset_id.name,
+ 'move_id': move_id,
+ 'account_id': method.account_expense_id.id,
+ 'credit': amount>0 and amount or 0.0,
+ 'debit': amount<0 and -amount or 0.0,
+ 'ref': method.asset_id.code,
+ 'period_id': period.id,
+ 'journal_id': method.journal_id.id,
+# 'partner_id': method.asset_id.partner_id.id,
+ 'date': date,
+ 'asset_method_id': method.id
+ })
+ id2 = self.pool.get('account.move.line').create(cr, uid, {
+ 'name': method.name or method.asset_id.name,
+ 'move_id': move_id,
+ 'account_id': method.account_actif_id.id,
+ 'debit': amount >0 and amount or 0.0,
+ 'credit': amount <0 and -amount or 0.0,
+ 'ref': method.asset_id.code,
+ 'period_id': period.id,
+ 'journal_id': method.journal_id.id,
+# 'partner_id': method.asset_id.partner_id.id,
+ 'date': date,
+ 'asset_method_id': method.id
+ })
+ self.pool.get('account.asset.method').write(cr, uid, [method.id], {
+ 'entry_ids': [(4, id2, False),(4,id,False)]
+ })
+# TODO automatic move posting according to journal setting.
+ return result
+
+ def _compute_move(self, cr, uid, method, period, date, usage, last_move_line, context={}):
+ result = []
+ gross = method.value_total - method.method_salvage
+ to_writeoff = method.value_residual - method.method_salvage
+ if usage: # Units of Production method
+ amount = gross * usage / method.life
+ else:
+ depr_entries_made = method.intervals_before
+ for line in method.entry_ids:
+ if (line.account_id == method.account_actif_id) and (line.period_id.date_start >= method.period_id.date_start):
+ depr_entries_made += 1 # count depreciation already made
+ intervals = method.method_delay - depr_entries_made
+ if intervals == 1:
+ amount = to_writeoff
+ else:
+ if method.method == 'linear':
+ amount = to_writeoff / intervals
+ elif method.method == 'progressive': # probably obsolete method
+ amount = to_writeoff * method.method_progress_factor
+ elif method.method == 'decbalance':
+ period_end = mx.DateTime.strptime(period.date_stop, '%Y-%m-%d')
+ if depr_entries_made == 0: # First year
+ amount = to_writeoff * method.method_progress_factor / method.method_period
+ elif (12 / period_end.month) == method.method_period: # First interval in calendar year
+ amount = to_writeoff * method.method_progress_factor / method.method_period
+ if amount < (gross / method.method_delay): # In declining-balance when amount less than amount for linear it switches to linear
+ amount = gross / method.method_delay
+ else: # In other cases repeat last entry
+ amount = last_move_line.debit
+ elif method.method == 'syd': # Sum of Year Digits method
+ years = method.method_delay / method.method_period
+ syd = years * (years + 1) / 2
+ year = years - math.floor(depr_entries_made / method.method_period)
+ if (depr_entries_made % method.method_period) == 0: # First interval in 12 month cycle
+ amount = gross * year / syd / method.method_period
+ else: # In other cases repeat last entry
+ amount = last_move_line.debit
+ if amount > to_writeoff:
+ amount = to_writeoff
+
+ result = self._post_move(cr, uid, method, period, date, amount, context)
+
+ if (to_writeoff == amount):
+ self.pool.get('account.asset.method')._finish_depreciation(cr, uid, method, context)
+ return result
+
+ def _compute_last_calculated(self, cr, uid, method, period, context={}):
+ cr.execute("SELECT m.id, m.period_id \
+ FROM account_move_line AS m \
+ WHERE m.asset_method_id = %s AND m.account_id = %s \
+ ORDER BY m.id DESC", (method.id, method.account_actif_id.id,))
+ pid = cr.fetchone()
+ if pid:
+ periods_obj = self.pool.get('account.period')
+ last_period = periods_obj.browse(cr, uid, pid[1], context)
+ if last_period.date_start < period.date_start:
+ ml_obj = self.pool.get('account.move.line')
+ last_move_line = ml_obj.browse(cr, uid, pid[0], context)
+ return last_move_line, True # last move line exists and do compute
+ else:
+ return False, False # last move line doesn't exists and don't compute
+ return False, True # last move line doesn't exists but do compute
+
+ def _compute_entries(self, cr, uid, method, period, date, context={}):
+ result = []
+ if (method.state=='open') and (period.date_start >= method.period_id.date_start):
+ usage = False
+ period_ok = False
+ last_move_line, compute_period = self._compute_last_calculated(cr, uid, method, period, context)
+ if compute_period: # it was no calculation for period yet
+ if method.method == 'uop':
+ usage_obj = self.pool.get('account.asset.method.usage')
+ usage_ids = usage_obj.search(cr, uid, [('period_id','=',period.id),('asset_method_id','=',method.id)])
+ usage = usage_ids and usage_obj.browse(cr, uid, usage_ids[0], context).usage or False
+ else:
+ period_ok = ((mx.DateTime.strptime(period.date_stop, '%Y-%m-%d').month % (12 / method.method_period)) == 0)
+ if (period_ok or usage):
+ result += self._compute_move(cr, uid, method, period, date, usage, last_move_line, context)
+ return result
+
+ def _check_date(self, cr, uid, period_id, date, context={}):
+ period_obj = self.pool.get('account.period')
+ period = period_obj.browse(cr, uid, period_id, context)
+ if (period.date_start > date) or (period.date_stop < date):
+ raise osv.except_osv(_('Error !'), _('Date must be in the period !'))
+ if period.state == 'done':
+ raise osv.except_osv(_('Error !'), _('Cannot post in closed period !'))
+ return period
+
+account_asset_method()
+
+class account_move_line(osv.osv):
+ _inherit = 'account.move.line'
+ _columns = {
+ 'asset_method_id': fields.many2one('account.asset.method', 'Asset Depr. Method', help = "Assign the asset as depreciation method if move line concerns the asset."),
+ }
+account_move_line()
+
+class account_asset_history(osv.osv):
+ _name = 'account.asset.history'
+ _description = 'Asset history'
+
+ _columns = {
+ 'name': fields.char('History name', size=64, select=1),
+ 'type': fields.selection([
+ ('change','Settings Change'),
+ ('purchase','Purchase'), # Crated after purchase for any method
+ ('refund','Purchase Refund'), # Crated after purchase refund for any method
+ ('reval', 'Revaluation'), # Crated after purchase for any method
+ ('initial', 'Initial Value'),
+ ('sale','Sale'),
+ ('closing','Closing'), # not used already
+ ('abandon','Abandonment'),
+ ('suppression','Depr. Suppression'),
+ ('resuming','Depr. Resuming'),
+ ('summary','Summary'), # Created after Summary on demand. Creates Summary of all methods (not implemented yet)
+ ('transfer','Transfer')], # Creted after changing of localisation
+ 'Entry Type', required=True, readonly=True),
+ 'user_id': fields.many2one('res.users', 'User', required=True),
+ 'date': fields.date('Date', required=True),
+ 'asset_id': fields.many2one('account.asset.asset', 'Asset', required=True),
+ 'asset_method_id': fields.many2one('account.asset.method', 'Method', ),
+ 'partner_id': fields.many2one('res.partner', 'Partner'),
+ 'invoice_id': fields.many2one('account.invoice', 'Invoice'),
+ 'change_total': fields.float('Total Change', digits=(16, int(config['price_accuracy']))),
+ 'change_expense': fields.float('Expense Change', digits=(16, int(config['price_accuracy']))),
+ 'method_end': fields.date('Ending Date'), # not used
+ 'note': fields.text('Note'),
+ }
+ _defaults = {
+ 'date': lambda *args: time.strftime('%Y-%m-%d'),
+ 'user_id': lambda self,cr, uid,ctx: uid,
+ }
+
+ def _history_line(self, cr, uid, type, method, name, total, expense, invoice, note, context={} ):
+ if type in ["purchase","initial"]:
+ note = _("Parameters set to:") + \
+ _('\n Number of Intervals: ')+ str(method.method_delay) + \
+ _('\n Intervals per Year: ')+ str(method.method_period) + \
+ _('\n Progressive Factor: ') + str(method.method_progress_factor) + \
+ _('\n Salvage Value: ') + str(method.method_salvage or 0.0)+ \
+ _('\n Life Quantity: ') + str(method.life or 0.0)+ \
+ _('\n Intervals Before: ') + str(method.intervals_before or 0.0)+ \
+ "\n" + str(note or "")
+
+ self.pool.get('account.asset.history').create(cr, uid, {
+ 'type': type,
+ 'asset_method_id': method.id,
+ 'asset_id' : method.asset_id.id,
+ 'name': name,
+ 'partner_id': invoice and invoice.partner_id.id,
+ 'invoice_id': invoice and invoice.id,
+ 'change_total': total,
+ 'change_expense': expense,
+# 'method_total': method.value_total,
+# 'method_residual': method.value_residual,
+# 'asset_total': method.asset_id.amount_total,
+# 'asset_residual': method.asset_id.amount_residual,
+ 'note': str(note or ""),
+ })
+
+
+account_asset_history()
+
+class account_asset_method_usage(osv.osv):
+ _name = 'account.asset.method.usage'
+ _description = 'Asset Method Usage'
+
+ def _get_period(self, cr, uid, context={}):
+ periods = self.pool.get('account.period').find(cr, uid)
+ if periods:
+ return periods[0]
+ else:
+ return False
+
+ _columns = {
+ 'asset_method_id': fields.many2one('account.asset.method', 'Method',required=True,),
+ 'period_id': fields.many2one('account.period', 'Period', required=True, help = "Select period which usage concerns."),
+ 'usage': fields.float('Usage', help = "Specify usage quantity in selected period."),
+ }
+
+ _defaults = {
+ 'period_id': _get_period,
+ }
+account_asset_method_usage()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/account_asset_invoice.py.OTHER'
--- account_asset/account_asset_invoice.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/account_asset_invoice.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,111 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from osv import osv, fields
+import time
+from tools.translate import _
+
+class account_invoice(osv.osv):
+ _inherit = 'account.invoice'
+ def line_get_convert(self, cr, uid, x, part, date, context={}):
+ res = super(account_invoice, self).line_get_convert(cr, uid, x, part, date, context)
+ res['asset_method_id'] = x.get('asset_method_id', False)
+ return res
+
+ def _refund_cleanup_lines(self, cr, uid, lines):
+ for line in lines:
+# raise osv.except_osv('Error !', 'method id %s %s %s %s'%line[0],line[1], line[2], line[5])
+ if 'asset_method_id' in line:
+# raise osv.except_osv('Error !', 'method id %s'%line[asset_method_id])
+ line['asset_method_id'] = line.get('asset_method_id', False) and line['asset_method_id'][0]
+ res = super(account_invoice, self)._refund_cleanup_lines(cr, uid, lines)
+ return res
+
+ def action_move_create(self, cr, uid, ids, *args):
+ res = super(account_invoice, self).action_move_create(cr, uid, ids, *args)
+ for inv in self.browse(cr, uid, ids):
+ if inv.type == "out_refund":
+ continue
+ for line in inv.invoice_line:
+ if not line.asset_method_id:
+ continue
+ if line.invoice_id.type == "in_invoice":
+ type = "purchase"
+ elif line.invoice_id.type == "in_refund":
+ type = "refund"
+ elif line.invoice_id.type == "out_invoice":
+ type = "sale"
+ method = line.asset_method_id
+ if type in ["purchase","refund"]:
+ if method.state=='draft':
+ self.pool.get('account.asset.method').validate(cr, uid, [method.id])
+ elif method.state in ["depreciated","closed"]:
+ raise osv.except_osv(_('Error !'), _('You cannot assign Product "%s" to Asset Method "%s". This method is already depreciated or is inactive (sold or abandoned).')%(line.product_id.name, method.name,))
+ if not line.asset_method_id.asset_id.date:
+ self.pool.get('account.asset.asset').write(cr, uid, [method.asset_id.id], {
+ 'date': line.invoice_id.date_invoice,
+ 'partner_id': line.invoice_id.partner_id.id,
+ })
+ base = (type == 'purchase') and line.price_subtotal or - line.price_subtotal
+ expense = 0.0
+ elif type == "sale":
+ if not method.account_residual_id:
+ raise osv.except_osv(_('Error !'), _('Product "%s" is assigned to Asset Method "%s". But this method has no Sale Residual Account to make asset moves.')%(line.product_id.name, method.name,))
+ elif line.asset_method_id.state in ["closed","draft"]:
+ raise osv.except_osv(_('Error !'), _('You cannot assign Product "%s" to Asset Method "%s". This method is in Draft state or is inactive (sold or abandoned).')%(line.product_id.name, method.name,))
+ direct = (method.account_asset_id.id == method.account_expense_id.id)
+ base = direct and - method.value_residual or -method.value_total
+ expense = not direct and -(method.value_total - method.value_residual) or False
+ method_obj = self.pool.get('account.asset.method')
+ method_obj._post_3lines_move(cr, uid, method= method, period=line.invoice_id.period_id, \
+ date = line.invoice_id.date_invoice, acc_third_id = method.account_residual_id.id, \
+ base = base, expense = expense,)
+ method_obj._close(cr, uid, method)
+ note = _("Product name: ") + line.product_id.name + ' ['+line.product_id.code+ \
+ _("]\nInvoice date: ") + line.invoice_id.date_invoice + \
+ _("\nPrice: ") + str(line.price_subtotal)
+ self.pool.get('account.asset.history')._history_line(cr, uid, type, method, line.product_id.name, base, expense, \
+ line.invoice_id, note, )
+ return res
+account_invoice()
+
+class account_invoice_line(osv.osv):
+ _inherit = 'account.invoice.line'
+ _columns = {
+ 'asset_method_id': fields.many2one('account.asset.method', 'Asset Method', help = "Select the asset depreciation method if you wish to assign the purchase invoice line to fixed asset. If method doesn't exists yet you will have to create it and probably the asset itself too. After selecting the asset method the invoice line account should change according to the asset method settings but please check it before creating the invoice."),
+ }
+
+ def move_line_get_item(self, cr, uid, line, context={}):
+ res = super(account_invoice_line, self).move_line_get_item(cr, uid, line, context)
+ res['asset_method_id'] = line.asset_method_id and line.asset_method_id.id or False
+ return res
+
+ def asset_method_id_change(self, cr, uid, ids, asset_method_id, type, context={}):
+ result = {}
+ if asset_method_id and type in ["in_invoice","in_refund"]:
+ result['account_id'] = self.pool.get('account.asset.method').browse(cr, uid, asset_method_id,{}).account_asset_id.id
+ return {'value': result}
+
+account_invoice_line()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/account_asset_invoice_view.xml.OTHER'
--- account_asset/account_asset_invoice_view.xml.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/account_asset_invoice_view.xml.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<openerp>
+<data>
+
+ <record model="ir.ui.view" id="view_account_invoice_asset_form">
+ <field name="name">account.invoice.line.form</field>
+ <field name="model">account.invoice.line</field>
+ <field name="inherit_id" ref="account.view_invoice_line_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <field name="price_subtotal" position="after">
+ <field name="asset_method_id" context="name=name" domain ="[('state','in', ['draft','open','suppressed','depreciated'])]" on_change="asset_method_id_change(asset_method_id, parent.type)"/>
+ </field>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_move_line_form">
+ <field name="name">account.move.line.form</field>
+ <field name="model">account.move.line</field>
+ <field name="inherit_id" ref="account.view_move_line_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <field name="analytic_account_id" position="after">
+ <field name="asset_method_id" context="name=name"/>
+ </field>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_move_form">
+ <field name="name">account.move.form</field>
+ <field name="model">account.move</field>
+ <field name="inherit_id" ref="account.view_move_form"/>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <field name="quantity" position="after">
+ <field name="asset_method_id" context="name=name"/>
+ </field>
+ </field>
+ </record>
+
+
+</data>
+</openerp>
=== added file 'account_asset/account_asset_view.xml.OTHER'
--- account_asset/account_asset_view.xml.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/account_asset_view.xml.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,535 @@
+<?xml version="1.0"?>
+<openerp>
+<data>
+
+ <menuitem id="menu_finance_config_Assets" name="Assets" parent="account.menu_finance_configuration" sequence="30"/>
+
+
+
+# Asset Category
+
+ <record model="ir.ui.view" id="view_account_asset_category_form">
+ <field name="name">account.asset.category.form</field>
+ <field name="model">account.asset.category</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Asset Category">
+ <field name="code" select="1"/>
+ <field name="parent_id"/>
+ <field name="name" select="1" colspan = "4"/>
+ <field name="note" colspan="4"/>
+ </form>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_category_tree">
+ <field name="name">account.asset.category.tree</field>
+ <field name="model">account.asset.category</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Asset Categories">
+ <field name="code"/>
+ <field name="name"/>
+ </tree>
+ </field>
+ </record>
+ <record model="ir.actions.act_window" id="action_account_asset_category_form">
+ <field name="name">Asset Categories</field>
+ <field name="res_model">account.asset.category</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ parent="menu_finance_config_Assets"
+ id="menu_action_account_asset_category_form"
+ action="action_account_asset_category_form" sequence="10"/>
+
+ <record id="asset_category_tree_view" model="ir.ui.view">
+ <field name="name">account.asset.category.tree</field>
+ <field name="model">account.asset.category</field>
+ <field name="type">tree</field>
+ <field name="field_parent">child_ids</field>
+ <field name="arch" type="xml">
+ <tree string="Asset Categories">
+ <field name="code"/>
+ <field name="name"/>
+ </tree>
+ </field>
+ </record>
+ <record id="asset_category_action" model="ir.actions.act_window">
+ <field name="name">Assets Category Structure</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">account.asset.category</field>
+ <field name="domain">[('parent_id','=',False)]</field>
+ <field name="view_type">tree</field>
+ <field name="view_id" ref="asset_category_tree_view"/>
+ </record>
+ <menuitem action="asset_category_action" id="menu_asset_category_action" parent="menu_finance_config_Assets" sequence="20"/>
+
+
+# Method Type
+
+ <record model="ir.ui.view" id="view_account_asset_method_type_form">
+ <field name="name">account.asset.method.type.form</field>
+ <field name="model">account.asset.method.type</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Asset Method Type">
+ <field name="code" select="1"/>
+ <field name="name" select="1"/>
+ <field name="note" colspan="4"/>
+ </form>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_method_type_tree">
+ <field name="name">account.asset.method.type.tree</field>
+ <field name="model">account.asset.method.type</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Asset Method Types">
+ <field name="code"/>
+ <field name="name"/>
+ </tree>
+ </field>
+ </record>
+
+ <record model="ir.actions.act_window" id="action_account_asset_method_type_form">
+ <field name="name">Asset Method Types</field>
+ <field name="res_model">account.asset.method.type</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ parent="menu_finance_config_Assets"
+ id="menu_action_account_asset_method_type_form"
+ action="action_account_asset_method_type_form" sequence="30"/>
+
+# Method Defaults
+
+ <record model="ir.ui.view" id="view_account_asset_method_defaults_form">
+ <field name="name">account.asset.method.defaults.form</field>
+ <field name="model">account.asset.method.defaults</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Asset Method Defaults">
+ <field name='method_type' select="1"/>
+ <field name='asset_category' select="1"/>
+ <group colspan = "2" col = "2" >
+ <field name='account_asset_id'/>
+ <field name="account_expense_id"/>
+ <field name="account_actif_id"/>
+ <field name="account_residual_id"/>
+ <field name="account_impairment_id"/>
+ <field name="account_abandon_id"/>
+ <field name="journal_id"/>
+ <field name="journal_analytic_id"/>
+ <field name="account_analytic_id"/>
+ </group>
+ <group colspan = "2" col = "2" >
+ <field name="method"/>
+ <field name="method_progress_factor"/>
+<!-- <field name="method_time"/> -->
+ <field name="method_delay"/>
+ <field name="method_period"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_method_defaults_tree">
+ <field name="name">account.asset.method.defaults.tree</field>
+ <field name="model">account.asset.method.defaults</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Asset Method Defaults">
+ <field name='method_type' select="1"/>
+ <field name='asset_category' select="1"/>
+ </tree>
+ </field>
+ </record>
+
+ <record model="ir.actions.act_window" id="action_account_asset_method_defaults_form">
+ <field name="name">Asset Method Defaults</field>
+ <field name="res_model">account.asset.method.defaults</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ parent="menu_finance_config_Assets"
+ id="menu_action_account_asset_method_defaults_form"
+ action="action_account_asset_method_defaults_form" sequence="40"/>
+
+# Asset History
+
+ <record model="ir.ui.view" id="view_account_asset_history_form">
+ <field name="name">account.asset.history.form</field>
+ <field name="model">account.asset.history</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Asset history">
+ <field name="date" select="1"/>
+ <field name="name" select="1"/>
+ <field name="type" select="1"/>
+ <field name="asset_method_id" select="1"/>
+ <field name="change_total"/>
+ <field name="change_expense"/>
+<!-- <field name="method_total"/>
+ <field name="method_residual"/>
+ <field name="asset_total"/>
+ <field name="asset_residual"/> -->
+ <field name="partner_id"/>
+ <field name="invoice_id"/>
+ <field name="user_id" select="1"/>
+<!-- <field name="method_delay"/>
+ <field name="method_period"/> -->
+<!-- <field name="method_end"/> -->
+ <separator string="Notes" colspan="4"/>
+ <field name="note" colspan="4" nolabel="1"/>
+ </form>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_history_tree">
+ <field name="name">account.asset.history.tree</field>
+ <field name="model">account.asset.history</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Asset History">
+ <field name="date" select="1"/>
+ <field name="type" select="1"/>
+ <field name="name" select="1"/>
+ <field name="asset_method_id" select="1"/>
+ <field name="change_total"/>
+ <field name="change_expense"/>
+<!-- <field name="method_total"/>
+ <field name="method_residual"/>
+ <field name="asset_total"/>
+ <field name="asset_residual"/> -->
+ <field name="invoice_id"/>
+ <field name="partner_id" select="1"/>
+ <field name="user_id" select="1"/>
+<!-- <field name="method_delay"/>
+ <field name="method_period"/>
+ <field name="method_end"/> -->
+ </tree>
+ </field>
+ </record>
+
+# Method Usage
+
+ <record model="ir.ui.view" id="view_account_asset_method_usage_form">
+ <field name="name">account.asset.method.usage.form</field>
+ <field name="model">account.asset.method.usage</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Method Usage">
+ <field name="period_id" select="1"/>
+ <field name="usage"/>
+ </form>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_method_usage_tree">
+ <field name="name">account.asset.method.usage.tree</field>
+ <field name="model">account.asset.method.usage</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Method Usage">
+ <field name="period_id" select="1"/>
+ <field name="usage"/>
+ </tree>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_method_usage_entryform">
+ <field name="name">account.asset.method.usage.entryform</field>
+ <field name="model">account.asset.method.usage</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <tree string="Method Usage">
+ <field name="period_id" select="1" readonly="1"/>
+ <field name="asset_method_id" readonly="1"/>
+ <field name="usage"/>
+ </tree>
+ </field>
+ </record>
+
+ <record model="ir.ui.view" id="view_account_asset_method_usage_entrytree">
+ <field name="name">account.asset.method.usage.entrytree</field>
+ <field name="model">account.asset.method.usage</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Method usage" editable = "top">
+ <field name="period_id" select="1" readonly="1"/>
+ <field name="asset_method_id" readonly="1"/>
+ <field name="usage" />
+ </tree>
+ </field>
+ </record>
+
+
+ <record model="ir.actions.act_window" id="action_account_asset_method_usage_periodical_entry">
+ <field name="name">Method Usage</field>
+ <field name="res_model">account.asset.method.usage</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree</field>
+<!-- <field name="domain">[('state','=','normal')]</field> -->
+ <field name="view_id" ref="view_account_asset_method_usage_entrytree"/>
+ </record>
+
+ <menuitem id="menu_asset_method_usage" parent="menu_finance_periodical_assets" action="action_account_asset_method_usage_periodical_entry"/>
+
+
+# Asset method
+
+ <record model="ir.ui.view" id="view_account_asset_method_tree">
+ <field name="name">account.asset.method.tree</field>
+ <field name="model">account.asset.method</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Assets Methods">
+<!-- <field name="asset_id"/> -->
+ <field name="name"/>
+ <field name="method_type"/>
+ <field name="value_total"/>
+ <field name="value_residual"/>
+ <field name="state"/>
+ </tree>
+ </field>
+ </record>
+
+
+
+# Asset
+
+ <record model="ir.ui.view" id="view_account_asset_asset_form">
+ <field name="name">account.asset.asset.form</field>
+ <field name="model">account.asset.asset</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Asset">
+ <notebook colspan="4">
+ <page string="General info">
+ <group colspan = "4" col = "8" >
+ <field name="name" select="1" colspan = "4"/>
+ <field name="code" select="1"/>
+ <field name="category_id" select="1"/>
+ </group>
+ <field name="method_ids" colspan="4" nolabel="1" mode="form,tree">
+ <form string="Depreciation Methods">
+ <group colspan = "4" col = "8" >
+ <field name="method_type" select="1" on_change = "onchange_take_defaults(method_type, name, parent.code, parent.name, parent.category_id )"/>
+ <field name="name" select="1" colspan = "4"/>
+ <field name="state" readonly="1" />
+ </group>
+ <!-- <separator string="Methods" colspan="4"/> -->
+ <notebook colspan="4">
+ <page string="Depreciation Board">
+ <group colspan = "1" col="2">
+<!-- <separator string="Depreciation duration" colspan ="2"/> -->
+ <field name="period_id"/>
+ <field name="method"/>
+ <field name="method_delay"/>
+ <field name="method_period"/>
+ <field name="method_progress_factor" attrs="{'readonly':[('method','in',('linear','syd','uop'))]}"/>
+<!-- <field name="method_time"/> -->
+ <field name="method_salvage"/>
+ <field name="life" attrs="{'readonly':[('method','!=','uop')]}"/>
+ <!-- <field name="method_end"/> -->
+ <field name="intervals_before"/>
+ </group>
+ <group colspan = "1" col="2">
+ <field name="value_total"/>
+ <field name="value_residual"/>
+ <button name="%(wizard_asset_initial)d" states="draft" string="Initial Values" type="action" colspan="2"/>
+ <button name="%(wizard_asset_reval)d" states="open,suppressed" string="Revalue Method" type="action" colspan="2"/>
+ <button name="%(wizard_asset_abandon)d" states="open,suppressed,depreciated" string="Abandon Method" type="action" colspan="2"/>
+
+ <button name="%(wizard_asset_modify)d" states="open,suppressed" string="Change Parameters" type="action" colspan="2"/>
+ <button name="%(wizard_asset_close)d" states="open" string="Suppress Method" type="action" colspan="2"/>
+ <button name="%(wizard_asset_resume)d" states="suppressed" string="Resume Method" type="action" colspan="2"/>
+<!-- <button name="validate" states="draft" string="Confirm Method" type="object"/> -->
+ </group>
+ </page>
+ <page string="Accounts">
+ <group colspan = "2" col="2">
+<!-- <separator string="Accounts information" colspan ="2"/> -->
+ <field name="account_asset_id"/>
+ <field name="account_expense_id"/>
+ <field name="account_actif_id"/>
+ <field name="account_residual_id"/>
+ <field name="journal_id"/>
+ </group>
+ <group colspan = "2" col="2">
+ <field name="journal_analytic_id"/>
+ <field name="account_analytic_id"/>
+ <!-- <field name="type"/> Not used -->
+ </group>
+ </page>
+ <page string="Entries">
+ <field name="entry_ids" colspan="4" nolabel="1"/>
+ </page>
+ <page string="Usage" attrs="{'readonly':[('method','!=','uop')]}">
+ <field name="usage_ids" colspan="4" nolabel="1"/>
+ <button name="%(wizard_asset_usage_createlines)d" string="Create Usage Lines" type="action" colspan ="1"/>
+ </page>
+
+ </notebook>
+ </form>
+ </field>
+ <group colspan="4">
+ <field name="state" readonly="1" colspan = "1"/>
+ <button name="clear" states="normal" string="Clear Draft and Close" type="object"/>
+ </group>
+
+ </page>
+ <page string="Other Information">
+ <group colspan = "1" col="2">
+ <field name="date" select="2"/>
+ <field name="sequence"/>
+ <field name="partner_id" select="2"/>
+ </group>
+ <group colspan = "1" col="2">
+ <field name="amount_total"/>
+ <field name="amount_residual"/>
+ <field name="localisation" select="2"/>
+ <button name="%(wizard_asset_localisation)d" states="normal" string="Change Localisation" type="action" colspan = "2" />
+ </group>
+ <separator string="Asset Description" colspan="4"/>
+ <field name="note" colspan="4" nolabel="1"/>
+ </page>
+ <page string="Asset History">
+ <field name="history_ids" colspan="4" nolabel="1" readonly="1"/>
+ </page>
+ </notebook>
+ </form>
+ </field>
+ </record>
+
+
+<!--
+ <record model="ir.ui.view" id="view_account_asset_board_form">
+ <field name="name">account.asset.board.form</field>
+ <field name="model">account.asset.board</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Asset board">
+ <field name="name" select="1"/>
+ <field name="asset_id" select="1"/>
+ <field name="value_gross" select="2"/>
+ <field name="value_asset"/>
+ <field name="value_asset_cumul"/>
+ <field name="value_net"/>
+ </form>
+ </field>
+ </record>
+ <record model="ir.ui.view" id="view_account_asset_board_tree">
+ <field name="name">account.asset.board.tree</field>
+ <field name="model">account.asset.board</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Asset board">
+ <field name="name"/>
+ <field name="asset_id"/>
+ <field name="value_gross"/>
+ <field name="value_asset"/>
+ <field name="value_asset_cumul"/>
+ <field name="value_net"/>
+ </tree>
+ </field>
+ </record>
+-->
+
+ <record model="ir.actions.act_window" id="action_account_asset_asset_form">
+ <field name="name">Assets</field>
+ <field name="res_model">account.asset.asset</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ parent="menu_finance_config_Assets"
+ id="menu_action_account_asset_asset_form"
+ action="action_account_asset_asset_form" sequence="50"/>
+
+ <menuitem id="menu_finance_Assets" name="Assets" parent="account.menu_finance"/>
+
+ <record model="ir.ui.view" id="view_account_asset_asset_tree">
+ <field name="name">account.asset.asset.tree</field>
+ <field name="model">account.asset.asset</field>
+ <field name="type">tree</field>
+<!-- <field name="field_parent">child_ids</field> -->
+ <field name="arch" type="xml">
+ <tree string="Assets">
+<!-- <field name="sequence" select="1"/> -->
+ <field name="category_id" select="1"/>
+ <field name="date" select="1"/>
+ <field name="name" select="1"/>
+ <field name="code" select="1"/>
+ <field name="amount_total"/>
+ <field name="amount_residual"/>
+<!-- <field name="value_total"/> -->
+ <field name="state" select="1"/>
+ </tree>
+ </field>
+ </record>
+<!--
+ <record model="ir.actions.act_window" id="action_account_asset_asset_tree">
+ <field name="name">Asset Hierarchy</field>
+ <field name="res_model">account.asset.asset</field>
+ <field name="view_type">tree</field>
+ <field name="domain">[('parent_id','=',False)]</field>
+ <field name="view_id" ref="view_account_asset_asset_tree"/>
+ </record>
+
+ <menuitem
+ parent="menu_finance_Assets"
+ id="menu_action_account_asset_asset_tree"
+ action="action_account_asset_asset_tree"/>
+-->
+<!--
+ <record model="ir.actions.act_window" id="action_account_asset_asset_list">
+ <field name="name">Assets</field>
+ <field name="res_model">account.asset.asset</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">form,tree</field>
+ </record>
+ <menuitem
+ parent="menu_finance_Assets"
+ id="menu_action_account_asset_asset_list"
+ action="action_account_asset_asset_list"/>
+-->
+
+ <record model="ir.actions.act_window" id="action_account_asset_asset_list_draft">
+ <field name="name">Draft Assets</field>
+ <field name="res_model">account.asset.asset</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="domain">[('state','=','draft')]</field>
+ </record>
+ <menuitem
+ parent="menu_finance_Assets"
+ id="menu_action_account_asset_asset_list_draft"
+ action="action_account_asset_asset_list_draft"/>
+
+ <record model="ir.actions.act_window" id="action_account_asset_asset_list_normal">
+ <field name="name">Open Assets</field>
+ <field name="res_model">account.asset.asset</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="domain">[('state','=','normal')]</field>
+ </record>
+ <menuitem
+ parent="menu_finance_Assets"
+ id="menu_action_account_asset_asset_list_normal"
+ action="action_account_asset_asset_list_normal"/>
+
+
+
+
+</data>
+</openerp>
=== added file 'account_asset/account_asset_wizard.xml.OTHER'
--- account_asset/account_asset_wizard.xml.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/account_asset_wizard.xml.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<openerp>
+ <data>
+
+ <menuitem id="menu_finance_periodical_assets" name="Assets Calculation" parent="account.menu_finance_periodical_processing"/>
+
+ <wizard
+ string="Compute assets"
+ model="account.asset.method"
+ name="account.asset.compute"
+ keyword="tree_but_action"
+ id="wizard_asset_compute"/>
+ <menuitem
+ parent="menu_finance_periodical_assets"
+ action="wizard_asset_compute"
+ type="wizard"
+ id="menu_wizard_asset_compute"/>
+
+
+ <wizard
+ string="Modify asset"
+ model="account.asset.method"
+ name="account.asset.modify"
+ id="wizard_asset_modify"
+ menu="False"/>
+ <wizard
+ string="Close asset"
+ model="account.asset.method"
+ name="account.asset.close"
+ id="wizard_asset_close"
+ menu="False"/>
+ <wizard
+ string="Resume asset"
+ model="account.asset.method"
+ name="account.asset.resume"
+ id="wizard_asset_resume"
+ menu="False"/>
+ <wizard
+ string="Change Localisation"
+ model="account.asset.asset"
+ name="account.asset.localisation"
+ id="wizard_asset_localisation"
+ menu="False"/>
+ <wizard
+ string="Revaluate"
+ model="account.asset.method"
+ name="account.asset.reval"
+ id="wizard_asset_reval"
+ menu="False"/>
+ <wizard
+ string="Abandon"
+ model="account.asset.method"
+ name="account.asset.abandon"
+ id="wizard_asset_abandon"
+ menu="False"/>
+ <wizard
+ string="Initial"
+ model="account.asset.method"
+ name="account.asset.initial"
+ id="wizard_asset_initial"
+ menu="False"/>
+ <wizard
+ string="Usage Lines"
+ model="account.asset.method"
+ name="account.asset.usage.createlines"
+ id="wizard_asset_usage_createlines"
+ menu="False"/>
+
+ </data>
+</openerp>
=== added directory 'account_asset/i18n'
=== added file 'account_asset/i18n/account_asset.pot'
--- account_asset/i18n/account_asset.pot 1970-01-01 00:00:00 +0000
+++ account_asset/i18n/account_asset.pot 2011-07-07 11:22:45 +0000
@@ -0,0 +1,1381 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_asset
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.9\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-05-27 15:57:40+0000\n"
+"PO-Revision-Date: 2010-05-27 15:57:40+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
+msgid "Open Assets"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,interval:0
+msgid "How many usage entries are you going to make per year?"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_residual:0
+msgid "Residual Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_expense_id:0
+#: field:account.asset.method.defaults,account_expense_id:0
+msgid "Depr. Expense Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "You cannot assign Product \"%s\" to Asset Method \"%s\". This method is in Draft state or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Date must be in the period !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.defaults:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_defaults_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_defaults_form
+msgid "Asset Method Defaults"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,name:0
+#: field:account.asset.history,asset_id:0
+#: field:account.asset.method,asset_id:0
+#: model:ir.model,name:account_asset.model_account_asset_asset
+msgid "Asset"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.method,usage_ids:0
+#: field:account.asset.method.usage,usage:0
+msgid "Usage"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_analytic_id:0
+#: help:account.asset.method,journal_analytic_id:0
+msgid "Not implemented yet."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_abandon_id:0
+msgid "Abandonment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "\n Intervals per Year: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_analytic_id:0
+#: field:account.asset.method.defaults,journal_analytic_id:0
+msgid "Analytic Journal"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.history:0
+#: model:ir.model,name:account_asset.model_account_asset_history
+msgid "Asset history"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,expense_value:0
+msgid "Increasing Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,whole_asset:0
+msgid "Abandon all methods of this asset."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,life:0
+msgid "Quantity of production which make the asset method used up. Used only in Units of Production computation method and cannot be zero in this case."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.category:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_category_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_category_form
+msgid "Asset Categories"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_field:account.asset.compute,asset_compute,move_ids:0
+#: field:account.asset.method,entry_ids:0
+msgid "Entries"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,value:0
+msgid "Initial Base Value of method."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+msgid "Generated entries"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+#: wizard_view:account.asset.compute,init:0
+msgid "Asset Computation"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify
+msgid "Modify asset"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,asset_category:0
+msgid "Select the asset category for this set of defaults. If no selection defined defaults will concern to all methods of selected type."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_initial.py:0
+#, python-format
+msgid "Inital values for asset: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,asset_open:0
+msgid "Open entries"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_finance_Assets
+#: model:ir.ui.menu,name:account_asset.menu_finance_config_Assets
+msgid "Assets"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_actif_id:0
+#: field:account.asset.method.defaults,account_actif_id:0
+msgid "Depreciation Account"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_type:0
+msgid "Select method type for this set of defaults."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_draft
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_draft
+msgid "Draft Assets"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.usage.createlines,init:0
+msgid "Creation of Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: wizard_field:account.asset.abandon,init,note:0
+#: wizard_view:account.asset.close,init:0
+#: wizard_field:account.asset.close,init,note:0
+#: view:account.asset.history:0
+#: wizard_view:account.asset.initial,init:0
+#: wizard_field:account.asset.initial,init,note:0
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_field:account.asset.localisation,init,note:0
+#: wizard_view:account.asset.modify,init:0
+#: wizard_field:account.asset.modify,init,note:0
+#: wizard_view:account.asset.resume,init:0
+#: wizard_field:account.asset.resume,init,note:0
+#: wizard_view:account.asset.reval,init:0
+#: wizard_field:account.asset.reval,init,note:0
+msgid "Notes"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "\n Number of Intervals: "
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Clear Draft and Close"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,date:0
+#: help:account.asset.compute,init,date:0
+#: help:account.asset.reval,init,date:0
+msgid "Efective date for accounting move."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Parameters set to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,asset_suppress:0
+msgid "Suppress Depreciation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Units of Production"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Other Information"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,asset_abandon:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_abandon
+msgid "Abandon"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Closing"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Warning !"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_defaults
+msgid "Asset Method Delfaults"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,method_progress_factor:0
+msgid "Progressive factor"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,method_end:0
+#: field:account.asset.method,method_end:0
+msgid "Ending Date"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! You can not create recursive categories."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,value:0
+msgid "Increasing Base Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_analytic_id:0
+#: field:account.asset.method.defaults,account_analytic_id:0
+msgid "Analytic Account"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.usage.createlines,init,asset_reval:0
+msgid "Create Lines"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Accounts"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Methods"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_residual_id:0
+msgid "Select account used for residual when asset is sold. You can change the account before sale operation."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,life:0
+#: wizard_field:account.asset.modify,init,life:0
+msgid "Life Quantity"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,partner_id:0
+#: field:account.asset.history,partner_id:0
+msgid "Partner"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_progress_factor:0
+msgid "Specify the factor of progression in depreciation. It is used in Declining-Balance method. When linear depreciation is 20% per year, and you want apply Double-Declining Balance you should choose Declining-Balance method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Transfer"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "\n Progressive Factor: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.move.line,asset_method_id:0
+msgid "Assign the asset as depreciation method if move line concerns the asset."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_resume
+msgid "Resume asset"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,acc_abandon:0
+msgid "Abandon Account"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_usage_periodical_entry
+#: model:ir.ui.menu,name:account_asset.menu_asset_method_usage
+msgid "Method Usage"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_impairment_id:0
+msgid "Select account used for impairment amount. Used in revaluation."
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.modify,init,asset_modify:0
+msgid "Modify Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method:0
+#: field:account.asset.method.defaults,method:0
+msgid "Computation Method"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_salvage:0
+msgid "Value planned to be residual after full depreciation process"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,acc_impairment:0
+msgid "Asset Counter Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "\n Life Quantity: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_reval.py:0
+#, python-format
+msgid "Asset revalued because: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.usage,period_id:0
+msgid "Select period which usage concerns."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,period_id:0
+#: help:account.asset.compute,init,period_id:0
+#: help:account.asset.reval,init,period_id:0
+msgid "Calculated period and period for posting."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Choose fiscal year for entries."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_residual_id:0
+msgid "Select account used for sale residual."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+msgid "Method usage"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Suppression"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,acc_abandon:0
+msgid "Account for asset loss amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_salvage:0
+#: wizard_field:account.asset.modify,init,method_salvage:0
+msgid "Salvage Value"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_usage_createlines
+msgid "Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,date:0
+msgid "Efective date for posting."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_close.py:0
+#, python-format
+msgid "Suppressed because: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,invoice_id:0
+msgid "Invoice"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.usage,usage:0
+msgid "Specify usage quantity in selected period."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_delay:0
+#: field:account.asset.method.defaults,method_delay:0
+#: wizard_field:account.asset.modify,init,method_delay:0
+msgid "Number of Intervals"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,expense_value:0
+msgid "Initial Value of method expenses. There are sum of depreciations made before this system asset management."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+msgid "Method Suppression"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Asset Description"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,init,asset_compute:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute
+#: model:ir.ui.menu,name:account_asset.menu_wizard_asset_compute
+msgid "Compute assets"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_delay:0
+msgid "How many intervals this asset is to be calculated in its life. If asset was calculated in other system before specify Intervals Before too."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,value:0
+msgid "Value to be added to method base value. In Direct method it is increasing of book value. In Indirect method it is increasing of cost basis. Negative value means decreasing."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change Parameters"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,type:0
+msgid "Entry Type"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method:0
+msgid "Assets Methods"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_asset_id:0
+#: help:account.asset.method.defaults,account_asset_id:0
+msgid "Select account used for cost basis of asset. It will be applied into invoice line when you select this asset in invoice line."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_localisation.py:0
+#, python-format
+msgid "Asset transfered because: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Settings Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,parent_id:0
+msgid "Parent Category"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,name:0
+msgid "History name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.reval,init,asset_reval:0
+msgid "Revalue"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "This wizard works only when asset have just Draft and Closed methods !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Create Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,value:0
+msgid "Base Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,intervals_before:0
+#: field:account.asset.method,intervals_before:0
+msgid "Intervals Before"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,category_id:0
+msgid "If empty all categories assets will be calculated. If you use hierarchical categories all children of selected category be calculated."
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.resume,init,asset_resume:0
+msgid "Resume Depreciation"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Suppress Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Board"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.asset_category_action
+#: model:ir.ui.menu,name:account_asset.menu_asset_category_action
+msgid "Assets Category Structure"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,localisation:0
+msgid "Set this field before asset coonfirming. Later on you will have to use Change Localisation button."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_reval
+msgid "Revaluate"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_progress_factor:0
+msgid "Specify the factor of progression in depreciation. Used in Declining-Balance and Progressive method only. When linear depreciation is 20% per year, and you want apply Double-Declining Balance you should choose Declining-Balance method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,name:0
+msgid "Asset Method Type Name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation entry"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,acc_impairment:0
+msgid "Account for impairment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete assets only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,expense_value:0
+msgid "Value to be added to asset expenses. Used only in indirect method. In direct method ignored."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_actif_id:0
+msgid "Select account used for depreciation amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,date:0
+msgid "Date Created"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "\n Intervals Before: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Sum of Years Digits"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_resume.py:0
+#, python-format
+msgid "Resuming because: "
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_category
+msgid "Asset category"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "\nPrice: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "You cannot assign Product \"%s\" to Asset Method \"%s\". This method is already depreciated or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_initial
+msgid "Initial"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial entry"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_residual:0
+msgid "Residual"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,note:0
+#: field:account.asset.category,note:0
+#: field:account.asset.history,note:0
+#: field:account.asset.method.type,note:0
+msgid "Note"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Draft"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,state:0
+msgid "Open - Ready for calculation.\n"
+"Suppressed - Not calculated.\n"
+"Depreciated - Depreciation finished but method exists (can be sold or abandoned).\n"
+"Closed - Asset method doesn't exist (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Closed"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,state:0
+msgid "Normal - Asset contains active methods (opened, suppressed or depreciated).\n"
+"Closed - Asset doesn't exist. All methods are sold or abandoned."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,asset_method_id:0
+#: field:account.asset.method.usage,asset_method_id:0
+msgid "Method"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase Refund"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "Normal"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Initial Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,state:0
+msgid "Asset State"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.localisation,init,localisation:0
+msgid "Enter New localisation"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,localisation:0
+msgid "Localisation"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,whole_asset:0
+#: wizard_field:account.asset.close,init,whole_asset:0
+#: wizard_field:account.asset.resume,init,whole_asset:0
+msgid "All Methods"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_modify.py:0
+#, python-format
+msgid "Modification of "
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Resume Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,active:0
+msgid "Active"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,child_ids:0
+msgid "Children Categories"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product \"%s\" is assigned to Asset Method \"%s\". But this method has no Sale Residual Account to make asset moves."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,user_id:0
+msgid "User"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "year %s !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: view:account.asset.history:0
+msgid "Asset History"
+msgstr ""
+
+#. module: account_asset
+#: field:account.invoice.line,asset_method_id:0
+msgid "Asset Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial Values"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,method_ids:0
+msgid "Asset Method Name"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.module.module,description:account_asset.module_meta_information
+msgid "Financial and accounting asset management.\n"
+" Allows to define\n"
+" * Asset category. \n"
+" * Assets.\n"
+" *Asset usage period and property.\n"
+" "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Cannot post in closed period !"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Summary"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_asset_id:0
+#: field:account.asset.method.defaults,account_asset_id:0
+msgid "Asset Account"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Wizard for starting values of asset coming from production or investment. Use it also when you continue asset management from another system."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_residual_id:0
+#: field:account.asset.method.defaults,account_residual_id:0
+msgid "Sale Residual Account"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_close
+msgid "Close asset"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,period_id:0
+msgid "Select period indicating first interval."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method Modyfying"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,history_ids:0
+msgid "History"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,partner_id:0
+msgid "If Date field is empty this field will be filled by first purchase."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_usage
+msgid "Asset Method Usage"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Declining-Balance"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Suppressed"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: selection:account.asset.history,type:0
+msgid "Abandonment"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,period_id:0
+#: wizard_field:account.asset.compute,init,period_id:0
+#: wizard_field:account.asset.initial,init,period_id:0
+#: field:account.asset.method,period_id:0
+#: field:account.asset.method.usage,period_id:0
+#: wizard_field:account.asset.reval,init,period_id:0
+msgid "Period"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_actif_id:0
+msgid "Select account used for depreciation amounts."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_progress_factor:0
+#: wizard_field:account.asset.modify,init,method_progress_factor:0
+msgid "Progressive Factor"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method parameters to modify"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,period_id:0
+msgid "Period for posting. Consider which period to use for this posting. It should be probably some additional period before current depreciation start."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,value:0
+msgid "Value of Unit of Production. This value has to be changed before asset calculation but could be some indication for entering later on."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,category_id:0
+#: view:account.asset.category:0
+#: field:account.asset.category,name:0
+#: wizard_field:account.asset.compute,init,category_id:0
+#: field:account.asset.method.defaults,asset_category:0
+msgid "Asset Category"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Changing of method parameters to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,end:0
+#: wizard_button:account.asset.close,init,end:0
+#: wizard_button:account.asset.compute,init,end:0
+#: wizard_button:account.asset.initial,init,end:0
+#: wizard_button:account.asset.localisation,init,end:0
+#: wizard_button:account.asset.modify,init,end:0
+#: wizard_button:account.asset.resume,init,end:0
+#: wizard_button:account.asset.reval,init,end:0
+#: wizard_button:account.asset.usage.createlines,init,end:0
+msgid "Cancel"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,end:0
+msgid "Close"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_button:account.asset.localisation,init,asset_modify:0
+msgid "Set New Localisation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Open"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,code:0
+msgid "Asset Code"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,intervals_before:0
+msgid "Number of intervals calculated already before asset is managed in this system."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+msgid "Localisation Changing"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Resuming"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.model:0
+msgid "The Object name must start with x_ and not contain any special character !"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.module.module,shortdesc:account_asset.module_meta_information
+msgid "Asset management"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_abandon_id:0
+msgid "Select account used for abandonment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.resume,init:0
+msgid "Method Resuming"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_abandon.py:0
+#, python-format
+msgid "Asset abandoned because: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "\n Salvage Value: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+#: wizard_view:account.asset.resume,init:0
+msgid "General information"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "]\nInvoice date: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.invoice.line,asset_method_id:0
+msgid "Select the asset depreciation method if you wish to assign the purchase invoice line to fixed asset. If method doesn't exists yet you will have to create it and probably the asset itself too. After selecting the asset method the invoice line account should change according to the asset method settings but please check it before creating the invoice."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,method_type_id:0
+msgid "If empty all method types will be calculated for assets."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.type:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_type_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_type_form
+msgid "Asset Method Types"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Progressive"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,sequence:0
+msgid "Seq."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,state:0
+msgid "Method State"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,name:0
+msgid "Method name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,name:0
+#: wizard_field:account.asset.close,init,name:0
+#: wizard_field:account.asset.initial,init,name:0
+#: wizard_field:account.asset.localisation,init,name:0
+#: wizard_field:account.asset.modify,init,name:0
+#: wizard_field:account.asset.resume,init,name:0
+#: wizard_field:account.asset.reval,init,name:0
+msgid "Description"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method
+msgid "Asset method"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete method only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_id:0
+#: field:account.asset.method.defaults,journal_id:0
+msgid "Journal"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,code:0
+msgid "Asset Category Code"
+msgstr ""
+
+#. module: account_asset
+#: field:account.move.line,asset_method_id:0
+msgid "Asset Depr. Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_period:0
+#: field:account.asset.method.defaults,method_period:0
+#: wizard_field:account.asset.modify,init,method_period:0
+msgid "Intervals per Year"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_type:0
+#: field:account.asset.method.defaults,method_type:0
+msgid "Method Type"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_compute.py:0
+#, python-format
+msgid "Created moves"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,interval:0
+msgid "Entries per Year"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Revalue Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,code:0
+msgid "Asset Method Type Code"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,acc_impairment:0
+msgid "Counter account for base value."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_total:0
+msgid "Total Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_total:0
+msgid "Gross Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,expense_value:0
+msgid "Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "But for purchased assets use invoice line assignment."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! Number of intervals per year must be 1, 2, 3, 4, 6 or 12."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Fiscal Year"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Depreciated"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: view:account.asset.asset:0
+msgid "Abandon Method"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,intervals_before:0
+msgid "Number of intervals calculated before asset is managed in this system. Used with Initial Values wizard. If you start asset in this system keep zero."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Asset transfered to: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#: code:addons/account_asset/account_asset_invoice.py:0
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "Error !"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.initial,init,asset_reval:0
+msgid "Set Initials"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_expense:0
+msgid "Expense Change"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "View"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "General info"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.ui.menu,name:account_asset.menu_finance_periodical_assets
+msgid "Assets Calculation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Straight-Line"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_localisation
+msgid "Change Localisation"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_expense_id:0
+#: help:account.asset.method.defaults,account_expense_id:0
+msgid "Select account used for depreciation expense (write-off). If you use direct method of depreciation this account should be the same as Asset Account."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,date:0
+#: field:account.asset.asset,date:0
+#: wizard_field:account.asset.compute,init,date:0
+#: field:account.asset.history,date:0
+#: wizard_field:account.asset.initial,init,date:0
+#: wizard_field:account.asset.reval,init,date:0
+msgid "Date"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_impairment_id:0
+#: wizard_field:account.asset.reval,init,acc_impairment:0
+msgid "Impairment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product name: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.compute,init,method_type_id:0
+#: view:account.asset.method.type:0
+#: model:ir.model,name:account_asset.model_account_asset_method_type
+msgid "Asset Method Type"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,date:0
+msgid "Set this date or leave it empty to allow system set the first purchase date."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_total:0
+msgid "Total"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,value:0
+msgid "Entry Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_period:0
+msgid "Specify the number of depreciations to be made in year. This number cannot be less then number of periods in year."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation"
+msgstr ""
+
=== added file 'account_asset/i18n/ca_ES.po'
--- account_asset/i18n/ca_ES.po 1970-01-01 00:00:00 +0000
+++ account_asset/i18n/ca_ES.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,537 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_asset
+#
+# Albert Cervera i Areny <albert@xxxxxxxxxxx>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-09-23 15:17:03+0000\n"
+"PO-Revision-Date: 2009-09-23 17:23+0200\n"
+"Last-Translator: Albert Cervera i Areny <albert@xxxxxxxxxxx>\n"
+"Language-Team: Catalan <kde-i18n-ca@xxxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Lokalize 1.0\n"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
+msgid "Open Assets"
+msgstr "Actius oberts"
+
+#. module: account_asset
+#: field:account.asset.property,method_end:0
+#: field:account.asset.property.history,method_end:0
+msgid "Ending date"
+msgstr "Data final"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation board"
+msgstr "Taula d'amortització"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,name:0
+#: field:account.asset.board,asset_id:0
+#: field:account.asset.property,asset_id:0
+#: field:account.invoice.line,asset_id:0
+#: field:account.move.line,asset_id:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
+#: model:ir.model,name:account_asset.model_account_asset_asset
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
+msgid "Asset"
+msgstr "Actiu"
+
+#. module: account_asset
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Nom de model invà lid en la definició de l'acció."
+
+#. module: account_asset
+#: selection:account.asset.property,method:0
+msgid "Linear"
+msgstr "Lineal"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change duration"
+msgstr "Canvi de durada"
+
+#. module: account_asset
+#: field:account.asset.asset,child_ids:0
+msgid "Childs asset"
+msgstr "Actius fills"
+
+#. module: account_asset
+#: field:account.asset.board,value_asset:0
+msgid "Asset Value"
+msgstr "Valor de l'actiu"
+
+#. module: account_asset
+#: wizard_field:account.asset.modify,init,name:0
+msgid "Reason"
+msgstr "Raó"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,entry_ids:0
+#: wizard_field:account.asset.compute,asset_compute,move_ids:0
+msgid "Entries"
+msgstr "Assentaments"
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+msgid "Generated entries"
+msgstr "Assentaments generats"
+
+#. module: account_asset
+#: wizard_field:account.asset.modify,init,method_delay:0
+#: field:account.asset.property,method_delay:0
+#: field:account.asset.property.history,method_delay:0
+msgid "Number of interval"
+msgstr "Número d'intervals"
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,asset_open:0
+msgid "Open entries"
+msgstr "Obre assentaments"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list
+#: model:ir.ui.menu,name:account_asset.menu_finance_Assets
+#: model:ir.ui.menu,name:account_asset.menu_finance_config_Assets
+msgid "Assets"
+msgstr "Actius"
+
+#. module: account_asset
+#: selection:account.asset.property,method:0
+msgid "Progressive"
+msgstr "Progressiu"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_draft
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_draft
+msgid "Draft Assets"
+msgstr "Actius en estat esborrany"
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+#: wizard_field:account.asset.modify,init,note:0
+#: view:account.asset.property.history:0
+msgid "Notes"
+msgstr "Notes"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change history"
+msgstr "Canvi històric"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation entries"
+msgstr "Assentament de dotació a l'amortització "
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Methods"
+msgstr "Mètodes"
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Asset properties to modify"
+msgstr "Propietats de l'actiu a modificar"
+
+#. module: account_asset
+#: field:account.asset.asset,partner_id:0
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: account_asset
+#: wizard_field:account.asset.modify,init,method_period:0
+#: field:account.asset.property,method_period:0
+#: field:account.asset.property.history,method_period:0
+msgid "Period per interval"
+msgstr "PerÃode per interval"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation duration"
+msgstr "termini d'amortització"
+
+#. module: account_asset
+#: field:account.asset.property,account_analytic_id:0
+msgid "Analytic account"
+msgstr "Compte analÃtic"
+
+#. module: account_asset
+#: field:account.asset.property,state:0
+msgid "State"
+msgstr "Estat"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation methods"
+msgstr "Mètodes d'amortització"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Other information"
+msgstr "Altra informació"
+
+#. module: account_asset
+#: field:account.asset.board,value_asset_cumul:0
+msgid "Cumul. value"
+msgstr "Valor acumulat"
+
+#. module: account_asset
+#: view:account.asset.property:0
+msgid "Assets methods"
+msgstr "Mètodes d'actius"
+
+#. module: account_asset
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML invà lid per a la definició de la vista!"
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_property
+msgid "Asset property"
+msgstr "Propietat de l'actiu"
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+#: wizard_view:account.asset.compute,init:0
+#: wizard_button:account.asset.compute,init,asset_compute:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute
+#: model:ir.ui.menu,name:account_asset.menu_wizard_asset_compute
+msgid "Compute assets"
+msgstr "Calcula els actius"
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+#: wizard_button:account.asset.modify,init,asset_modify:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify
+msgid "Modify asset"
+msgstr "Modifica l'actiu"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Confirm asset"
+msgstr "Confirma l'actiu"
+
+#. module: account_asset
+#: view:account.asset.property.history:0
+#: model:ir.model,name:account_asset.model_account_asset_property_history
+msgid "Asset history"
+msgstr "Històric de l'actiu"
+
+#. module: account_asset
+#: field:account.asset.property,date:0
+msgid "Date created"
+msgstr "Data de creació"
+
+#. module: account_asset
+#: model:ir.module.module,description:account_asset.module_meta_information
+msgid ""
+"Financial and accounting asset management.\n"
+" Allows to define\n"
+" * Asset category. \n"
+" * Assets.\n"
+" *Asset usage period and property.\n"
+" "
+msgstr ""
+"Gestió financera i comptable d'actius.\n"
+" Permet definir\n"
+" * Categories d'actiu. \n"
+" * Actius.\n"
+" * PerÃode i propietats de l'actiu utilitzat. "
+
+#. module: account_asset
+#: field:account.asset.board,value_gross:0
+#: field:account.asset.property,value_total:0
+msgid "Gross value"
+msgstr "Valor brut"
+
+#. module: account_asset
+#: selection:account.asset.property,method_time:0
+msgid "Ending period"
+msgstr "PerÃode final"
+
+#. module: account_asset
+#: field:account.asset.board,name:0
+msgid "Asset name"
+msgstr "Nom de l'actiu"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Accounts information"
+msgstr "Informació de comptes"
+
+#. module: account_asset
+#: field:account.asset.asset,note:0
+#: field:account.asset.category,note:0
+#: field:account.asset.property.history,note:0
+msgid "Note"
+msgstr "Nota"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.property,state:0
+msgid "Draft"
+msgstr "Esborrany"
+
+#. module: account_asset
+#: field:account.asset.property,type:0
+msgid "Depr. method type"
+msgstr "Tipus de mètode d'amortització"
+
+#. module: account_asset
+#: field:account.asset.property,account_asset_id:0
+msgid "Asset account"
+msgstr "Compte d'actiu"
+
+#. module: account_asset
+#: field:account.asset.property.history,asset_property_id:0
+msgid "Method"
+msgstr "Mètode"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "Normal"
+msgstr "Normal"
+
+#. module: account_asset
+#: field:account.asset.property,method_progress_factor:0
+msgid "Progressif factor"
+msgstr "Factor de progressió"
+
+#. module: account_asset
+#: field:account.asset.asset,localisation:0
+msgid "Localisation"
+msgstr "Localització"
+
+#. module: account_asset
+#: field:account.asset.property,method:0
+msgid "Computation method"
+msgstr "Mètode de cà lcul"
+
+#. module: account_asset
+#: field:account.asset.property,method_time:0
+msgid "Time method"
+msgstr "Mètode de temps"
+
+#. module: account_asset
+#: field:account.asset.asset,active:0
+msgid "Active"
+msgstr "Actiu"
+
+#. module: account_asset
+#: field:account.asset.property.history,user_id:0
+msgid "User"
+msgstr "Usuari"
+
+#. module: account_asset
+#: field:account.asset.asset,property_ids:0
+msgid "Asset method name"
+msgstr "Nom del mètode d'actiu"
+
+#. module: account_asset
+#: field:account.asset.asset,date:0
+#: field:account.asset.property.history,date:0
+msgid "Date"
+msgstr "Data"
+
+#. module: account_asset
+#: field:account.asset.board,value_net:0
+msgid "Net value"
+msgstr "Valor net"
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_close
+msgid "Close asset"
+msgstr "Tanca l'actiu"
+
+#. module: account_asset
+#: field:account.asset.property,history_ids:0
+msgid "History"
+msgstr "Història"
+
+#. module: account_asset
+#: field:account.asset.property,account_actif_id:0
+msgid "Depreciation account"
+msgstr "Compte d'amortització"
+
+#. module: account_asset
+#: field:account.asset.asset,period_id:0
+#: wizard_field:account.asset.compute,init,period_id:0
+msgid "Period"
+msgstr "PerÃode"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_category_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_category_form
+msgid "Asset Category"
+msgstr "Categoria d'actiu"
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,end:0
+#: wizard_button:account.asset.compute,init,end:0
+#: wizard_button:account.asset.modify,init,end:0
+msgid "Cancel"
+msgstr "Cancel·la"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: wizard_button:account.asset.compute,asset_compute,end:0
+#: selection:account.asset.property,state:0
+msgid "Close"
+msgstr "Tanca"
+
+#. module: account_asset
+#: selection:account.asset.property,state:0
+msgid "Open"
+msgstr "Obre"
+
+#. module: account_asset
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"El nom de l'objecte ha de començar amb x_ i no contenir cap carà cter "
+"especial!"
+
+#. module: account_asset
+#: model:ir.module.module,shortdesc:account_asset.module_meta_information
+msgid "Asset management"
+msgstr "Gestió de l'actiu"
+
+#. module: account_asset
+#: view:account.asset.board:0
+#: field:account.asset.property,board_ids:0
+#: model:ir.model,name:account_asset.model_account_asset_board
+msgid "Asset board"
+msgstr "Taulell d'actius"
+
+#. module: account_asset
+#: field:account.asset.asset,state:0
+msgid "Global state"
+msgstr "Estat global"
+
+#. module: account_asset
+#: selection:account.asset.property,method_time:0
+msgid "Delay"
+msgstr "Retarda"
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+msgid "General information"
+msgstr "Informació general"
+
+#. module: account_asset
+#: field:account.asset.property,journal_analytic_id:0
+msgid "Analytic journal"
+msgstr "Diari analÃtic"
+
+#. module: account_asset
+#: field:account.asset.property,name:0
+msgid "Method name"
+msgstr "Nom del mètode"
+
+#. module: account_asset
+#: field:account.asset.property,journal_id:0
+msgid "Journal"
+msgstr "Diari"
+
+#. module: account_asset
+#: field:account.asset.property.history,name:0
+msgid "History name"
+msgstr "Nom històric"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Close method"
+msgstr "Tanca el mètode"
+
+#. module: account_asset
+#: field:account.asset.property,entry_asset_ids:0
+msgid "Asset Entries"
+msgstr "Assentaments d'actiu"
+
+#. module: account_asset
+#: field:account.asset.asset,category_id:0
+#: view:account.asset.category:0
+#: field:account.asset.category,name:0
+#: model:ir.model,name:account_asset.model_account_asset_category
+msgid "Asset category"
+msgstr "Categoria d'actiu"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation"
+msgstr "Depreciació"
+
+#. module: account_asset
+#: field:account.asset.asset,code:0
+#: field:account.asset.category,code:0
+msgid "Asset code"
+msgstr "Codi d'actiu"
+
+#. module: account_asset
+#: field:account.asset.asset,value_total:0
+msgid "Total value"
+msgstr "Valor total"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "View"
+msgstr "Vista"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "General info"
+msgstr "Informació general"
+
+#. module: account_asset
+#: field:account.asset.asset,sequence:0
+msgid "Sequence"
+msgstr "Seqüència"
+
+#. module: account_asset
+#: field:account.asset.property,value_residual:0
+msgid "Residual value"
+msgstr "Valor residual"
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,asset_close:0
+msgid "End of asset"
+msgstr "Final d'actiu"
+
+#. module: account_asset
+#: selection:account.asset.property,type:0
+msgid "Direct"
+msgstr "Directe"
+
+#. module: account_asset
+#: selection:account.asset.property,type:0
+msgid "Indirect"
+msgstr "Indirecte"
+
+#. module: account_asset
+#: field:account.asset.asset,parent_id:0
+msgid "Parent asset"
+msgstr "FamÃlia d'actiu"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_tree
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_tree
+msgid "Asset Hierarchy"
+msgstr "Jerarquia d'actius"
+
=== added file 'account_asset/i18n/de.po'
--- account_asset/i18n/de.po 1970-01-01 00:00:00 +0000
+++ account_asset/i18n/de.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,1460 @@
+# German translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2010-05-27 15:57+0000\n"
+"PO-Revision-Date: 2010-06-04 09:31+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: German <de@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-10 03:44+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
+msgid "Open Assets"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,interval:0
+msgid "How many usage entries are you going to make per year?"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_residual:0
+msgid "Residual Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_expense_id:0
+#: field:account.asset.method.defaults,account_expense_id:0
+msgid "Depr. Expense Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"You cannot assign Product \"%s\" to Asset Method \"%s\". This method is in "
+"Draft state or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Date must be in the period !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.defaults:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_defaults_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_defaults_form
+msgid "Asset Method Defaults"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,name:0
+#: field:account.asset.history,asset_id:0
+#: field:account.asset.method,asset_id:0
+#: model:ir.model,name:account_asset.model_account_asset_asset
+msgid "Asset"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.method,usage_ids:0
+#: field:account.asset.method.usage,usage:0
+msgid "Usage"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_analytic_id:0
+#: help:account.asset.method,journal_analytic_id:0
+msgid "Not implemented yet."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_abandon_id:0
+msgid "Abandonment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals per Year: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_analytic_id:0
+#: field:account.asset.method.defaults,journal_analytic_id:0
+msgid "Analytic Journal"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.history:0
+#: model:ir.model,name:account_asset.model_account_asset_history
+msgid "Asset history"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,expense_value:0
+msgid "Increasing Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,whole_asset:0
+msgid "Abandon all methods of this asset."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,life:0
+msgid ""
+"Quantity of production which make the asset method used up. Used only in "
+"Units of Production computation method and cannot be zero in this case."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.category:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_category_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_category_form
+msgid "Asset Categories"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_field:account.asset.compute,asset_compute,move_ids:0
+#: field:account.asset.method,entry_ids:0
+msgid "Entries"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,value:0
+msgid "Initial Base Value of method."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+msgid "Generated entries"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+#: wizard_view:account.asset.compute,init:0
+msgid "Asset Computation"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify
+msgid "Modify asset"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,asset_category:0
+msgid ""
+"Select the asset category for this set of defaults. If no selection defined "
+"defaults will concern to all methods of selected type."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_initial.py:0
+#, python-format
+msgid "Inital values for asset: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,asset_open:0
+msgid "Open entries"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_finance_Assets
+#: model:ir.ui.menu,name:account_asset.menu_finance_config_Assets
+msgid "Assets"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_actif_id:0
+#: field:account.asset.method.defaults,account_actif_id:0
+msgid "Depreciation Account"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_type:0
+msgid "Select method type for this set of defaults."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_draft
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_draft
+msgid "Draft Assets"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.usage.createlines,init:0
+msgid "Creation of Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: wizard_field:account.asset.abandon,init,note:0
+#: wizard_view:account.asset.close,init:0
+#: wizard_field:account.asset.close,init,note:0
+#: view:account.asset.history:0
+#: wizard_view:account.asset.initial,init:0
+#: wizard_field:account.asset.initial,init,note:0
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_field:account.asset.localisation,init,note:0
+#: wizard_view:account.asset.modify,init:0
+#: wizard_field:account.asset.modify,init,note:0
+#: wizard_view:account.asset.resume,init:0
+#: wizard_field:account.asset.resume,init,note:0
+#: wizard_view:account.asset.reval,init:0
+#: wizard_field:account.asset.reval,init,note:0
+msgid "Notes"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Number of Intervals: "
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Clear Draft and Close"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,date:0
+#: help:account.asset.compute,init,date:0
+#: help:account.asset.reval,init,date:0
+msgid "Efective date for accounting move."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Parameters set to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,asset_suppress:0
+msgid "Suppress Depreciation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Units of Production"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Other Information"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,asset_abandon:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_abandon
+msgid "Abandon"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Closing"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Warning !"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_defaults
+msgid "Asset Method Delfaults"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,method_progress_factor:0
+msgid "Progressive factor"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,method_end:0
+#: field:account.asset.method,method_end:0
+msgid "Ending Date"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! You can not create recursive categories."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,value:0
+msgid "Increasing Base Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_analytic_id:0
+#: field:account.asset.method.defaults,account_analytic_id:0
+msgid "Analytic Account"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.usage.createlines,init,asset_reval:0
+msgid "Create Lines"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Accounts"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Methods"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_residual_id:0
+msgid ""
+"Select account used for residual when asset is sold. You can change the "
+"account before sale operation."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,life:0
+#: wizard_field:account.asset.modify,init,life:0
+msgid "Life Quantity"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,partner_id:0
+#: field:account.asset.history,partner_id:0
+msgid "Partner"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_progress_factor:0
+msgid ""
+"Specify the factor of progression in depreciation. It is used in Declining-"
+"Balance method. When linear depreciation is 20% per year, and you want apply "
+"Double-Declining Balance you should choose Declining-Balance method and "
+"enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Transfer"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Progressive Factor: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.move.line,asset_method_id:0
+msgid ""
+"Assign the asset as depreciation method if move line concerns the asset."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_resume
+msgid "Resume asset"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,acc_abandon:0
+msgid "Abandon Account"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_usage_periodical_entry
+#: model:ir.ui.menu,name:account_asset.menu_asset_method_usage
+msgid "Method Usage"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_impairment_id:0
+msgid "Select account used for impairment amount. Used in revaluation."
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.modify,init,asset_modify:0
+msgid "Modify Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method:0
+#: field:account.asset.method.defaults,method:0
+msgid "Computation Method"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_salvage:0
+msgid "Value planned to be residual after full depreciation process"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,acc_impairment:0
+msgid "Asset Counter Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Life Quantity: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_reval.py:0
+#, python-format
+msgid "Asset revalued because: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.usage,period_id:0
+msgid "Select period which usage concerns."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,period_id:0
+#: help:account.asset.compute,init,period_id:0
+#: help:account.asset.reval,init,period_id:0
+msgid "Calculated period and period for posting."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Choose fiscal year for entries."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_residual_id:0
+msgid "Select account used for sale residual."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+msgid "Method usage"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Suppression"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,acc_abandon:0
+msgid "Account for asset loss amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_salvage:0
+#: wizard_field:account.asset.modify,init,method_salvage:0
+msgid "Salvage Value"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_usage_createlines
+msgid "Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,date:0
+msgid "Efective date for posting."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_close.py:0
+#, python-format
+msgid "Suppressed because: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,invoice_id:0
+msgid "Invoice"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.usage,usage:0
+msgid "Specify usage quantity in selected period."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_delay:0
+#: field:account.asset.method.defaults,method_delay:0
+#: wizard_field:account.asset.modify,init,method_delay:0
+msgid "Number of Intervals"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,expense_value:0
+msgid ""
+"Initial Value of method expenses. There are sum of depreciations made before "
+"this system asset management."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+msgid "Method Suppression"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Asset Description"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,init,asset_compute:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute
+#: model:ir.ui.menu,name:account_asset.menu_wizard_asset_compute
+msgid "Compute assets"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_delay:0
+msgid ""
+"How many intervals this asset is to be calculated in its life. If asset was "
+"calculated in other system before specify Intervals Before too."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,value:0
+msgid ""
+"Value to be added to method base value. In Direct method it is increasing of "
+"book value. In Indirect method it is increasing of cost basis. Negative "
+"value means decreasing."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change Parameters"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,type:0
+msgid "Entry Type"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method:0
+msgid "Assets Methods"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_asset_id:0
+#: help:account.asset.method.defaults,account_asset_id:0
+msgid ""
+"Select account used for cost basis of asset. It will be applied into invoice "
+"line when you select this asset in invoice line."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_localisation.py:0
+#, python-format
+msgid "Asset transfered because: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Settings Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,parent_id:0
+msgid "Parent Category"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,name:0
+msgid "History name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.reval,init,asset_reval:0
+msgid "Revalue"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"This wizard works only when asset have just Draft and Closed methods !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Create Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,value:0
+msgid "Base Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,intervals_before:0
+#: field:account.asset.method,intervals_before:0
+msgid "Intervals Before"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,category_id:0
+msgid ""
+"If empty all categories assets will be calculated. If you use hierarchical "
+"categories all children of selected category be calculated."
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.resume,init,asset_resume:0
+msgid "Resume Depreciation"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Suppress Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Board"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.asset_category_action
+#: model:ir.ui.menu,name:account_asset.menu_asset_category_action
+msgid "Assets Category Structure"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,localisation:0
+msgid ""
+"Set this field before asset coonfirming. Later on you will have to use "
+"Change Localisation button."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_reval
+msgid "Revaluate"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_progress_factor:0
+msgid ""
+"Specify the factor of progression in depreciation. Used in Declining-Balance "
+"and Progressive method only. When linear depreciation is 20% per year, and "
+"you want apply Double-Declining Balance you should choose Declining-Balance "
+"method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,name:0
+msgid "Asset Method Type Name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation entry"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,acc_impairment:0
+msgid "Account for impairment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete assets only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,expense_value:0
+msgid ""
+"Value to be added to asset expenses. Used only in indirect method. In direct "
+"method ignored."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_actif_id:0
+msgid "Select account used for depreciation amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,date:0
+msgid "Date Created"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals Before: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Sum of Years Digits"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_resume.py:0
+#, python-format
+msgid "Resuming because: "
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_category
+msgid "Asset category"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"\n"
+"Price: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"You cannot assign Product \"%s\" to Asset Method \"%s\". This method is "
+"already depreciated or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_initial
+msgid "Initial"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial entry"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_residual:0
+msgid "Residual"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,note:0
+#: field:account.asset.category,note:0
+#: field:account.asset.history,note:0
+#: field:account.asset.method.type,note:0
+msgid "Note"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Draft"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,state:0
+msgid ""
+"Open - Ready for calculation.\n"
+"Suppressed - Not calculated.\n"
+"Depreciated - Depreciation finished but method exists (can be sold or "
+"abandoned).\n"
+"Closed - Asset method doesn't exist (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Closed"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,state:0
+msgid ""
+"Normal - Asset contains active methods (opened, suppressed or depreciated).\n"
+"Closed - Asset doesn't exist. All methods are sold or abandoned."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,asset_method_id:0
+#: field:account.asset.method.usage,asset_method_id:0
+msgid "Method"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase Refund"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "Normal"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Initial Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,state:0
+msgid "Asset State"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.localisation,init,localisation:0
+msgid "Enter New localisation"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,localisation:0
+msgid "Localisation"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,whole_asset:0
+#: wizard_field:account.asset.close,init,whole_asset:0
+#: wizard_field:account.asset.resume,init,whole_asset:0
+msgid "All Methods"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_modify.py:0
+#, python-format
+msgid "Modification of "
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Resume Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,active:0
+msgid "Active"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,child_ids:0
+msgid "Children Categories"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"Product \"%s\" is assigned to Asset Method \"%s\". But this method has no "
+"Sale Residual Account to make asset moves."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,user_id:0
+msgid "User"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "year %s !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: view:account.asset.history:0
+msgid "Asset History"
+msgstr ""
+
+#. module: account_asset
+#: field:account.invoice.line,asset_method_id:0
+msgid "Asset Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial Values"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,method_ids:0
+msgid "Asset Method Name"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.module.module,description:account_asset.module_meta_information
+msgid ""
+"Financial and accounting asset management.\n"
+" Allows to define\n"
+" * Asset category. \n"
+" * Assets.\n"
+" *Asset usage period and property.\n"
+" "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Cannot post in closed period !"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Summary"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_asset_id:0
+#: field:account.asset.method.defaults,account_asset_id:0
+msgid "Asset Account"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid ""
+"Wizard for starting values of asset coming from production or investment. "
+"Use it also when you continue asset management from another system."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_residual_id:0
+#: field:account.asset.method.defaults,account_residual_id:0
+msgid "Sale Residual Account"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_close
+msgid "Close asset"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,period_id:0
+msgid "Select period indicating first interval."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method Modyfying"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,history_ids:0
+msgid "History"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,partner_id:0
+msgid "If Date field is empty this field will be filled by first purchase."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_usage
+msgid "Asset Method Usage"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Declining-Balance"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Suppressed"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: selection:account.asset.history,type:0
+msgid "Abandonment"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,period_id:0
+#: wizard_field:account.asset.compute,init,period_id:0
+#: wizard_field:account.asset.initial,init,period_id:0
+#: field:account.asset.method,period_id:0
+#: field:account.asset.method.usage,period_id:0
+#: wizard_field:account.asset.reval,init,period_id:0
+msgid "Period"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_actif_id:0
+msgid "Select account used for depreciation amounts."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_progress_factor:0
+#: wizard_field:account.asset.modify,init,method_progress_factor:0
+msgid "Progressive Factor"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method parameters to modify"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,period_id:0
+msgid ""
+"Period for posting. Consider which period to use for this posting. It should "
+"be probably some additional period before current depreciation start."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,value:0
+msgid ""
+"Value of Unit of Production. This value has to be changed before asset "
+"calculation but could be some indication for entering later on."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,category_id:0
+#: view:account.asset.category:0
+#: field:account.asset.category,name:0
+#: wizard_field:account.asset.compute,init,category_id:0
+#: field:account.asset.method.defaults,asset_category:0
+msgid "Asset Category"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Changing of method parameters to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,end:0
+#: wizard_button:account.asset.close,init,end:0
+#: wizard_button:account.asset.compute,init,end:0
+#: wizard_button:account.asset.initial,init,end:0
+#: wizard_button:account.asset.localisation,init,end:0
+#: wizard_button:account.asset.modify,init,end:0
+#: wizard_button:account.asset.resume,init,end:0
+#: wizard_button:account.asset.reval,init,end:0
+#: wizard_button:account.asset.usage.createlines,init,end:0
+msgid "Cancel"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,end:0
+msgid "Close"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_button:account.asset.localisation,init,asset_modify:0
+msgid "Set New Localisation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Open"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,code:0
+msgid "Asset Code"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,intervals_before:0
+msgid ""
+"Number of intervals calculated already before asset is managed in this "
+"system."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+msgid "Localisation Changing"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Resuming"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.module.module,shortdesc:account_asset.module_meta_information
+msgid "Asset management"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_abandon_id:0
+msgid "Select account used for abandonment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.resume,init:0
+msgid "Method Resuming"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_abandon.py:0
+#, python-format
+msgid "Asset abandoned because: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Salvage Value: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+#: wizard_view:account.asset.resume,init:0
+msgid "General information"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"]\n"
+"Invoice date: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.invoice.line,asset_method_id:0
+msgid ""
+"Select the asset depreciation method if you wish to assign the purchase "
+"invoice line to fixed asset. If method doesn't exists yet you will have to "
+"create it and probably the asset itself too. After selecting the asset "
+"method the invoice line account should change according to the asset method "
+"settings but please check it before creating the invoice."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,method_type_id:0
+msgid "If empty all method types will be calculated for assets."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.type:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_type_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_type_form
+msgid "Asset Method Types"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Progressive"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,sequence:0
+msgid "Seq."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,state:0
+msgid "Method State"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,name:0
+msgid "Method name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,name:0
+#: wizard_field:account.asset.close,init,name:0
+#: wizard_field:account.asset.initial,init,name:0
+#: wizard_field:account.asset.localisation,init,name:0
+#: wizard_field:account.asset.modify,init,name:0
+#: wizard_field:account.asset.resume,init,name:0
+#: wizard_field:account.asset.reval,init,name:0
+msgid "Description"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method
+msgid "Asset method"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete method only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_id:0
+#: field:account.asset.method.defaults,journal_id:0
+msgid "Journal"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,code:0
+msgid "Asset Category Code"
+msgstr ""
+
+#. module: account_asset
+#: field:account.move.line,asset_method_id:0
+msgid "Asset Depr. Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_period:0
+#: field:account.asset.method.defaults,method_period:0
+#: wizard_field:account.asset.modify,init,method_period:0
+msgid "Intervals per Year"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_type:0
+#: field:account.asset.method.defaults,method_type:0
+msgid "Method Type"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_compute.py:0
+#, python-format
+msgid "Created moves"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,interval:0
+msgid "Entries per Year"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Revalue Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,code:0
+msgid "Asset Method Type Code"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,acc_impairment:0
+msgid "Counter account for base value."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_total:0
+msgid "Total Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_total:0
+msgid "Gross Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,expense_value:0
+msgid "Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "But for purchased assets use invoice line assignment."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! Number of intervals per year must be 1, 2, 3, 4, 6 or 12."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Fiscal Year"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Depreciated"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: view:account.asset.asset:0
+msgid "Abandon Method"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,intervals_before:0
+msgid ""
+"Number of intervals calculated before asset is managed in this system. Used "
+"with Initial Values wizard. If you start asset in this system keep zero."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Asset transfered to: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#: code:addons/account_asset/account_asset_invoice.py:0
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "Error !"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.initial,init,asset_reval:0
+msgid "Set Initials"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_expense:0
+msgid "Expense Change"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "View"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "General info"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.ui.menu,name:account_asset.menu_finance_periodical_assets
+msgid "Assets Calculation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Straight-Line"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_localisation
+msgid "Change Localisation"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_expense_id:0
+#: help:account.asset.method.defaults,account_expense_id:0
+msgid ""
+"Select account used for depreciation expense (write-off). If you use direct "
+"method of depreciation this account should be the same as Asset Account."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,date:0
+#: field:account.asset.asset,date:0
+#: wizard_field:account.asset.compute,init,date:0
+#: field:account.asset.history,date:0
+#: wizard_field:account.asset.initial,init,date:0
+#: wizard_field:account.asset.reval,init,date:0
+msgid "Date"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_impairment_id:0
+#: wizard_field:account.asset.reval,init,acc_impairment:0
+msgid "Impairment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product name: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.compute,init,method_type_id:0
+#: view:account.asset.method.type:0
+#: model:ir.model,name:account_asset.model_account_asset_method_type
+msgid "Asset Method Type"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,date:0
+msgid ""
+"Set this date or leave it empty to allow system set the first purchase date."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_total:0
+msgid "Total"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,value:0
+msgid "Entry Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_period:0
+msgid ""
+"Specify the number of depreciations to be made in year. This number cannot "
+"be less then number of periods in year."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation"
+msgstr ""
=== added file 'account_asset/i18n/es.po'
--- account_asset/i18n/es.po 1970-01-01 00:00:00 +0000
+++ account_asset/i18n/es.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,1474 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_asset
+#
+# Albert Cervera i Areny <albert@xxxxxxxxxxx>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-05-27 15:57+0000\n"
+"PO-Revision-Date: 2010-06-09 23:41+0000\n"
+"Last-Translator: OpenERP Administrators <Unknown>\n"
+"Language-Team: Catalan <kde-i18n-ca@xxxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-11 03:50+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
+msgid "Open Assets"
+msgstr "Activos abiertos"
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,interval:0
+msgid "How many usage entries are you going to make per year?"
+msgstr "como cuantos entradas tu estas llevando para hacer por año"
+
+#. module: account_asset
+#: field:account.asset.method,value_residual:0
+msgid "Residual Value"
+msgstr "Valor residual"
+
+#. module: account_asset
+#: field:account.asset.method,account_expense_id:0
+#: field:account.asset.method.defaults,account_expense_id:0
+msgid "Depr. Expense Account"
+msgstr "Cuenta amortización de gastos"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"You cannot assign Product \"%s\" to Asset Method \"%s\". This method is in "
+"Draft state or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Date must be in the period !"
+msgstr "La fecha debe ser en el periodo"
+
+#. module: account_asset
+#: view:account.asset.method.defaults:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_defaults_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_defaults_form
+msgid "Asset Method Defaults"
+msgstr "Valores por defecto método de activo"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,name:0
+#: field:account.asset.history,asset_id:0
+#: field:account.asset.method,asset_id:0
+#: model:ir.model,name:account_asset.model_account_asset_asset
+msgid "Asset"
+msgstr "Activo"
+
+#. module: account_asset
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Nombre de modelo inválido en la definición de la acción."
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.method,usage_ids:0
+#: field:account.asset.method.usage,usage:0
+msgid "Usage"
+msgstr "Uso"
+
+#. module: account_asset
+#: help:account.asset.method,account_analytic_id:0
+#: help:account.asset.method,journal_analytic_id:0
+msgid "Not implemented yet."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_abandon_id:0
+msgid "Abandonment Account"
+msgstr "Cuenta de abandono"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals per Year: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_analytic_id:0
+#: field:account.asset.method.defaults,journal_analytic_id:0
+msgid "Analytic Journal"
+msgstr "Diario analÃtico"
+
+#. module: account_asset
+#: view:account.asset.history:0
+#: model:ir.model,name:account_asset.model_account_asset_history
+msgid "Asset history"
+msgstr "Histórico del activo"
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,expense_value:0
+msgid "Increasing Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,whole_asset:0
+msgid "Abandon all methods of this asset."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,life:0
+msgid ""
+"Quantity of production which make the asset method used up. Used only in "
+"Units of Production computation method and cannot be zero in this case."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.category:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_category_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_category_form
+msgid "Asset Categories"
+msgstr "CategorÃas de activo"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_field:account.asset.compute,asset_compute,move_ids:0
+#: field:account.asset.method,entry_ids:0
+msgid "Entries"
+msgstr "Asientos"
+
+#. module: account_asset
+#: help:account.asset.initial,init,value:0
+msgid "Initial Base Value of method."
+msgstr "Valor inicial base del metodo"
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+msgid "Generated entries"
+msgstr "Asientos generados"
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+#: wizard_view:account.asset.compute,init:0
+msgid "Asset Computation"
+msgstr "Cálculo de activo"
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify
+msgid "Modify asset"
+msgstr "Modificar activo"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,asset_category:0
+msgid ""
+"Select the asset category for this set of defaults. If no selection defined "
+"defaults will concern to all methods of selected type."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_initial.py:0
+#, python-format
+msgid "Inital values for asset: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,asset_open:0
+msgid "Open entries"
+msgstr "Abrir asientos"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_finance_Assets
+#: model:ir.ui.menu,name:account_asset.menu_finance_config_Assets
+msgid "Assets"
+msgstr "Activos"
+
+#. module: account_asset
+#: field:account.asset.method,account_actif_id:0
+#: field:account.asset.method.defaults,account_actif_id:0
+msgid "Depreciation Account"
+msgstr "Cuenta de amortización"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_type:0
+msgid "Select method type for this set of defaults."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_draft
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_draft
+msgid "Draft Assets"
+msgstr "Activos en estado borrador"
+
+#. module: account_asset
+#: wizard_view:account.asset.usage.createlines,init:0
+msgid "Creation of Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: wizard_field:account.asset.abandon,init,note:0
+#: wizard_view:account.asset.close,init:0
+#: wizard_field:account.asset.close,init,note:0
+#: view:account.asset.history:0
+#: wizard_view:account.asset.initial,init:0
+#: wizard_field:account.asset.initial,init,note:0
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_field:account.asset.localisation,init,note:0
+#: wizard_view:account.asset.modify,init:0
+#: wizard_field:account.asset.modify,init,note:0
+#: wizard_view:account.asset.resume,init:0
+#: wizard_field:account.asset.resume,init,note:0
+#: wizard_view:account.asset.reval,init:0
+#: wizard_field:account.asset.reval,init,note:0
+msgid "Notes"
+msgstr "Notas"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Number of Intervals: "
+msgstr ""
+"\n"
+" Número de intervalos: "
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Clear Draft and Close"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Sale"
+msgstr "Venta"
+
+#. module: account_asset
+#: help:account.asset.abandon,init,date:0
+#: help:account.asset.compute,init,date:0
+#: help:account.asset.reval,init,date:0
+msgid "Efective date for accounting move."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Parameters set to:"
+msgstr "Parámetros fijados a:"
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,asset_suppress:0
+msgid "Suppress Depreciation"
+msgstr "Suprimir amortización"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Units of Production"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Other Information"
+msgstr "Otra información"
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,asset_abandon:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_abandon
+msgid "Abandon"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Closing"
+msgstr "Cierre"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Warning !"
+msgstr "¡Aviso!"
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_defaults
+msgid "Asset Method Delfaults"
+msgstr "Valores por defecto método de activo"
+
+#. module: account_asset
+#: field:account.asset.method.defaults,method_progress_factor:0
+msgid "Progressive factor"
+msgstr "Factor de progresión"
+
+#. module: account_asset
+#: field:account.asset.history,method_end:0
+#: field:account.asset.method,method_end:0
+msgid "Ending Date"
+msgstr "Fecha final"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! You can not create recursive categories."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,value:0
+msgid "Increasing Base Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_analytic_id:0
+#: field:account.asset.method.defaults,account_analytic_id:0
+msgid "Analytic Account"
+msgstr "Cuenta analÃtica"
+
+#. module: account_asset
+#: wizard_button:account.asset.usage.createlines,init,asset_reval:0
+msgid "Create Lines"
+msgstr "Crear lÃneas"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Accounts"
+msgstr "Cuentas"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Methods"
+msgstr "Métodos de amortización"
+
+#. module: account_asset
+#: help:account.asset.method,account_residual_id:0
+msgid ""
+"Select account used for residual when asset is sold. You can change the "
+"account before sale operation."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,life:0
+#: wizard_field:account.asset.modify,init,life:0
+msgid "Life Quantity"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,partner_id:0
+#: field:account.asset.history,partner_id:0
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_progress_factor:0
+msgid ""
+"Specify the factor of progression in depreciation. It is used in Declining-"
+"Balance method. When linear depreciation is 20% per year, and you want apply "
+"Double-Declining Balance you should choose Declining-Balance method and "
+"enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Transfer"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Progressive Factor: "
+msgstr ""
+"\n"
+" Factor de progresión: "
+
+#. module: account_asset
+#: help:account.move.line,asset_method_id:0
+msgid ""
+"Assign the asset as depreciation method if move line concerns the asset."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_resume
+msgid "Resume asset"
+msgstr "Reactivar activo"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,acc_abandon:0
+msgid "Abandon Account"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_usage_periodical_entry
+#: model:ir.ui.menu,name:account_asset.menu_asset_method_usage
+msgid "Method Usage"
+msgstr "Método de uso"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_impairment_id:0
+msgid "Select account used for impairment amount. Used in revaluation."
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "¡XML inválido para la definición de la vista!"
+
+#. module: account_asset
+#: wizard_button:account.asset.modify,init,asset_modify:0
+msgid "Modify Method"
+msgstr "Modificar método"
+
+#. module: account_asset
+#: field:account.asset.method,method:0
+#: field:account.asset.method.defaults,method:0
+msgid "Computation Method"
+msgstr "Método de cálculo"
+
+#. module: account_asset
+#: help:account.asset.method,method_salvage:0
+msgid "Value planned to be residual after full depreciation process"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,acc_impairment:0
+msgid "Asset Counter Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Life Quantity: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_reval.py:0
+#, python-format
+msgid "Asset revalued because: "
+msgstr "Activo revalorizado porqué: "
+
+#. module: account_asset
+#: help:account.asset.method.usage,period_id:0
+msgid "Select period which usage concerns."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,period_id:0
+#: help:account.asset.compute,init,period_id:0
+#: help:account.asset.reval,init,period_id:0
+msgid "Calculated period and period for posting."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Choose fiscal year for entries."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_residual_id:0
+msgid "Select account used for sale residual."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+msgid "Method usage"
+msgstr "Método de uso"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Suppression"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,acc_abandon:0
+msgid "Account for asset loss amount."
+msgstr "Cuenta para importe pérdida activo."
+
+#. module: account_asset
+#: field:account.asset.method,method_salvage:0
+#: wizard_field:account.asset.modify,init,method_salvage:0
+msgid "Salvage Value"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_usage_createlines
+msgid "Usage Lines"
+msgstr "LÃnea utilizadas"
+
+#. module: account_asset
+#: help:account.asset.initial,init,date:0
+msgid "Efective date for posting."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_close.py:0
+#, python-format
+msgid "Suppressed because: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,invoice_id:0
+msgid "Invoice"
+msgstr "Factura"
+
+#. module: account_asset
+#: help:account.asset.method.usage,usage:0
+msgid "Specify usage quantity in selected period."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_delay:0
+#: field:account.asset.method.defaults,method_delay:0
+#: wizard_field:account.asset.modify,init,method_delay:0
+msgid "Number of Intervals"
+msgstr "Número de intervalos"
+
+#. module: account_asset
+#: help:account.asset.initial,init,expense_value:0
+msgid ""
+"Initial Value of method expenses. There are sum of depreciations made before "
+"this system asset management."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+msgid "Method Suppression"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Asset Description"
+msgstr "Descripción activo"
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,init,asset_compute:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute
+#: model:ir.ui.menu,name:account_asset.menu_wizard_asset_compute
+msgid "Compute assets"
+msgstr "Calcular activos"
+
+#. module: account_asset
+#: help:account.asset.method,method_delay:0
+msgid ""
+"How many intervals this asset is to be calculated in its life. If asset was "
+"calculated in other system before specify Intervals Before too."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,value:0
+msgid ""
+"Value to be added to method base value. In Direct method it is increasing of "
+"book value. In Indirect method it is increasing of cost basis. Negative "
+"value means decreasing."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change Parameters"
+msgstr "Cambio de parámetros"
+
+#. module: account_asset
+#: field:account.asset.history,type:0
+msgid "Entry Type"
+msgstr "Tipo entrada"
+
+#. module: account_asset
+#: view:account.asset.method:0
+msgid "Assets Methods"
+msgstr "Métodos de activos"
+
+#. module: account_asset
+#: help:account.asset.method,account_asset_id:0
+#: help:account.asset.method.defaults,account_asset_id:0
+msgid ""
+"Select account used for cost basis of asset. It will be applied into invoice "
+"line when you select this asset in invoice line."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_localisation.py:0
+#, python-format
+msgid "Asset transfered because: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Settings Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,parent_id:0
+msgid "Parent Category"
+msgstr "CategorÃa padre"
+
+#. module: account_asset
+#: field:account.asset.history,name:0
+msgid "History name"
+msgstr "Nombre histórico"
+
+#. module: account_asset
+#: wizard_button:account.asset.reval,init,asset_reval:0
+msgid "Revalue"
+msgstr "Revalorizar"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"This wizard works only when asset have just Draft and Closed methods !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Create Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,value:0
+msgid "Base Value"
+msgstr "Valor base"
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,intervals_before:0
+#: field:account.asset.method,intervals_before:0
+msgid "Intervals Before"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,category_id:0
+msgid ""
+"If empty all categories assets will be calculated. If you use hierarchical "
+"categories all children of selected category be calculated."
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.resume,init,asset_resume:0
+msgid "Resume Depreciation"
+msgstr "Reactivar amortización"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Suppress Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Board"
+msgstr "Tabla de amortización"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.asset_category_action
+#: model:ir.ui.menu,name:account_asset.menu_asset_category_action
+msgid "Assets Category Structure"
+msgstr "Estructura categorÃa de activo"
+
+#. module: account_asset
+#: help:account.asset.asset,localisation:0
+msgid ""
+"Set this field before asset coonfirming. Later on you will have to use "
+"Change Localisation button."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_reval
+msgid "Revaluate"
+msgstr "Revaluar"
+
+#. module: account_asset
+#: help:account.asset.method,method_progress_factor:0
+msgid ""
+"Specify the factor of progression in depreciation. Used in Declining-Balance "
+"and Progressive method only. When linear depreciation is 20% per year, and "
+"you want apply Double-Declining Balance you should choose Declining-Balance "
+"method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,name:0
+msgid "Asset Method Type Name"
+msgstr "Nombre tipo método de activo"
+
+#. module: account_asset
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation entry"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,acc_impairment:0
+msgid "Account for impairment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete assets only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,expense_value:0
+msgid ""
+"Value to be added to asset expenses. Used only in indirect method. In direct "
+"method ignored."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_actif_id:0
+msgid "Select account used for depreciation amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,date:0
+msgid "Date Created"
+msgstr "Fecha de creación"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals Before: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Sum of Years Digits"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_resume.py:0
+#, python-format
+msgid "Resuming because: "
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_category
+msgid "Asset category"
+msgstr "CategorÃa de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"\n"
+"Price: "
+msgstr ""
+"\n"
+"Precio: "
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"You cannot assign Product \"%s\" to Asset Method \"%s\". This method is "
+"already depreciated or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_initial
+msgid "Initial"
+msgstr "Inicial"
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial entry"
+msgstr "Entrada inicial"
+
+#. module: account_asset
+#: field:account.asset.asset,amount_residual:0
+msgid "Residual"
+msgstr "Valor residual"
+
+#. module: account_asset
+#: field:account.asset.asset,note:0
+#: field:account.asset.category,note:0
+#: field:account.asset.history,note:0
+#: field:account.asset.method.type,note:0
+msgid "Note"
+msgstr "Nota"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Draft"
+msgstr "Borrador"
+
+#. module: account_asset
+#: help:account.asset.method,state:0
+msgid ""
+"Open - Ready for calculation.\n"
+"Suppressed - Not calculated.\n"
+"Depreciated - Depreciation finished but method exists (can be sold or "
+"abandoned).\n"
+"Closed - Asset method doesn't exist (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Closed"
+msgstr "Cerrado"
+
+#. module: account_asset
+#: help:account.asset.asset,state:0
+msgid ""
+"Normal - Asset contains active methods (opened, suppressed or depreciated).\n"
+"Closed - Asset doesn't exist. All methods are sold or abandoned."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,asset_method_id:0
+#: field:account.asset.method.usage,asset_method_id:0
+msgid "Method"
+msgstr "Método"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase Refund"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "Normal"
+msgstr "Normal"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Initial Value"
+msgstr "Valor inicial"
+
+#. module: account_asset
+#: field:account.asset.asset,state:0
+msgid "Asset State"
+msgstr "Estado activo"
+
+#. module: account_asset
+#: wizard_field:account.asset.localisation,init,localisation:0
+msgid "Enter New localisation"
+msgstr "Introducir nueva localización"
+
+#. module: account_asset
+#: field:account.asset.asset,localisation:0
+msgid "Localisation"
+msgstr "Localización"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,whole_asset:0
+#: wizard_field:account.asset.close,init,whole_asset:0
+#: wizard_field:account.asset.resume,init,whole_asset:0
+msgid "All Methods"
+msgstr "Todos los métodos"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_modify.py:0
+#, python-format
+msgid "Modification of "
+msgstr "Modificación de "
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Resume Method"
+msgstr "Método reactivación"
+
+#. module: account_asset
+#: field:account.asset.asset,active:0
+msgid "Active"
+msgstr "Activo"
+
+#. module: account_asset
+#: field:account.asset.category,child_ids:0
+msgid "Children Categories"
+msgstr "CategorÃas hijas"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"Product \"%s\" is assigned to Asset Method \"%s\". But this method has no "
+"Sale Residual Account to make asset moves."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,user_id:0
+msgid "User"
+msgstr "Usuario"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "year %s !"
+msgstr "año %s !"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: view:account.asset.history:0
+msgid "Asset History"
+msgstr "Histórico del activo"
+
+#. module: account_asset
+#: field:account.invoice.line,asset_method_id:0
+msgid "Asset Method"
+msgstr "Método de activo"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial Values"
+msgstr "Valores iniciales"
+
+#. module: account_asset
+#: field:account.asset.asset,method_ids:0
+msgid "Asset Method Name"
+msgstr "Nombre método de activo"
+
+#. module: account_asset
+#: model:ir.module.module,description:account_asset.module_meta_information
+msgid ""
+"Financial and accounting asset management.\n"
+" Allows to define\n"
+" * Asset category. \n"
+" * Assets.\n"
+" *Asset usage period and property.\n"
+" "
+msgstr ""
+"Gestión financiera y contable de activos.\n"
+" Permite definir\n"
+" * CategorÃas de activo. \n"
+" * Activos.\n"
+" * PerÃodo y propiedades del activo usado.\n"
+" "
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Cannot post in closed period !"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Summary"
+msgstr "Resumen"
+
+#. module: account_asset
+#: field:account.asset.method,account_asset_id:0
+#: field:account.asset.method.defaults,account_asset_id:0
+msgid "Asset Account"
+msgstr "Cuenta de activo"
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid ""
+"Wizard for starting values of asset coming from production or investment. "
+"Use it also when you continue asset management from another system."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_residual_id:0
+#: field:account.asset.method.defaults,account_residual_id:0
+msgid "Sale Residual Account"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_close
+msgid "Close asset"
+msgstr "Activo cerrado"
+
+#. module: account_asset
+#: help:account.asset.method,period_id:0
+msgid "Select period indicating first interval."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method Modyfying"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,history_ids:0
+msgid "History"
+msgstr "Historia"
+
+#. module: account_asset
+#: help:account.asset.asset,partner_id:0
+msgid "If Date field is empty this field will be filled by first purchase."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_usage
+msgid "Asset Method Usage"
+msgstr "Uso del método de activo"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Declining-Balance"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Suppressed"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: selection:account.asset.history,type:0
+msgid "Abandonment"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,period_id:0
+#: wizard_field:account.asset.compute,init,period_id:0
+#: wizard_field:account.asset.initial,init,period_id:0
+#: field:account.asset.method,period_id:0
+#: field:account.asset.method.usage,period_id:0
+#: wizard_field:account.asset.reval,init,period_id:0
+msgid "Period"
+msgstr "PerÃodo"
+
+#. module: account_asset
+#: help:account.asset.method,account_actif_id:0
+msgid "Select account used for depreciation amounts."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_progress_factor:0
+#: wizard_field:account.asset.modify,init,method_progress_factor:0
+msgid "Progressive Factor"
+msgstr "Factor de progresión"
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method parameters to modify"
+msgstr "Parámetros del método a modificar"
+
+#. module: account_asset
+#: help:account.asset.initial,init,period_id:0
+msgid ""
+"Period for posting. Consider which period to use for this posting. It should "
+"be probably some additional period before current depreciation start."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,value:0
+msgid ""
+"Value of Unit of Production. This value has to be changed before asset "
+"calculation but could be some indication for entering later on."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,category_id:0
+#: view:account.asset.category:0
+#: field:account.asset.category,name:0
+#: wizard_field:account.asset.compute,init,category_id:0
+#: field:account.asset.method.defaults,asset_category:0
+msgid "Asset Category"
+msgstr "CategorÃa de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Changing of method parameters to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,end:0
+#: wizard_button:account.asset.close,init,end:0
+#: wizard_button:account.asset.compute,init,end:0
+#: wizard_button:account.asset.initial,init,end:0
+#: wizard_button:account.asset.localisation,init,end:0
+#: wizard_button:account.asset.modify,init,end:0
+#: wizard_button:account.asset.resume,init,end:0
+#: wizard_button:account.asset.reval,init,end:0
+#: wizard_button:account.asset.usage.createlines,init,end:0
+msgid "Cancel"
+msgstr "Cancelar"
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,end:0
+msgid "Close"
+msgstr "Cerrar"
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_button:account.asset.localisation,init,asset_modify:0
+msgid "Set New Localisation"
+msgstr "Establecer nueva localización"
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Open"
+msgstr "Abrir"
+
+#. module: account_asset
+#: field:account.asset.asset,code:0
+msgid "Asset Code"
+msgstr "Código de activo"
+
+#. module: account_asset
+#: help:account.asset.initial,init,intervals_before:0
+msgid ""
+"Number of intervals calculated already before asset is managed in this "
+"system."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+msgid "Localisation Changing"
+msgstr "Cambio localización"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Resuming"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"¡El nombre del objeto debe empezar con x_ y no contener ningún carácter "
+"especial!"
+
+#. module: account_asset
+#: model:ir.module.module,shortdesc:account_asset.module_meta_information
+msgid "Asset management"
+msgstr "Gestión del activo"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_abandon_id:0
+msgid "Select account used for abandonment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.resume,init:0
+msgid "Method Resuming"
+msgstr "Método reactivación"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_abandon.py:0
+#, python-format
+msgid "Asset abandoned because: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Salvage Value: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+#: wizard_view:account.asset.resume,init:0
+msgid "General information"
+msgstr "Información general"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"]\n"
+"Invoice date: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.invoice.line,asset_method_id:0
+msgid ""
+"Select the asset depreciation method if you wish to assign the purchase "
+"invoice line to fixed asset. If method doesn't exists yet you will have to "
+"create it and probably the asset itself too. After selecting the asset "
+"method the invoice line account should change according to the asset method "
+"settings but please check it before creating the invoice."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,method_type_id:0
+msgid "If empty all method types will be calculated for assets."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.type:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_type_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_type_form
+msgid "Asset Method Types"
+msgstr "Tipos métodos de activo"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Progressive"
+msgstr "Progresivo"
+
+#. module: account_asset
+#: field:account.asset.asset,sequence:0
+msgid "Seq."
+msgstr "Sec."
+
+#. module: account_asset
+#: field:account.asset.method,state:0
+msgid "Method State"
+msgstr "Estado método"
+
+#. module: account_asset
+#: field:account.asset.method,name:0
+msgid "Method name"
+msgstr "Nombre del método"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,name:0
+#: wizard_field:account.asset.close,init,name:0
+#: wizard_field:account.asset.initial,init,name:0
+#: wizard_field:account.asset.localisation,init,name:0
+#: wizard_field:account.asset.modify,init,name:0
+#: wizard_field:account.asset.resume,init,name:0
+#: wizard_field:account.asset.reval,init,name:0
+msgid "Description"
+msgstr "Descripción"
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method
+msgid "Asset method"
+msgstr "Método de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete method only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_id:0
+#: field:account.asset.method.defaults,journal_id:0
+msgid "Journal"
+msgstr "Diario"
+
+#. module: account_asset
+#: field:account.asset.category,code:0
+msgid "Asset Category Code"
+msgstr "Código categorÃa de activo"
+
+#. module: account_asset
+#: field:account.move.line,asset_method_id:0
+msgid "Asset Depr. Method"
+msgstr "Método amortización activo"
+
+#. module: account_asset
+#: field:account.asset.method,method_period:0
+#: field:account.asset.method.defaults,method_period:0
+#: wizard_field:account.asset.modify,init,method_period:0
+msgid "Intervals per Year"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_type:0
+#: field:account.asset.method.defaults,method_type:0
+msgid "Method Type"
+msgstr "Tipo método"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_compute.py:0
+#, python-format
+msgid "Created moves"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,interval:0
+msgid "Entries per Year"
+msgstr "Asientos por año"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Revalue Method"
+msgstr "Método revalorizar"
+
+#. module: account_asset
+#: field:account.asset.method.type,code:0
+msgid "Asset Method Type Code"
+msgstr "Código tipo método de activo"
+
+#. module: account_asset
+#: help:account.asset.initial,init,acc_impairment:0
+msgid "Counter account for base value."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_total:0
+msgid "Total Change"
+msgstr "Total cambio"
+
+#. module: account_asset
+#: field:account.asset.method,value_total:0
+msgid "Gross Value"
+msgstr "Valor bruto"
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,expense_value:0
+msgid "Expense Value"
+msgstr "Valor gasto"
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "But for purchased assets use invoice line assignment."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! Number of intervals per year must be 1, 2, 3, 4, 6 or 12."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Fiscal Year"
+msgstr "Ejercicio fiscal"
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Depreciated"
+msgstr "Amortizado"
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: view:account.asset.asset:0
+msgid "Abandon Method"
+msgstr "Método abandono"
+
+#. module: account_asset
+#: help:account.asset.method,intervals_before:0
+msgid ""
+"Number of intervals calculated before asset is managed in this system. Used "
+"with Initial Values wizard. If you start asset in this system keep zero."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Asset transfered to: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#: code:addons/account_asset/account_asset_invoice.py:0
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "Error !"
+msgstr "¡Error!"
+
+#. module: account_asset
+#: wizard_button:account.asset.initial,init,asset_reval:0
+msgid "Set Initials"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_expense:0
+msgid "Expense Change"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "View"
+msgstr "Vista"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "General info"
+msgstr "Información general"
+
+#. module: account_asset
+#: model:ir.ui.menu,name:account_asset.menu_finance_periodical_assets
+msgid "Assets Calculation"
+msgstr "Cálculo activos"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Straight-Line"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_localisation
+msgid "Change Localisation"
+msgstr "Cambio localización"
+
+#. module: account_asset
+#: help:account.asset.method,account_expense_id:0
+#: help:account.asset.method.defaults,account_expense_id:0
+msgid ""
+"Select account used for depreciation expense (write-off). If you use direct "
+"method of depreciation this account should be the same as Asset Account."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,date:0
+#: field:account.asset.asset,date:0
+#: wizard_field:account.asset.compute,init,date:0
+#: field:account.asset.history,date:0
+#: wizard_field:account.asset.initial,init,date:0
+#: wizard_field:account.asset.reval,init,date:0
+msgid "Date"
+msgstr "Fecha"
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_impairment_id:0
+#: wizard_field:account.asset.reval,init,acc_impairment:0
+msgid "Impairment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product name: "
+msgstr "Nombre producto: "
+
+#. module: account_asset
+#: wizard_field:account.asset.compute,init,method_type_id:0
+#: view:account.asset.method.type:0
+#: model:ir.model,name:account_asset.model_account_asset_method_type
+msgid "Asset Method Type"
+msgstr "Tipo método de activo"
+
+#. module: account_asset
+#: help:account.asset.asset,date:0
+msgid ""
+"Set this date or leave it empty to allow system set the first purchase date."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_total:0
+msgid "Total"
+msgstr "Total"
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,value:0
+msgid "Entry Value"
+msgstr "Valor entrada"
+
+#. module: account_asset
+#: help:account.asset.method,method_period:0
+msgid ""
+"Specify the number of depreciations to be made in year. This number cannot "
+"be less then number of periods in year."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation"
+msgstr "Reevaluación"
=== added file 'account_asset/i18n/es_ES.po'
--- account_asset/i18n/es_ES.po 1970-01-01 00:00:00 +0000
+++ account_asset/i18n/es_ES.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,1457 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_asset
+#
+# Albert Cervera i Areny <albert@xxxxxxxxxxx>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.1\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-05-27 15:57:40+0000\n"
+"PO-Revision-Date: 2010-05-27 18:35+0100\n"
+"Last-Translator: Jordi Esteve (Zikzakmedia) <jesteve@xxxxxxxxxxxxxxx>\n"
+"Language-Team: Catalan <kde-i18n-ca@xxxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Lokalize 1.0\n"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
+msgid "Open Assets"
+msgstr "Activos abiertos"
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,interval:0
+msgid "How many usage entries are you going to make per year?"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_residual:0
+msgid "Residual Value"
+msgstr "Valor residual"
+
+#. module: account_asset
+#: field:account.asset.method,account_expense_id:0
+#: field:account.asset.method.defaults,account_expense_id:0
+msgid "Depr. Expense Account"
+msgstr "Cuenta amortización de gastos"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "You cannot assign Product \"%s\" to Asset Method \"%s\". This method is in Draft state or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Date must be in the period !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.defaults:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_defaults_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_defaults_form
+msgid "Asset Method Defaults"
+msgstr "Valores por defecto método de activo"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,name:0
+#: field:account.asset.history,asset_id:0
+#: field:account.asset.method,asset_id:0
+#: model:ir.model,name:account_asset.model_account_asset_asset
+msgid "Asset"
+msgstr "Activo"
+
+#. module: account_asset
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Nombre de modelo inválido en la definición de la acción."
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.method,usage_ids:0
+#: field:account.asset.method.usage,usage:0
+msgid "Usage"
+msgstr "Uso"
+
+#. module: account_asset
+#: help:account.asset.method,account_analytic_id:0
+#: help:account.asset.method,journal_analytic_id:0
+msgid "Not implemented yet."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_abandon_id:0
+msgid "Abandonment Account"
+msgstr "Cuenta de abandono"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals per Year: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_analytic_id:0
+#: field:account.asset.method.defaults,journal_analytic_id:0
+msgid "Analytic Journal"
+msgstr "Diario analÃtico"
+
+#. module: account_asset
+#: view:account.asset.history:0
+#: model:ir.model,name:account_asset.model_account_asset_history
+msgid "Asset history"
+msgstr "Histórico del activo"
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,expense_value:0
+msgid "Increasing Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,whole_asset:0
+msgid "Abandon all methods of this asset."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,life:0
+msgid "Quantity of production which make the asset method used up. Used only in Units of Production computation method and cannot be zero in this case."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.category:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_category_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_category_form
+msgid "Asset Categories"
+msgstr "CategorÃas de activo"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_field:account.asset.compute,asset_compute,move_ids:0
+#: field:account.asset.method,entry_ids:0
+msgid "Entries"
+msgstr "Asientos"
+
+#. module: account_asset
+#: help:account.asset.initial,init,value:0
+msgid "Initial Base Value of method."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+msgid "Generated entries"
+msgstr "Asientos generados"
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+#: wizard_view:account.asset.compute,init:0
+msgid "Asset Computation"
+msgstr "Cálculo de activo"
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify
+msgid "Modify asset"
+msgstr "Modificar activo"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,asset_category:0
+msgid "Select the asset category for this set of defaults. If no selection defined defaults will concern to all methods of selected type."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_initial.py:0
+#, python-format
+msgid "Inital values for asset: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,asset_open:0
+msgid "Open entries"
+msgstr "Abrir asientos"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_finance_Assets
+#: model:ir.ui.menu,name:account_asset.menu_finance_config_Assets
+msgid "Assets"
+msgstr "Activos"
+
+#. module: account_asset
+#: field:account.asset.method,account_actif_id:0
+#: field:account.asset.method.defaults,account_actif_id:0
+msgid "Depreciation Account"
+msgstr "Cuenta de amortización"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_type:0
+msgid "Select method type for this set of defaults."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_draft
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_draft
+msgid "Draft Assets"
+msgstr "Activos en estado borrador"
+
+#. module: account_asset
+#: wizard_view:account.asset.usage.createlines,init:0
+msgid "Creation of Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: wizard_field:account.asset.abandon,init,note:0
+#: wizard_view:account.asset.close,init:0
+#: wizard_field:account.asset.close,init,note:0
+#: view:account.asset.history:0
+#: wizard_view:account.asset.initial,init:0
+#: wizard_field:account.asset.initial,init,note:0
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_field:account.asset.localisation,init,note:0
+#: wizard_view:account.asset.modify,init:0
+#: wizard_field:account.asset.modify,init,note:0
+#: wizard_view:account.asset.resume,init:0
+#: wizard_field:account.asset.resume,init,note:0
+#: wizard_view:account.asset.reval,init:0
+#: wizard_field:account.asset.reval,init,note:0
+msgid "Notes"
+msgstr "Notas"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Number of Intervals: "
+msgstr ""
+"\n"
+" Número de intervalos: "
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Clear Draft and Close"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Sale"
+msgstr "Venta"
+
+#. module: account_asset
+#: help:account.asset.abandon,init,date:0
+#: help:account.asset.compute,init,date:0
+#: help:account.asset.reval,init,date:0
+msgid "Efective date for accounting move."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Parameters set to:"
+msgstr "Parámetros fijados a:"
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,asset_suppress:0
+msgid "Suppress Depreciation"
+msgstr "Suprimir amortización"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Units of Production"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Other Information"
+msgstr "Otra información"
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,asset_abandon:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_abandon
+msgid "Abandon"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Closing"
+msgstr "Cierre"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Warning !"
+msgstr "¡Aviso!"
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_defaults
+msgid "Asset Method Delfaults"
+msgstr "Valores por defecto método de activo"
+
+#. module: account_asset
+#: field:account.asset.method.defaults,method_progress_factor:0
+msgid "Progressive factor"
+msgstr "Factor de progresión"
+
+#. module: account_asset
+#: field:account.asset.history,method_end:0
+#: field:account.asset.method,method_end:0
+msgid "Ending Date"
+msgstr "Fecha final"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! You can not create recursive categories."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,value:0
+msgid "Increasing Base Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_analytic_id:0
+#: field:account.asset.method.defaults,account_analytic_id:0
+msgid "Analytic Account"
+msgstr "Cuenta analÃtica"
+
+#. module: account_asset
+#: wizard_button:account.asset.usage.createlines,init,asset_reval:0
+msgid "Create Lines"
+msgstr "Crear lÃneas"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Accounts"
+msgstr "Cuentas"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Methods"
+msgstr "Métodos de amortización"
+
+#. module: account_asset
+#: help:account.asset.method,account_residual_id:0
+msgid "Select account used for residual when asset is sold. You can change the account before sale operation."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,life:0
+#: wizard_field:account.asset.modify,init,life:0
+msgid "Life Quantity"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,partner_id:0
+#: field:account.asset.history,partner_id:0
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_progress_factor:0
+msgid "Specify the factor of progression in depreciation. It is used in Declining-Balance method. When linear depreciation is 20% per year, and you want apply Double-Declining Balance you should choose Declining-Balance method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Transfer"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Progressive Factor: "
+msgstr ""
+"\n"
+" Factor de progresión: "
+
+#. module: account_asset
+#: help:account.move.line,asset_method_id:0
+msgid "Assign the asset as depreciation method if move line concerns the asset."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_resume
+msgid "Resume asset"
+msgstr "Reactivar activo"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,acc_abandon:0
+msgid "Abandon Account"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_usage_periodical_entry
+#: model:ir.ui.menu,name:account_asset.menu_asset_method_usage
+msgid "Method Usage"
+msgstr "Método de uso"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_impairment_id:0
+msgid "Select account used for impairment amount. Used in revaluation."
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "¡XML inválido para la definición de la vista!"
+
+#. module: account_asset
+#: wizard_button:account.asset.modify,init,asset_modify:0
+msgid "Modify Method"
+msgstr "Modificar método"
+
+#. module: account_asset
+#: field:account.asset.method,method:0
+#: field:account.asset.method.defaults,method:0
+msgid "Computation Method"
+msgstr "Método de cálculo"
+
+#. module: account_asset
+#: help:account.asset.method,method_salvage:0
+msgid "Value planned to be residual after full depreciation process"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,acc_impairment:0
+#, fuzzy
+msgid "Asset Counter Account"
+msgstr "Cuenta contador de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Life Quantity: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_reval.py:0
+#, python-format
+msgid "Asset revalued because: "
+msgstr "Activo revalorizado porqué: "
+
+#. module: account_asset
+#: help:account.asset.method.usage,period_id:0
+msgid "Select period which usage concerns."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,period_id:0
+#: help:account.asset.compute,init,period_id:0
+#: help:account.asset.reval,init,period_id:0
+msgid "Calculated period and period for posting."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Choose fiscal year for entries."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_residual_id:0
+msgid "Select account used for sale residual."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+msgid "Method usage"
+msgstr "Método de uso"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Suppression"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,acc_abandon:0
+msgid "Account for asset loss amount."
+msgstr "Cuenta para importe pérdida activo."
+
+#. module: account_asset
+#: field:account.asset.method,method_salvage:0
+#: wizard_field:account.asset.modify,init,method_salvage:0
+msgid "Salvage Value"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_usage_createlines
+msgid "Usage Lines"
+msgstr "LÃnea utilizadas"
+
+#. module: account_asset
+#: help:account.asset.initial,init,date:0
+msgid "Efective date for posting."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_close.py:0
+#, python-format
+msgid "Suppressed because: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,invoice_id:0
+msgid "Invoice"
+msgstr "Factura"
+
+#. module: account_asset
+#: help:account.asset.method.usage,usage:0
+msgid "Specify usage quantity in selected period."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_delay:0
+#: field:account.asset.method.defaults,method_delay:0
+#: wizard_field:account.asset.modify,init,method_delay:0
+msgid "Number of Intervals"
+msgstr "Número de intervalos"
+
+#. module: account_asset
+#: help:account.asset.initial,init,expense_value:0
+msgid "Initial Value of method expenses. There are sum of depreciations made before this system asset management."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+msgid "Method Suppression"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Asset Description"
+msgstr "Descripción activo"
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,init,asset_compute:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute
+#: model:ir.ui.menu,name:account_asset.menu_wizard_asset_compute
+msgid "Compute assets"
+msgstr "Calcular activos"
+
+#. module: account_asset
+#: help:account.asset.method,method_delay:0
+msgid "How many intervals this asset is to be calculated in its life. If asset was calculated in other system before specify Intervals Before too."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,value:0
+msgid "Value to be added to method base value. In Direct method it is increasing of book value. In Indirect method it is increasing of cost basis. Negative value means decreasing."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change Parameters"
+msgstr "Cambio de parámetros"
+
+#. module: account_asset
+#: field:account.asset.history,type:0
+msgid "Entry Type"
+msgstr "Tipo entrada"
+
+#. module: account_asset
+#: view:account.asset.method:0
+msgid "Assets Methods"
+msgstr "Métodos de activos"
+
+#. module: account_asset
+#: help:account.asset.method,account_asset_id:0
+#: help:account.asset.method.defaults,account_asset_id:0
+msgid "Select account used for cost basis of asset. It will be applied into invoice line when you select this asset in invoice line."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_localisation.py:0
+#, python-format
+msgid "Asset transfered because: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Settings Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,parent_id:0
+msgid "Parent Category"
+msgstr "CategorÃa padre"
+
+#. module: account_asset
+#: field:account.asset.history,name:0
+msgid "History name"
+msgstr "Nombre histórico"
+
+#. module: account_asset
+#: wizard_button:account.asset.reval,init,asset_reval:0
+msgid "Revalue"
+msgstr "Revalorizar"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "This wizard works only when asset have just Draft and Closed methods !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Create Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,value:0
+msgid "Base Value"
+msgstr "Valor base"
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,intervals_before:0
+#: field:account.asset.method,intervals_before:0
+msgid "Intervals Before"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,category_id:0
+msgid "If empty all categories assets will be calculated. If you use hierarchical categories all children of selected category be calculated."
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.resume,init,asset_resume:0
+msgid "Resume Depreciation"
+msgstr "Reactivar amortización"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Suppress Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Board"
+msgstr "Tabla de amortización"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.asset_category_action
+#: model:ir.ui.menu,name:account_asset.menu_asset_category_action
+msgid "Assets Category Structure"
+msgstr "Estructura categorÃa de activo"
+
+#. module: account_asset
+#: help:account.asset.asset,localisation:0
+msgid "Set this field before asset coonfirming. Later on you will have to use Change Localisation button."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_reval
+msgid "Revaluate"
+msgstr "Revaluar"
+
+#. module: account_asset
+#: help:account.asset.method,method_progress_factor:0
+msgid "Specify the factor of progression in depreciation. Used in Declining-Balance and Progressive method only. When linear depreciation is 20% per year, and you want apply Double-Declining Balance you should choose Declining-Balance method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,name:0
+msgid "Asset Method Type Name"
+msgstr "Nombre tipo método de activo"
+
+#. module: account_asset
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation entry"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,acc_impairment:0
+msgid "Account for impairment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete assets only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,expense_value:0
+msgid "Value to be added to asset expenses. Used only in indirect method. In direct method ignored."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_actif_id:0
+msgid "Select account used for depreciation amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,date:0
+msgid "Date Created"
+msgstr "Fecha de creación"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals Before: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Sum of Years Digits"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_resume.py:0
+#, python-format
+msgid "Resuming because: "
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_category
+msgid "Asset category"
+msgstr "CategorÃa de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"\n"
+"Price: "
+msgstr ""
+"\n"
+"Precio: "
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "You cannot assign Product \"%s\" to Asset Method \"%s\". This method is already depreciated or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_initial
+msgid "Initial"
+msgstr "Inicial"
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial entry"
+msgstr "Entrada inicial"
+
+#. module: account_asset
+#: field:account.asset.asset,amount_residual:0
+msgid "Residual"
+msgstr "Valor residual"
+
+#. module: account_asset
+#: field:account.asset.asset,note:0
+#: field:account.asset.category,note:0
+#: field:account.asset.history,note:0
+#: field:account.asset.method.type,note:0
+msgid "Note"
+msgstr "Nota"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Draft"
+msgstr "Borrador"
+
+#. module: account_asset
+#: help:account.asset.method,state:0
+msgid ""
+"Open - Ready for calculation.\n"
+"Suppressed - Not calculated.\n"
+"Depreciated - Depreciation finished but method exists (can be sold or abandoned).\n"
+"Closed - Asset method doesn't exist (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Closed"
+msgstr "Cerrado"
+
+#. module: account_asset
+#: help:account.asset.asset,state:0
+msgid ""
+"Normal - Asset contains active methods (opened, suppressed or depreciated).\n"
+"Closed - Asset doesn't exist. All methods are sold or abandoned."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,asset_method_id:0
+#: field:account.asset.method.usage,asset_method_id:0
+msgid "Method"
+msgstr "Método"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase Refund"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "Normal"
+msgstr "Normal"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Initial Value"
+msgstr "Valor inicial"
+
+#. module: account_asset
+#: field:account.asset.asset,state:0
+msgid "Asset State"
+msgstr "Estado activo"
+
+#. module: account_asset
+#: wizard_field:account.asset.localisation,init,localisation:0
+msgid "Enter New localisation"
+msgstr "Introducir nueva localización"
+
+#. module: account_asset
+#: field:account.asset.asset,localisation:0
+msgid "Localisation"
+msgstr "Localización"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,whole_asset:0
+#: wizard_field:account.asset.close,init,whole_asset:0
+#: wizard_field:account.asset.resume,init,whole_asset:0
+msgid "All Methods"
+msgstr "Todos los métodos"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_modify.py:0
+#, python-format
+msgid "Modification of "
+msgstr "Modificación de"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Resume Method"
+msgstr "Método reactivación"
+
+#. module: account_asset
+#: field:account.asset.asset,active:0
+msgid "Active"
+msgstr "Activo"
+
+#. module: account_asset
+#: field:account.asset.category,child_ids:0
+msgid "Children Categories"
+msgstr "CategorÃas hijas"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product \"%s\" is assigned to Asset Method \"%s\". But this method has no Sale Residual Account to make asset moves."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,user_id:0
+msgid "User"
+msgstr "Usuario"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "year %s !"
+msgstr "año %s !"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: view:account.asset.history:0
+msgid "Asset History"
+msgstr "Histórico del activo"
+
+#. module: account_asset
+#: field:account.invoice.line,asset_method_id:0
+msgid "Asset Method"
+msgstr "Método de activo"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial Values"
+msgstr "Valores iniciales"
+
+#. module: account_asset
+#: field:account.asset.asset,method_ids:0
+msgid "Asset Method Name"
+msgstr "Nombre método de activo"
+
+#. module: account_asset
+#: model:ir.module.module,description:account_asset.module_meta_information
+msgid ""
+"Financial and accounting asset management.\n"
+" Allows to define\n"
+" * Asset category. \n"
+" * Assets.\n"
+" *Asset usage period and property.\n"
+" "
+msgstr ""
+"Gestión financiera y contable de activos.\n"
+" Permite definir\n"
+" * CategorÃas de activo. \n"
+" * Activos.\n"
+" * PerÃodo y propiedades del activo usado. "
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Cannot post in closed period !"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Summary"
+msgstr "Resumen"
+
+#. module: account_asset
+#: field:account.asset.method,account_asset_id:0
+#: field:account.asset.method.defaults,account_asset_id:0
+msgid "Asset Account"
+msgstr "Cuenta de activo"
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Wizard for starting values of asset coming from production or investment. Use it also when you continue asset management from another system."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_residual_id:0
+#: field:account.asset.method.defaults,account_residual_id:0
+msgid "Sale Residual Account"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_close
+msgid "Close asset"
+msgstr "Activo cerrado"
+
+#. module: account_asset
+#: help:account.asset.method,period_id:0
+msgid "Select period indicating first interval."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method Modyfying"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,history_ids:0
+msgid "History"
+msgstr "Historia"
+
+#. module: account_asset
+#: help:account.asset.asset,partner_id:0
+msgid "If Date field is empty this field will be filled by first purchase."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_usage
+msgid "Asset Method Usage"
+msgstr "Uso del método de activo"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Declining-Balance"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Suppressed"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: selection:account.asset.history,type:0
+msgid "Abandonment"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,period_id:0
+#: wizard_field:account.asset.compute,init,period_id:0
+#: wizard_field:account.asset.initial,init,period_id:0
+#: field:account.asset.method,period_id:0
+#: field:account.asset.method.usage,period_id:0
+#: wizard_field:account.asset.reval,init,period_id:0
+msgid "Period"
+msgstr "PerÃodo"
+
+#. module: account_asset
+#: help:account.asset.method,account_actif_id:0
+msgid "Select account used for depreciation amounts."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_progress_factor:0
+#: wizard_field:account.asset.modify,init,method_progress_factor:0
+msgid "Progressive Factor"
+msgstr "Factor de progresión"
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method parameters to modify"
+msgstr "Parámetros del método a modificar"
+
+#. module: account_asset
+#: help:account.asset.initial,init,period_id:0
+msgid "Period for posting. Consider which period to use for this posting. It should be probably some additional period before current depreciation start."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,value:0
+msgid "Value of Unit of Production. This value has to be changed before asset calculation but could be some indication for entering later on."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,category_id:0
+#: view:account.asset.category:0
+#: field:account.asset.category,name:0
+#: wizard_field:account.asset.compute,init,category_id:0
+#: field:account.asset.method.defaults,asset_category:0
+msgid "Asset Category"
+msgstr "CategorÃa de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Changing of method parameters to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,end:0
+#: wizard_button:account.asset.close,init,end:0
+#: wizard_button:account.asset.compute,init,end:0
+#: wizard_button:account.asset.initial,init,end:0
+#: wizard_button:account.asset.localisation,init,end:0
+#: wizard_button:account.asset.modify,init,end:0
+#: wizard_button:account.asset.resume,init,end:0
+#: wizard_button:account.asset.reval,init,end:0
+#: wizard_button:account.asset.usage.createlines,init,end:0
+msgid "Cancel"
+msgstr "Cancelar"
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,end:0
+msgid "Close"
+msgstr "Cerrar"
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_button:account.asset.localisation,init,asset_modify:0
+msgid "Set New Localisation"
+msgstr "Establecer nueva localización"
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Open"
+msgstr "Abrir"
+
+#. module: account_asset
+#: field:account.asset.asset,code:0
+msgid "Asset Code"
+msgstr "Código de activo"
+
+#. module: account_asset
+#: help:account.asset.initial,init,intervals_before:0
+msgid "Number of intervals calculated already before asset is managed in this system."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+msgid "Localisation Changing"
+msgstr "Cambio localización"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Resuming"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.model:0
+msgid "The Object name must start with x_ and not contain any special character !"
+msgstr "¡El nombre del objeto debe empezar con x_ y no contener ningún carácter especial!"
+
+#. module: account_asset
+#: model:ir.module.module,shortdesc:account_asset.module_meta_information
+msgid "Asset management"
+msgstr "Gestión del activo"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_abandon_id:0
+msgid "Select account used for abandonment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.resume,init:0
+msgid "Method Resuming"
+msgstr "Método reactivación"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_abandon.py:0
+#, python-format
+msgid "Asset abandoned because: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Salvage Value: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+#: wizard_view:account.asset.resume,init:0
+msgid "General information"
+msgstr "Información general"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"]\n"
+"Invoice date: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.invoice.line,asset_method_id:0
+msgid "Select the asset depreciation method if you wish to assign the purchase invoice line to fixed asset. If method doesn't exists yet you will have to create it and probably the asset itself too. After selecting the asset method the invoice line account should change according to the asset method settings but please check it before creating the invoice."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,method_type_id:0
+msgid "If empty all method types will be calculated for assets."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.type:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_type_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_type_form
+msgid "Asset Method Types"
+msgstr "Tipos métodos de activo"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Progressive"
+msgstr "Progresivo"
+
+#. module: account_asset
+#: field:account.asset.asset,sequence:0
+msgid "Seq."
+msgstr "Sec."
+
+#. module: account_asset
+#: field:account.asset.method,state:0
+msgid "Method State"
+msgstr "Estado método"
+
+#. module: account_asset
+#: field:account.asset.method,name:0
+msgid "Method name"
+msgstr "Nombre del método"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,name:0
+#: wizard_field:account.asset.close,init,name:0
+#: wizard_field:account.asset.initial,init,name:0
+#: wizard_field:account.asset.localisation,init,name:0
+#: wizard_field:account.asset.modify,init,name:0
+#: wizard_field:account.asset.resume,init,name:0
+#: wizard_field:account.asset.reval,init,name:0
+msgid "Description"
+msgstr "Descripción"
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method
+msgid "Asset method"
+msgstr "Método de activo"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete method only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_id:0
+#: field:account.asset.method.defaults,journal_id:0
+msgid "Journal"
+msgstr "Diario"
+
+#. module: account_asset
+#: field:account.asset.category,code:0
+msgid "Asset Category Code"
+msgstr "Código categorÃa de activo"
+
+#. module: account_asset
+#: field:account.move.line,asset_method_id:0
+msgid "Asset Depr. Method"
+msgstr "Método amortización activo"
+
+#. module: account_asset
+#: field:account.asset.method,method_period:0
+#: field:account.asset.method.defaults,method_period:0
+#: wizard_field:account.asset.modify,init,method_period:0
+msgid "Intervals per Year"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_type:0
+#: field:account.asset.method.defaults,method_type:0
+msgid "Method Type"
+msgstr "Tipo método"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_compute.py:0
+#, python-format
+msgid "Created moves"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,interval:0
+msgid "Entries per Year"
+msgstr "Asientos por año"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Revalue Method"
+msgstr "Método revalorizar"
+
+#. module: account_asset
+#: field:account.asset.method.type,code:0
+msgid "Asset Method Type Code"
+msgstr "Código tipo método de activo"
+
+#. module: account_asset
+#: help:account.asset.initial,init,acc_impairment:0
+msgid "Counter account for base value."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_total:0
+msgid "Total Change"
+msgstr "Total cambio"
+
+#. module: account_asset
+#: field:account.asset.method,value_total:0
+msgid "Gross Value"
+msgstr "Valor bruto"
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,expense_value:0
+msgid "Expense Value"
+msgstr "Valor gasto"
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "But for purchased assets use invoice line assignment."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! Number of intervals per year must be 1, 2, 3, 4, 6 or 12."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Fiscal Year"
+msgstr "Ejercicio fiscal"
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Depreciated"
+msgstr "Amortizado"
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: view:account.asset.asset:0
+msgid "Abandon Method"
+msgstr "Método abandono"
+
+#. module: account_asset
+#: help:account.asset.method,intervals_before:0
+msgid "Number of intervals calculated before asset is managed in this system. Used with Initial Values wizard. If you start asset in this system keep zero."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Asset transfered to: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#: code:addons/account_asset/account_asset_invoice.py:0
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "Error !"
+msgstr "¡Error!"
+
+#. module: account_asset
+#: wizard_button:account.asset.initial,init,asset_reval:0
+msgid "Set Initials"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_expense:0
+msgid "Expense Change"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "View"
+msgstr "Vista"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "General info"
+msgstr "Información general"
+
+#. module: account_asset
+#: model:ir.ui.menu,name:account_asset.menu_finance_periodical_assets
+msgid "Assets Calculation"
+msgstr "Cálculo activos"
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Straight-Line"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_localisation
+msgid "Change Localisation"
+msgstr "Cambio localización"
+
+#. module: account_asset
+#: help:account.asset.method,account_expense_id:0
+#: help:account.asset.method.defaults,account_expense_id:0
+msgid "Select account used for depreciation expense (write-off). If you use direct method of depreciation this account should be the same as Asset Account."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,date:0
+#: field:account.asset.asset,date:0
+#: wizard_field:account.asset.compute,init,date:0
+#: field:account.asset.history,date:0
+#: wizard_field:account.asset.initial,init,date:0
+#: wizard_field:account.asset.reval,init,date:0
+msgid "Date"
+msgstr "Fecha"
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_impairment_id:0
+#: wizard_field:account.asset.reval,init,acc_impairment:0
+msgid "Impairment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product name: "
+msgstr "Nombre producto:"
+
+#. module: account_asset
+#: wizard_field:account.asset.compute,init,method_type_id:0
+#: view:account.asset.method.type:0
+#: model:ir.model,name:account_asset.model_account_asset_method_type
+msgid "Asset Method Type"
+msgstr "Tipo método de activo"
+
+#. module: account_asset
+#: help:account.asset.asset,date:0
+msgid "Set this date or leave it empty to allow system set the first purchase date."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_total:0
+msgid "Total"
+msgstr "Total"
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,value:0
+msgid "Entry Value"
+msgstr "Valor entrada"
+
+#. module: account_asset
+#: help:account.asset.method,method_period:0
+msgid "Specify the number of depreciations to be made in year. This number cannot be less then number of periods in year."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation"
+msgstr "Reevaluación"
+
+#~ msgid "Linear"
+#~ msgstr "Lineal"
+#~ msgid "Childs asset"
+#~ msgstr "Activos hijos"
+#~ msgid "Reason"
+#~ msgstr "Razón"
+#~ msgid "Change history"
+#~ msgstr "Cambio histórico"
+#~ msgid "Depreciation entries"
+#~ msgstr "Asiento de dotación a la amortización "
+#~ msgid "Period per interval"
+#~ msgstr "PerÃodo por intervalo"
+#~ msgid "Depreciation duration"
+#~ msgstr "Plazo de amortización"
+#~ msgid "Cumul. value"
+#~ msgstr "Valor acumulado"
+#~ msgid "Asset property"
+#~ msgstr "Propiedad del activo"
+#~ msgid "Confirm asset"
+#~ msgstr "Confirmar activo"
+#~ msgid "Ending period"
+#~ msgstr "PerÃodo final"
+#~ msgid "Depr. method type"
+#~ msgstr "Tipo de método de amortización"
+#~ msgid "Asset board"
+#~ msgstr "Tablero de activos"
+#~ msgid "Global state"
+#~ msgstr "Estado global"
+#~ msgid "Delay"
+#~ msgstr "Retrasar"
+#~ msgid "Asset Entries"
+#~ msgstr "Asientos de activo"
+#~ msgid "Sequence"
+#~ msgstr "Secuencia"
+#~ msgid "End of asset"
+#~ msgstr "Final de activo"
+#~ msgid "Direct"
+#~ msgstr "Directo"
+#~ msgid "Indirect"
+#~ msgstr "Indirecto"
+#~ msgid "Asset Hierarchy"
+#~ msgstr "JerarquÃa de activos"
+
=== added file 'account_asset/i18n/pl.po'
--- account_asset/i18n/pl.po 1970-01-01 00:00:00 +0000
+++ account_asset/i18n/pl.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,1468 @@
+# Polish translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2010-05-27 15:57+0000\n"
+"PO-Revision-Date: 2010-06-04 09:31+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Polish <pl@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-10 03:44+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_normal
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_normal
+msgid "Open Assets"
+msgstr "Otwarte Årodki trwaÅe"
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,interval:0
+msgid "How many usage entries are you going to make per year?"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_residual:0
+msgid "Residual Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_expense_id:0
+#: field:account.asset.method.defaults,account_expense_id:0
+msgid "Depr. Expense Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"You cannot assign Product \"%s\" to Asset Method \"%s\". This method is in "
+"Draft state or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Date must be in the period !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.defaults:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_defaults_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_defaults_form
+msgid "Asset Method Defaults"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.asset,name:0
+#: field:account.asset.history,asset_id:0
+#: field:account.asset.method,asset_id:0
+#: model:ir.model,name:account_asset.model_account_asset_asset
+msgid "Asset"
+msgstr "Årodek trwaÅy"
+
+#. module: account_asset
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "NieprawidÅowa nazwa modelu w definicji akcji."
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: field:account.asset.method,usage_ids:0
+#: field:account.asset.method.usage,usage:0
+msgid "Usage"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_analytic_id:0
+#: help:account.asset.method,journal_analytic_id:0
+msgid "Not implemented yet."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_abandon_id:0
+msgid "Abandonment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals per Year: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_analytic_id:0
+#: field:account.asset.method.defaults,journal_analytic_id:0
+msgid "Analytic Journal"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.history:0
+#: model:ir.model,name:account_asset.model_account_asset_history
+msgid "Asset history"
+msgstr "Historia Årodka"
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,expense_value:0
+msgid "Increasing Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,whole_asset:0
+msgid "Abandon all methods of this asset."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,life:0
+msgid ""
+"Quantity of production which make the asset method used up. Used only in "
+"Units of Production computation method and cannot be zero in this case."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.category:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_category_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_category_form
+msgid "Asset Categories"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_field:account.asset.compute,asset_compute,move_ids:0
+#: field:account.asset.method,entry_ids:0
+msgid "Entries"
+msgstr "Zapisy"
+
+#. module: account_asset
+#: help:account.asset.initial,init,value:0
+msgid "Initial Base Value of method."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+msgid "Generated entries"
+msgstr "Wygenerowane zapisy"
+
+#. module: account_asset
+#: wizard_view:account.asset.compute,asset_compute:0
+#: wizard_view:account.asset.compute,init:0
+msgid "Asset Computation"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_modify
+msgid "Modify asset"
+msgstr "Modyfikuj Årodek"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,asset_category:0
+msgid ""
+"Select the asset category for this set of defaults. If no selection defined "
+"defaults will concern to all methods of selected type."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_initial.py:0
+#, python-format
+msgid "Inital values for asset: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,asset_open:0
+msgid "Open entries"
+msgstr "Otwórz zapisy"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_form
+#: model:ir.ui.menu,name:account_asset.menu_finance_Assets
+#: model:ir.ui.menu,name:account_asset.menu_finance_config_Assets
+msgid "Assets"
+msgstr "Årodki trwaÅe"
+
+#. module: account_asset
+#: field:account.asset.method,account_actif_id:0
+#: field:account.asset.method.defaults,account_actif_id:0
+msgid "Depreciation Account"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_type:0
+msgid "Select method type for this set of defaults."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_asset_list_draft
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_asset_list_draft
+msgid "Draft Assets"
+msgstr "Projekty Årodków"
+
+#. module: account_asset
+#: wizard_view:account.asset.usage.createlines,init:0
+msgid "Creation of Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: wizard_field:account.asset.abandon,init,note:0
+#: wizard_view:account.asset.close,init:0
+#: wizard_field:account.asset.close,init,note:0
+#: view:account.asset.history:0
+#: wizard_view:account.asset.initial,init:0
+#: wizard_field:account.asset.initial,init,note:0
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_field:account.asset.localisation,init,note:0
+#: wizard_view:account.asset.modify,init:0
+#: wizard_field:account.asset.modify,init,note:0
+#: wizard_view:account.asset.resume,init:0
+#: wizard_field:account.asset.resume,init,note:0
+#: wizard_view:account.asset.reval,init:0
+#: wizard_field:account.asset.reval,init,note:0
+msgid "Notes"
+msgstr "Uwagi"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Number of Intervals: "
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Clear Draft and Close"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,date:0
+#: help:account.asset.compute,init,date:0
+#: help:account.asset.reval,init,date:0
+msgid "Efective date for accounting move."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Parameters set to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.close,init,asset_suppress:0
+msgid "Suppress Depreciation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Units of Production"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Other Information"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,asset_abandon:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_abandon
+msgid "Abandon"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Closing"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Warning !"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_defaults
+msgid "Asset Method Delfaults"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.defaults,method_progress_factor:0
+msgid "Progressive factor"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,method_end:0
+#: field:account.asset.method,method_end:0
+msgid "Ending Date"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! You can not create recursive categories."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.reval,init,value:0
+msgid "Increasing Base Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_analytic_id:0
+#: field:account.asset.method.defaults,account_analytic_id:0
+msgid "Analytic Account"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.usage.createlines,init,asset_reval:0
+msgid "Create Lines"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Accounts"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Methods"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_residual_id:0
+msgid ""
+"Select account used for residual when asset is sold. You can change the "
+"account before sale operation."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,life:0
+#: wizard_field:account.asset.modify,init,life:0
+msgid "Life Quantity"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,partner_id:0
+#: field:account.asset.history,partner_id:0
+msgid "Partner"
+msgstr "Partner"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,method_progress_factor:0
+msgid ""
+"Specify the factor of progression in depreciation. It is used in Declining-"
+"Balance method. When linear depreciation is 20% per year, and you want apply "
+"Double-Declining Balance you should choose Declining-Balance method and "
+"enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Transfer"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Progressive Factor: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.move.line,asset_method_id:0
+msgid ""
+"Assign the asset as depreciation method if move line concerns the asset."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_resume
+msgid "Resume asset"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,acc_abandon:0
+msgid "Abandon Account"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_usage_periodical_entry
+#: model:ir.ui.menu,name:account_asset.menu_asset_method_usage
+msgid "Method Usage"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_impairment_id:0
+msgid "Select account used for impairment amount. Used in revaluation."
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML niewÅaÅciwy dla tej architektury wyÅwietlania!"
+
+#. module: account_asset
+#: wizard_button:account.asset.modify,init,asset_modify:0
+msgid "Modify Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method:0
+#: field:account.asset.method.defaults,method:0
+msgid "Computation Method"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_salvage:0
+msgid "Value planned to be residual after full depreciation process"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,acc_impairment:0
+msgid "Asset Counter Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Life Quantity: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_reval.py:0
+#, python-format
+msgid "Asset revalued because: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.usage,period_id:0
+msgid "Select period which usage concerns."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,period_id:0
+#: help:account.asset.compute,init,period_id:0
+#: help:account.asset.reval,init,period_id:0
+msgid "Calculated period and period for posting."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Choose fiscal year for entries."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_residual_id:0
+msgid "Select account used for sale residual."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.usage:0
+msgid "Method usage"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Suppression"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.abandon,init,acc_abandon:0
+msgid "Account for asset loss amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_salvage:0
+#: wizard_field:account.asset.modify,init,method_salvage:0
+msgid "Salvage Value"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_usage_createlines
+msgid "Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,date:0
+msgid "Efective date for posting."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_close.py:0
+#, python-format
+msgid "Suppressed because: "
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,invoice_id:0
+msgid "Invoice"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.usage,usage:0
+msgid "Specify usage quantity in selected period."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_delay:0
+#: field:account.asset.method.defaults,method_delay:0
+#: wizard_field:account.asset.modify,init,method_delay:0
+msgid "Number of Intervals"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,expense_value:0
+msgid ""
+"Initial Value of method expenses. There are sum of depreciations made before "
+"this system asset management."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+msgid "Method Suppression"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Asset Description"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,init,asset_compute:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_compute
+#: model:ir.ui.menu,name:account_asset.menu_wizard_asset_compute
+msgid "Compute assets"
+msgstr "Oblicz Årodki"
+
+#. module: account_asset
+#: help:account.asset.method,method_delay:0
+msgid ""
+"How many intervals this asset is to be calculated in its life. If asset was "
+"calculated in other system before specify Intervals Before too."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,value:0
+msgid ""
+"Value to be added to method base value. In Direct method it is increasing of "
+"book value. In Indirect method it is increasing of cost basis. Negative "
+"value means decreasing."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Change Parameters"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,type:0
+msgid "Entry Type"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method:0
+msgid "Assets Methods"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_asset_id:0
+#: help:account.asset.method.defaults,account_asset_id:0
+msgid ""
+"Select account used for cost basis of asset. It will be applied into invoice "
+"line when you select this asset in invoice line."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_localisation.py:0
+#, python-format
+msgid "Asset transfered because: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Settings Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.category,parent_id:0
+msgid "Parent Category"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,name:0
+msgid "History name"
+msgstr "Nazwa historii"
+
+#. module: account_asset
+#: wizard_button:account.asset.reval,init,asset_reval:0
+msgid "Revalue"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"This wizard works only when asset have just Draft and Closed methods !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Create Usage Lines"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,value:0
+msgid "Base Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,intervals_before:0
+#: field:account.asset.method,intervals_before:0
+msgid "Intervals Before"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,category_id:0
+msgid ""
+"If empty all categories assets will be calculated. If you use hierarchical "
+"categories all children of selected category be calculated."
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.resume,init,asset_resume:0
+msgid "Resume Depreciation"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Suppress Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Depreciation Board"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.act_window,name:account_asset.asset_category_action
+#: model:ir.ui.menu,name:account_asset.menu_asset_category_action
+msgid "Assets Category Structure"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,localisation:0
+msgid ""
+"Set this field before asset coonfirming. Later on you will have to use "
+"Change Localisation button."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_reval
+msgid "Revaluate"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_progress_factor:0
+msgid ""
+"Specify the factor of progression in depreciation. Used in Declining-Balance "
+"and Progressive method only. When linear depreciation is 20% per year, and "
+"you want apply Double-Declining Balance you should choose Declining-Balance "
+"method and enter 0,40 (40%) as Progressive factor."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,name:0
+msgid "Asset Method Type Name"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation entry"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,acc_impairment:0
+msgid "Account for impairment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete assets only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.reval,init,expense_value:0
+msgid ""
+"Value to be added to asset expenses. Used only in indirect method. In direct "
+"method ignored."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_actif_id:0
+msgid "Select account used for depreciation amount."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,date:0
+msgid "Date Created"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Intervals Before: "
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Sum of Years Digits"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_resume.py:0
+#, python-format
+msgid "Resuming because: "
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_category
+msgid "Asset category"
+msgstr "Kategoria Årodka"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"\n"
+"Price: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"You cannot assign Product \"%s\" to Asset Method \"%s\". This method is "
+"already depreciated or is inactive (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_initial
+msgid "Initial"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial entry"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_residual:0
+msgid "Residual"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,note:0
+#: field:account.asset.category,note:0
+#: field:account.asset.history,note:0
+#: field:account.asset.method.type,note:0
+msgid "Note"
+msgstr "Notatka"
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Draft"
+msgstr "Projekt"
+
+#. module: account_asset
+#: help:account.asset.method,state:0
+msgid ""
+"Open - Ready for calculation.\n"
+"Suppressed - Not calculated.\n"
+"Depreciated - Depreciation finished but method exists (can be sold or "
+"abandoned).\n"
+"Closed - Asset method doesn't exist (sold or abandoned)."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+#: selection:account.asset.method,state:0
+msgid "Closed"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,state:0
+msgid ""
+"Normal - Asset contains active methods (opened, suppressed or depreciated).\n"
+"Closed - Asset doesn't exist. All methods are sold or abandoned."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,asset_method_id:0
+#: field:account.asset.method.usage,asset_method_id:0
+msgid "Method"
+msgstr "Metoda"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Purchase Refund"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "Normal"
+msgstr "Normalny"
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Initial Value"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,state:0
+msgid "Asset State"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.localisation,init,localisation:0
+msgid "Enter New localisation"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,localisation:0
+msgid "Localisation"
+msgstr "Lokalizacja"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,whole_asset:0
+#: wizard_field:account.asset.close,init,whole_asset:0
+#: wizard_field:account.asset.resume,init,whole_asset:0
+msgid "All Methods"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_modify.py:0
+#, python-format
+msgid "Modification of "
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Resume Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,active:0
+msgid "Active"
+msgstr "Aktywny"
+
+#. module: account_asset
+#: field:account.asset.category,child_ids:0
+msgid "Children Categories"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"Product \"%s\" is assigned to Asset Method \"%s\". But this method has no "
+"Sale Residual Account to make asset moves."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,user_id:0
+msgid "User"
+msgstr "Użytkownik"
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "year %s !"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: view:account.asset.history:0
+msgid "Asset History"
+msgstr ""
+
+#. module: account_asset
+#: field:account.invoice.line,asset_method_id:0
+msgid "Asset Method"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: wizard_view:account.asset.initial,init:0
+msgid "Initial Values"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,method_ids:0
+msgid "Asset Method Name"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.module.module,description:account_asset.module_meta_information
+msgid ""
+"Financial and accounting asset management.\n"
+" Allows to define\n"
+" * Asset category. \n"
+" * Assets.\n"
+" *Asset usage period and property.\n"
+" "
+msgstr ""
+"Finansowe i ksiÄgowa rejestracja Årodków trwaÅych.\n"
+" Pozwala definiowaÄ\n"
+" * KategoriÄ Årodka. \n"
+" * Årodki.\n"
+" * Okresy zużycia i wÅasnoÅci.\n"
+" "
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Cannot post in closed period !"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Summary"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_asset_id:0
+#: field:account.asset.method.defaults,account_asset_id:0
+msgid "Asset Account"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid ""
+"Wizard for starting values of asset coming from production or investment. "
+"Use it also when you continue asset management from another system."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,account_residual_id:0
+#: field:account.asset.method.defaults,account_residual_id:0
+msgid "Sale Residual Account"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_close
+msgid "Close asset"
+msgstr "Zamknij Årodek"
+
+#. module: account_asset
+#: help:account.asset.method,period_id:0
+msgid "Select period indicating first interval."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method Modyfying"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,history_ids:0
+msgid "History"
+msgstr "Historia"
+
+#. module: account_asset
+#: help:account.asset.asset,partner_id:0
+msgid "If Date field is empty this field will be filled by first purchase."
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method_usage
+msgid "Asset Method Usage"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Declining-Balance"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Suppressed"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: selection:account.asset.history,type:0
+msgid "Abandonment"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,period_id:0
+#: wizard_field:account.asset.compute,init,period_id:0
+#: wizard_field:account.asset.initial,init,period_id:0
+#: field:account.asset.method,period_id:0
+#: field:account.asset.method.usage,period_id:0
+#: wizard_field:account.asset.reval,init,period_id:0
+msgid "Period"
+msgstr "Okres"
+
+#. module: account_asset
+#: help:account.asset.method,account_actif_id:0
+msgid "Select account used for depreciation amounts."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_progress_factor:0
+#: wizard_field:account.asset.modify,init,method_progress_factor:0
+msgid "Progressive Factor"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.modify,init:0
+msgid "Method parameters to modify"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,period_id:0
+msgid ""
+"Period for posting. Consider which period to use for this posting. It should "
+"be probably some additional period before current depreciation start."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.usage.createlines,init,value:0
+msgid ""
+"Value of Unit of Production. This value has to be changed before asset "
+"calculation but could be some indication for entering later on."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,category_id:0
+#: view:account.asset.category:0
+#: field:account.asset.category,name:0
+#: wizard_field:account.asset.compute,init,category_id:0
+#: field:account.asset.method.defaults,asset_category:0
+msgid "Asset Category"
+msgstr "Kategoria Årodka"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Changing of method parameters to:"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.abandon,init,end:0
+#: wizard_button:account.asset.close,init,end:0
+#: wizard_button:account.asset.compute,init,end:0
+#: wizard_button:account.asset.initial,init,end:0
+#: wizard_button:account.asset.localisation,init,end:0
+#: wizard_button:account.asset.modify,init,end:0
+#: wizard_button:account.asset.resume,init,end:0
+#: wizard_button:account.asset.reval,init,end:0
+#: wizard_button:account.asset.usage.createlines,init,end:0
+msgid "Cancel"
+msgstr "Anuluj"
+
+#. module: account_asset
+#: wizard_button:account.asset.compute,asset_compute,end:0
+msgid "Close"
+msgstr "ZamkniÄte"
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+#: wizard_button:account.asset.localisation,init,asset_modify:0
+msgid "Set New Localisation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Open"
+msgstr "Otwarty"
+
+#. module: account_asset
+#: field:account.asset.asset,code:0
+msgid "Asset Code"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,intervals_before:0
+msgid ""
+"Number of intervals calculated already before asset is managed in this "
+"system."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.localisation,init:0
+msgid "Localisation Changing"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+msgid "Depr. Resuming"
+msgstr ""
+
+#. module: account_asset
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"Nazwa obiektu musi zaczynaÄ siÄ od x_ oraz nie może zawieraÄ znaków "
+"specjalnych !"
+
+#. module: account_asset
+#: model:ir.module.module,shortdesc:account_asset.module_meta_information
+msgid "Asset management"
+msgstr "Årodki trwaÅe"
+
+#. module: account_asset
+#: help:account.asset.method.defaults,account_abandon_id:0
+msgid "Select account used for abandonment loss amount."
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.resume,init:0
+msgid "Method Resuming"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_abandon.py:0
+#, python-format
+msgid "Asset abandoned because: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid ""
+"\n"
+" Salvage Value: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.close,init:0
+#: wizard_view:account.asset.resume,init:0
+msgid "General information"
+msgstr "Informacje ogólne"
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid ""
+"]\n"
+"Invoice date: "
+msgstr ""
+
+#. module: account_asset
+#: help:account.invoice.line,asset_method_id:0
+msgid ""
+"Select the asset depreciation method if you wish to assign the purchase "
+"invoice line to fixed asset. If method doesn't exists yet you will have to "
+"create it and probably the asset itself too. After selecting the asset "
+"method the invoice line account should change according to the asset method "
+"settings but please check it before creating the invoice."
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.compute,init,method_type_id:0
+msgid "If empty all method types will be calculated for assets."
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.method.type:0
+#: model:ir.actions.act_window,name:account_asset.action_account_asset_method_type_form
+#: model:ir.ui.menu,name:account_asset.menu_action_account_asset_method_type_form
+msgid "Asset Method Types"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Progressive"
+msgstr "Progresywnie"
+
+#. module: account_asset
+#: field:account.asset.asset,sequence:0
+msgid "Seq."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,state:0
+msgid "Method State"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,name:0
+msgid "Method name"
+msgstr "Nazwa metody"
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,name:0
+#: wizard_field:account.asset.close,init,name:0
+#: wizard_field:account.asset.initial,init,name:0
+#: wizard_field:account.asset.localisation,init,name:0
+#: wizard_field:account.asset.modify,init,name:0
+#: wizard_field:account.asset.resume,init,name:0
+#: wizard_field:account.asset.reval,init,name:0
+msgid "Description"
+msgstr ""
+
+#. module: account_asset
+#: model:ir.model,name:account_asset.model_account_asset_method
+msgid "Asset method"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "You can dalete method only in Draft state !"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,journal_id:0
+#: field:account.asset.method.defaults,journal_id:0
+msgid "Journal"
+msgstr "Dziennik"
+
+#. module: account_asset
+#: field:account.asset.category,code:0
+msgid "Asset Category Code"
+msgstr ""
+
+#. module: account_asset
+#: field:account.move.line,asset_method_id:0
+msgid "Asset Depr. Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_period:0
+#: field:account.asset.method.defaults,method_period:0
+#: wizard_field:account.asset.modify,init,method_period:0
+msgid "Intervals per Year"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,method_type:0
+#: field:account.asset.method.defaults,method_type:0
+msgid "Method Type"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/wizard/wizard_asset_compute.py:0
+#, python-format
+msgid "Created moves"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,interval:0
+msgid "Entries per Year"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "Revalue Method"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method.type,code:0
+msgid "Asset Method Type Code"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.initial,init,acc_impairment:0
+msgid "Counter account for base value."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_total:0
+msgid "Total Change"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.method,value_total:0
+msgid "Gross Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.initial,init,expense_value:0
+msgid "Expense Value"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.initial,init:0
+msgid "But for purchased assets use invoice line assignment."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Error ! Number of intervals per year must be 1, 2, 3, 4, 6 or 12."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,fiscal_year:0
+msgid "Fiscal Year"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,state:0
+msgid "Depreciated"
+msgstr ""
+
+#. module: account_asset
+#: wizard_view:account.asset.abandon,init:0
+#: view:account.asset.asset:0
+msgid "Abandon Method"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,intervals_before:0
+msgid ""
+"Number of intervals calculated before asset is managed in this system. Used "
+"with Initial Values wizard. If you start asset in this system keep zero."
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#, python-format
+msgid "Asset transfered to: "
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset.py:0
+#: code:addons/account_asset/account_asset_invoice.py:0
+#: code:addons/account_asset/wizard/wizard_asset_usage_createlines.py:0
+#, python-format
+msgid "Error !"
+msgstr ""
+
+#. module: account_asset
+#: wizard_button:account.asset.initial,init,asset_reval:0
+msgid "Set Initials"
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.history,change_expense:0
+msgid "Expense Change"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.asset,state:0
+msgid "View"
+msgstr "Widok"
+
+#. module: account_asset
+#: view:account.asset.asset:0
+msgid "General info"
+msgstr "Informacje ogólne"
+
+#. module: account_asset
+#: model:ir.ui.menu,name:account_asset.menu_finance_periodical_assets
+msgid "Assets Calculation"
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.method,method:0
+#: selection:account.asset.method.defaults,method:0
+msgid "Straight-Line"
+msgstr ""
+
+#. module: account_asset
+#: view:account.asset.asset:0
+#: model:ir.actions.wizard,name:account_asset.wizard_asset_localisation
+msgid "Change Localisation"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,account_expense_id:0
+#: help:account.asset.method.defaults,account_expense_id:0
+msgid ""
+"Select account used for depreciation expense (write-off). If you use direct "
+"method of depreciation this account should be the same as Asset Account."
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.abandon,init,date:0
+#: field:account.asset.asset,date:0
+#: wizard_field:account.asset.compute,init,date:0
+#: field:account.asset.history,date:0
+#: wizard_field:account.asset.initial,init,date:0
+#: wizard_field:account.asset.reval,init,date:0
+msgid "Date"
+msgstr "Data"
+
+#. module: account_asset
+#: field:account.asset.method.defaults,account_impairment_id:0
+#: wizard_field:account.asset.reval,init,acc_impairment:0
+msgid "Impairment Account"
+msgstr ""
+
+#. module: account_asset
+#: code:addons/account_asset/account_asset_invoice.py:0
+#, python-format
+msgid "Product name: "
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.compute,init,method_type_id:0
+#: view:account.asset.method.type:0
+#: model:ir.model,name:account_asset.model_account_asset_method_type
+msgid "Asset Method Type"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.asset,date:0
+msgid ""
+"Set this date or leave it empty to allow system set the first purchase date."
+msgstr ""
+
+#. module: account_asset
+#: field:account.asset.asset,amount_total:0
+msgid "Total"
+msgstr ""
+
+#. module: account_asset
+#: wizard_field:account.asset.usage.createlines,init,value:0
+msgid "Entry Value"
+msgstr ""
+
+#. module: account_asset
+#: help:account.asset.method,method_period:0
+msgid ""
+"Specify the number of depreciations to be made in year. This number cannot "
+"be less then number of periods in year."
+msgstr ""
+
+#. module: account_asset
+#: selection:account.asset.history,type:0
+#: wizard_view:account.asset.reval,init:0
+msgid "Revaluation"
+msgstr ""
=== added directory 'account_asset/security'
=== added file 'account_asset/security/ir.model.access.csv.OTHER'
--- account_asset/security/ir.model.access.csv.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/security/ir.model.access.csv.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,11 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_account_asset_category","account.asset.category","model_account_asset_category","account.group_account_user",1,0,0,0
+"access_account_asset_asset","account.asset.asset","model_account_asset_asset","account.group_account_user",1,0,0,0
+"access_account_asset_method","account.asset.method","model_account_asset_method","account.group_account_user",1,0,0,0
+"access_account_asset_history","account.asset.history","model_account_asset_history","account.group_account_user",1,0,0,0
+"access_account_asset_method_type","account.asset.method.type","model_account_asset_method_type","account.group_account_user",1,0,0,0
+"access_account_asset_category_manager","account.asset.category","model_account_asset_category","account.group_account_manager",1,1,1,1
+"access_account_asset_asset_manager","account.asset.asset","model_account_asset_asset","account.group_account_manager",1,1,1,1
+"access_account_asset_method_manager","account.asset.method","model_account_asset_method","account.group_account_manager",1,1,1,1
+"access_account_asset_history_manager","account.asset.history","model_account_asset_history","account.group_account_manager",1,1,1,1
+"access_account_asset_method_type_manager","account.asset.method.type","model_account_asset_method_type","account.group_account_manager",1,1,1,1
=== added directory 'account_asset/wizard'
=== added file 'account_asset/wizard/__init__.py.OTHER'
--- account_asset/wizard/__init__.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/__init__.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,33 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard_asset_compute
+import wizard_asset_close
+import wizard_asset_resume
+import wizard_asset_modify
+import wizard_asset_localisation
+import wizard_asset_reval
+import wizard_asset_abandon
+import wizard_asset_initial
+import wizard_asset_usage_createlines
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_abandon.py'
--- account_asset/wizard/wizard_asset_abandon.py 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_abandon.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,96 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Abandonment">
+ <separator string="Abandon Method" colspan="4"/>
+ <field name="period_id"/>
+ <field name="date"/>
+ <newline/>
+ <field name="name" colspan="4"/>
+ <field name="acc_abandon" colspan = "4"/>
+ <field name="whole_asset"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'date': {'string': 'Date', 'type': 'date', 'required':True, 'help':"Efective date for accounting move."},
+ 'period_id': {'string': 'Period', 'type': 'many2one', 'relation':'account.period', 'required':True, 'help':"Calculated period and period for posting."},
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'whole_asset': {'string':'All Methods', 'type':'boolean', 'help':"Abandon all methods of this asset."},
+ 'acc_abandon': {'string':'Abandon Account', 'type': 'many2one', 'relation':'account.account', 'required':True, 'help':"Account for asset loss amount."},
+ 'note': {'string':'Notes', 'type':'text'},
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ method = method_obj.browse(cr, uid, data['id'], context)
+ asset_category_id = method.asset_id.category_id and method.asset_id.category_id.id or False
+ defaults = method_obj.get_defaults(cr, uid, method.method_type.id, asset_category_id, context)
+ acc_abandon = defaults and defaults.account_abandon_id and defaults.account_abandon_id.id or False
+ ids = pool.get('account.period').find(cr, uid, context=context)
+ period_id = False
+ if len(ids):
+ period_id = ids[0]
+ return {
+ 'note': _("Asset abandoned because: "),
+ 'acc_abandon': acc_abandon,
+ 'date': time.strftime('%Y-%m-%d'),
+ 'period_id': period_id,
+ }
+
+def _asset_abandon(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ met = method_obj.browse(cr, uid, data['id'], context)
+ methods = data['form']['whole_asset'] and met.asset_id.method_ids or [met]
+ method_obj._abandon(cr, uid, methods, data['form']['period_id'], data['form']['date'], data['form']['acc_abandon'], \
+ data['form']['name'], data['form']['note'], context)
+ return {}
+
+
+class wizard_asset_abandon(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_abandon','Abandon')
+ ]}
+ },
+ 'asset_abandon': {
+ 'actions': [_asset_abandon],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_abandon('account.asset.abandon')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_close.py.OTHER'
--- account_asset/wizard/wizard_asset_close.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_close.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,79 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Method Suppression">
+ <separator string="General information" colspan="4"/>
+ <field name="name" colspan="4"/>
+ <field name="whole_asset" colspan="4"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'whole_asset': {'string':'All Methods', 'type':'boolean'},
+ 'note': {'string':'Notes', 'type':'text'},
+
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method = pool.get('account.asset.method').browse(cr, uid, data['id'], context)
+ return {
+ 'note': _("Suppressed because: "),
+ }
+
+
+def _asset_suppress(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ met = method_obj.browse(cr, uid, data['id'], context)
+ methods = data['form']['whole_asset'] and met.asset_id.method_ids or [met]
+ method_obj._suppress(cr, uid, methods, data['form']['name'], data['form']['note'], context)
+ return {}
+
+
+class wizard_asset_close(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_suppress','Suppress Depreciation')
+ ]}
+ },
+ 'asset_suppress': {
+ 'actions': [_asset_suppress],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_close('account.asset.close')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_compute.py.OTHER'
--- account_asset/wizard/wizard_asset_compute.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_compute.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,122 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Asset Computation">
+ <separator string="Generated entries" colspan="4"/>
+ <field name="move_ids" readonly="1" nolabel="1"/>
+</form>'''
+
+asset_end_fields = {
+ 'move_ids': {'string':'Entries', 'type': 'one2many', 'relation':'account.move'},
+}
+
+
+asset_ask_form = '''<?xml version="1.0"?>
+<form string="Asset Computation">
+ <field name="period_id"/>
+ <field name="date"/>
+ <newline/>
+ <field name="category_id"/>
+ <field name="method_type_id"/>
+</form>'''
+
+asset_ask_fields = {
+ 'date': {'string': 'Date', 'type': 'date', 'required':True, 'help':"Efective date for accounting move."},
+ 'period_id': {'string': 'Period', 'type': 'many2one', 'relation':'account.period', 'required':True, 'help':"Calculated period and period for posting."},
+ 'category_id': {'string': 'Asset Category', 'type': 'many2one', 'relation':'account.asset.category', 'required':False, 'help': "If empty all categories assets will be calculated. If you use hierarchical categories all children of selected category be calculated."},
+ 'method_type_id' : {'string': 'Asset Method Type', 'type': 'many2one', 'relation':'account.asset.method.type', 'required':False, 'help': "If empty all method types will be calculated for assets."},
+}
+
+def _asset_compute(self, cr, uid, data, context):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ period = method_obj._check_date(cr, uid, data['form']['period_id'], data['form']['date'], context)
+ asset_obj = pool.get('account.asset.asset')
+ if data['form']['category_id']:
+ asset_ids = asset_obj.search(cr, uid, [('state','=','normal'),('category_id','child_of',[data['form']['category_id']])], context=context)
+ else:
+ asset_ids = asset_obj.search(cr, uid, [('state','=','normal')], context=context)
+ if data['form']['method_type_id']:
+ method_ids = method_obj.search(cr, uid, [('state','=','open'),('method_type','=',data['form']['method_type_id']),('asset_id','in',asset_ids)], context=context)
+ else:
+ method_ids = method_obj.search(cr, uid, [('state','=','open'),('asset_id','in',asset_ids)], context=context)
+ ids_create = []
+ for method in method_obj.browse(cr, uid, method_ids, context):
+ ids_create += method_obj._compute_entries(cr, uid, method, period, data['form']['date'], context)
+ self.move_ids = ids_create
+ return {'move_ids': ids_create}
+
+def _asset_open(self, cr, uid, data, context):
+ value = {
+ 'name': _('Created moves'),
+ 'view_type': 'form',
+ 'view_mode': 'tree,form',
+ 'res_model': 'account.move',
+ 'view_id': False,
+ 'type': 'ir.actions.act_window'
+ }
+ if data['form']['move_ids']:
+ value['domain']= "[('id','in',["+','.join(map(str,self.move_ids))+"])]"
+ else:
+ value['domain']= "[('id','=', False)]"
+ return value
+
+def _get_period(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ ids = pool.get('account.period').find(cr, uid, context=context)
+ period_id = False
+ if len(ids):
+ period_id = ids[0]
+ return {'period_id': period_id, 'date': time.strftime('%Y-%m-%d')}
+
+class wizard_asset_compute(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_get_period],
+ 'result': {'type':'form', 'arch':asset_ask_form, 'fields':asset_ask_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_compute','Compute assets')
+ ]}
+ },
+ 'asset_compute': {
+ 'actions': [_asset_compute],
+ 'result': {'type' : 'form', 'arch': asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Close'),
+ ('asset_open','Open entries')
+ ]}
+ },
+ 'asset_open': {
+ 'actions': [],
+ 'result': {'type':'action', 'action': _asset_open, 'state':'end'}
+ }
+ }
+wizard_asset_compute('account.asset.compute')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_initial.py'
--- account_asset/wizard/wizard_asset_initial.py 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_initial.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,101 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Initial Values">
+ <separator string="Initial entry" colspan="4"/>
+ <label string = "Wizard for starting values of asset coming from production or investment. Use it also when you continue asset management from another system." colspan="4"/>
+ <label string = "But for purchased assets use invoice line assignment." colspan="4"/>
+ <field name="period_id"/>
+ <field name="date"/>
+ <newline/>
+ <field name="name" colspan="4"/>
+ <field name="acc_impairment" colspan="4"/>
+ <field name="value"/>
+ <field name="expense_value"/>
+ <field name="intervals_before"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'date': {'string': 'Date', 'type': 'date', 'required':True, 'help':"Efective date for posting."},
+ 'period_id': {'string': 'Period', 'type': 'many2one', 'relation':'account.period', 'required':True, 'help':"Period for posting. Consider which period to use for this posting. It should be probably some additional period before current depreciation start."},
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'value': {'string':'Base Value', 'type':'float', 'help':"Initial Base Value of method."},
+ 'expense_value': {'string':'Expense Value', 'type':'float', 'help':"Initial Value of method expenses. There are sum of depreciations made before this system asset management."},
+ 'intervals_before': {'string':'Intervals Before', 'type':'integer', 'help':"Number of intervals calculated already before asset is managed in this system."},
+ 'acc_impairment': {'string':'Asset Counter Account', 'type': 'many2one', 'relation':'account.account', 'required':True, 'help':"Counter account for base value."},
+ 'note': {'string':'Notes', 'type':'text'},
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+# method = method_obj.browse(cr, uid, data['id'], context)
+# asset_category_id = method.asset_id.asset_category and method.asset_id.asset_category.id or False
+# defaults = method_obj.get_defaults(cr, uid, method.method_type.id, asset_category_id, context)
+# acc_impairment = defaults and defaults.account_impairment_id and defaults.account_impairment_id.id or False
+ ids = pool.get('account.period').find(cr, uid, context=context)
+ period_id = False
+ if len(ids):
+ period_id = ids[0]
+ return {
+ 'note': _("Inital values for asset: "),
+# 'acc_impairment': acc_impairment,
+ 'date': time.strftime('%Y-%m-%d'),
+ 'period_id': period_id,
+ }
+
+def _asset_initial(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ method = method_obj.browse(cr, uid, data['id'], context)
+ method_obj._initial(cr, uid, method, data['form']['period_id'], data['form']['date'], data['form']['value'], data['form']['expense_value'], \
+ data['form']['acc_impairment'], data['form']['intervals_before'], data['form']['name'], data['form']['note'], context)
+ return {}
+
+
+class wizard_asset_initial(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_reval','Set Initials')
+ ]}
+ },
+ 'asset_reval': {
+ 'actions': [_asset_initial],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_initial('account.asset.initial')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_localisation.py'
--- account_asset/wizard/wizard_asset_localisation.py 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_localisation.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,71 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Localisation Changing">
+ <separator string="Set New Localisation" colspan="4"/>
+ <field name="name" colspan="4"/>
+ <field name="localisation" colspan="4"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'localisation': {'string':'Enter New localisation', 'type':'char', 'size':32, 'required':True},
+ 'note': {'string':'Notes', 'type':'text'},
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ return {
+ 'note': _("Asset transfered because: "),
+ }
+
+def _asset_localisation(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ pool.get('account.asset.asset')._localisation(cr, uid, data['id'], data['form']['localisation'], data['form']['name'], data['form']['note'], context)
+ return {}
+
+
+class wizard_asset_localisation(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_modify','Set New Localisation')
+ ]}
+ },
+ 'asset_modify': {
+ 'actions': [_asset_localisation],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_localisation('account.asset.localisation')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_modify.py.OTHER'
--- account_asset/wizard/wizard_asset_modify.py.OTHER 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_modify.py.OTHER 2011-07-07 11:22:45 +0000
@@ -0,0 +1,89 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Method Modyfying">
+ <separator string="Method parameters to modify" colspan="4"/>
+ <field name="name" colspan="4"/>
+ <field name="method_delay"/>
+ <field name="method_period"/>
+ <field name="method_progress_factor"/>
+ <field name="method_salvage"/>
+ <field name="life"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'method_delay': {'string':'Number of Intervals', 'type':'integer'},
+ 'method_period': {'string':'Intervals per Year', 'type':'integer'},
+ 'method_progress_factor': {'string':'Progressive Factor', 'type':'float'},
+ 'method_salvage': {'string':'Salvage Value', 'type':'float'},
+ 'life': {'string':'Life Quantity', 'type':'float'},
+ 'note': {'string':'Notes', 'type':'text'},
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method = pool.get('account.asset.method').browse(cr, uid, data['id'], context)
+ return {
+ 'name': _("Modification of "),
+ 'method_delay': method.method_delay,
+ 'method_period': method.method_period,
+ 'method_progress_factor': method.method_progress_factor,
+ 'method_salvage': method.method_salvage,
+ 'life': method.life,
+
+ }
+
+def _asset_modif(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ method = method_obj.browse(cr, uid, data['id'], context)
+ method_obj._modif(cr, uid, method, data['form']['method_delay'], data['form']['method_period'], data['form']['method_progress_factor'], \
+ data['form']['method_salvage'], data['form']['life'], data['form']['name'], data['form']['note'], context)
+ return {}
+
+class wizard_asset_modify(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_modify','Modify Method')
+ ]}
+ },
+ 'asset_modify': {
+ 'actions': [_asset_modif],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_modify('account.asset.modify')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_resume.py'
--- account_asset/wizard/wizard_asset_resume.py 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_resume.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,79 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Method Resuming">
+ <separator string="General information" colspan="4"/>
+ <field name="name" colspan="4"/>
+ <field name="whole_asset" colspan="4"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'whole_asset': {'string':'All Methods', 'type':'boolean'},
+ 'note': {'string':'Notes', 'type':'text'},
+
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method = pool.get('account.asset.method').browse(cr, uid, data['id'], context)
+ return {
+ 'note': _("Resuming because: "),
+ }
+
+
+def _asset_resume(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ met = method_obj.browse(cr, uid, data['id'], context)
+ methods = data['form']['whole_asset'] and met.asset_id.method_ids or [met]
+ method_obj._resume(cr, uid, methods, data['form']['name'], data['form']['note'], context)
+ return {}
+
+
+class wizard_asset_resume(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_resume','Resume Depreciation')
+ ]}
+ },
+ 'asset_resume': {
+ 'actions': [_asset_resume],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_resume('account.asset.resume')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_reval.py'
--- account_asset/wizard/wizard_asset_reval.py 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_reval.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,98 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Revaluation">
+ <separator string="Revaluation entry" colspan="4"/>
+ <field name="period_id"/>
+ <field name="date"/>
+ <newline/>
+ <field name="name" colspan="4"/>
+ <field name="acc_impairment" colspan="4" attrs="{'readonly':[('initial','=',True)]}"/>
+ <field name="value"/>
+ <field name="expense_value"/>
+ <separator string="Notes" colspan="4"/>
+ <field name="note" nolabel="1" colspan="4"/>
+</form>'''
+
+asset_end_fields = {
+ 'date': {'string': 'Date', 'type': 'date', 'required':True, 'help':"Efective date for accounting move."},
+ 'period_id': {'string': 'Period', 'type': 'many2one', 'relation':'account.period', 'required':True, 'help':"Calculated period and period for posting."},
+ 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'value': {'string':'Increasing Base Value', 'type':'float', 'help':"Value to be added to method base value. In Direct method it is increasing of book value. In Indirect method it is increasing of cost basis. Negative value means decreasing."},
+ 'expense_value': {'string':'Increasing Expense Value', 'type':'float', 'help':"Value to be added to asset expenses. Used only in indirect method. In direct method ignored."},
+ 'acc_impairment': {'string':'Impairment Account', 'type': 'many2one', 'relation':'account.account', 'required':True, 'help':"Account for impairment loss amount."},
+ 'note': {'string':'Notes', 'type':'text'},
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ method = method_obj.browse(cr, uid, data['id'], context)
+ asset_category_id = method.asset_id.category_id and method.asset_id.category_id.id or False
+ defaults = method_obj.get_defaults(cr, uid, method.method_type.id, asset_category_id, context)
+ acc_impairment = defaults and defaults.account_impairment_id and defaults.account_impairment_id.id or False
+ ids = pool.get('account.period').find(cr, uid, context=context)
+ period_id = False
+ if len(ids):
+ period_id = ids[0]
+ return {
+ 'note': _("Asset revalued because: "),
+ 'acc_impairment': acc_impairment,
+ 'date': time.strftime('%Y-%m-%d'),
+ 'period_id': period_id,
+ }
+
+def _asset_reval(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ method = method_obj.browse(cr, uid, data['id'], context)
+ method_obj._reval(cr, uid, method, data['form']['period_id'], data['form']['date'], data['form']['value'], data['form']['expense_value'],\
+ data['form']['acc_impairment'], data['form']['name'], data['form']['note'], context)
+
+ return {}
+
+
+class wizard_asset_reval(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_reval','Revalue')
+ ]}
+ },
+ 'asset_reval': {
+ 'actions': [_asset_reval],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_reval('account.asset.reval')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added file 'account_asset/wizard/wizard_asset_usage_createlines.py'
--- account_asset/wizard/wizard_asset_usage_createlines.py 1970-01-01 00:00:00 +0000
+++ account_asset/wizard/wizard_asset_usage_createlines.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,103 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+import mx.DateTime
+from tools.translate import _
+
+asset_end_arch = '''<?xml version="1.0"?>
+<form string="Creation of Usage Lines">
+ <field name="fiscal_year"/>
+ <newline/>
+ <field name="interval"/>
+ <newline/>
+ <field name="value"/>
+</form>'''
+
+asset_end_fields = {
+ 'fiscal_year': {'string': 'Fiscal Year', 'type': 'many2one', 'relation' : 'account.fiscalyear', 'required':True, 'help':"Choose fiscal year for entries."},
+ 'interval': {'string': 'Entries per Year', 'type': 'float', 'help':"How many usage entries are you going to make per year?"},
+# 'name': {'string':'Description', 'type':'char', 'size':64, 'required':True},
+ 'value': {'string':'Entry Value', 'type':'float', 'help':"Value of Unit of Production. This value has to be changed before asset calculation but could be some indication for entering later on."},
+}
+
+def _asset_default(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ method_obj = pool.get('account.asset.method')
+ method = method_obj.browse(cr, uid, data['id'], context)
+ year_obj = pool.get('account.fiscalyear')
+ year = year_obj.find(cr, uid, dt = time.strftime('%Y-%m-%d'), exception = True, context=context)
+# asset_category_id = method.asset_id.asset_category and method.asset_id.asset_category.id or False
+# defaults = method_obj.get_defaults(cr, uid, method.method_type.id, asset_category_id, context)
+# acc_impairment = defaults and defaults.account_impairment_id and defaults.account_impairment_id.id or False
+# ids = pool.get('account.period').find(cr, uid, context=context)
+# period_id = False
+# if len(ids):
+# period_id = ids[0]
+# raise wizard.except_wizard(_('Error !'), _('year %s !')%year)
+ return {
+ 'fiscal_year': year,
+ 'interval': method.method_period,
+ 'value': method.life / method.method_delay,
+ }
+
+def _asset_createlines(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+ year = pool.get('account.fiscalyear').browse(cr, uid, data['form']['fiscal_year'],context)
+ usage_obj = pool.get('account.asset.method.usage')
+ step = 12 / data['form']['interval']
+ method_id = data['id']
+ for period in year.period_ids:
+ if not usage_obj.search(cr, uid, [('period_id','=',period.id),('asset_method_id','=',method_id)]) and \
+ ((mx.DateTime.strptime(period.date_stop, '%Y-%m-%d').month % step ) == 0):
+ usage_obj.create(cr, uid, {
+ 'asset_method_id': method_id,
+ 'period_id': period.id,
+ 'usage': data['form']['value'],
+ })
+# and ((mx.DateTime.strptime(period.date_stop, '%Y-%m-%d').month % (12 / method.method_period)) == 0)
+
+
+ return {}
+
+
+class wizard_asset_usage_createlines(wizard.interface):
+ states = {
+ 'init': {
+ 'actions': [_asset_default],
+ 'result': {'type':'form', 'arch':asset_end_arch, 'fields':asset_end_fields, 'state':[
+ ('end','Cancel'),
+ ('asset_reval','Create Lines')
+ ]}
+ },
+ 'asset_reval': {
+ 'actions': [_asset_createlines],
+ 'result': {'type' : 'state', 'state': 'end'}
+ }
+ }
+wizard_asset_usage_createlines('account.asset.usage.createlines')
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+
=== added directory 'account_balance_reporting'
=== added file 'account_balance_reporting/__init__.py'
--- account_balance_reporting/__init__.py 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/__init__.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,32 @@
+# -*- coding: utf-8 -*-
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+"""
+Account balance reporting engine
+"""
+__author__ = "Borja López Soilán (Pexego) - borjals@xxxxxxxxx"
+
+import account_balance_report_template
+import account_balance_report
+import report
+import wizard
=== added file 'account_balance_reporting/__terp__.py'
--- account_balance_reporting/__terp__.py 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/__terp__.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,68 @@
+# -*- coding: utf-8 -*-
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+{
+ "name" : "Account balance reporting engine",
+ "version" : "0.1",
+ "author" : "Pexego",
+ "website" : "http://www.pexego.es",
+ "category" : "Enterprise Specific Modules",
+ "description": """
+The module allows the user to create account balance reports and templates,
+comparing the values of 'accounting concepts' between two fiscal years
+or a set of fiscal periods.
+
+Accounting concepts values can be calculated as the sum of some account balances,
+the sum of its children, other account concepts or constant values.
+
+Generated reports are stored as objects on the server,
+so you can check them anytime later or edit them
+(to add notes for example) before printing.
+
+The module lets the user add new templates of the reports concepts,
+and associate them a specific "XML reports" (OpenERP RML files for example)
+with the design used when printing.
+So it is very easy to add predefined country-specific official reports.
+
+The user interface has been designed to be as much user-friendly as it can be.
+
+Note: It has been designed to meet Spanish/Spain localization needs,
+but it might be used as a generic accounting report engine.
+ """,
+ "depends" : [
+ 'base',
+ 'account',
+ ],
+ "init_xml" : [
+ ],
+ "demo_xml" : [ ],
+ "update_xml" : [
+ 'security/ir.model.access.csv',
+ 'account_balance_report_wizard.xml',
+ 'account_balance_report_template_view.xml',
+ 'account_balance_report_view.xml',
+ 'account_balance_report_workflow.xml',
+ 'account_balance_report_reports.xml',
+ ],
+ "installable": True
+}
=== added file 'account_balance_reporting/account_balance_report.py'
--- account_balance_reporting/account_balance_report.py 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,550 @@
+# -*- coding: utf-8 -*-
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+"""
+Account balance report objects
+
+Generic account balance report document (with header and detail lines).
+Designed following the needs of the
+Spanish/Spain localization.
+"""
+__author__ = "Borja López Soilán (Pexego)"
+
+
+from osv import fields, osv
+import re
+import time
+from tools.translate import _
+import netsvc
+
+################################################################################
+# CSS classes for the account line templates
+################################################################################
+
+CSS_CLASSES = [('default','Default'),('l1', 'Level 1'), ('l2', 'Level 2'),
+ ('l3', 'Level 3'), ('l4', 'Level 4'), ('l5', 'Level 5')]
+
+################################################################################
+# Account balance report (document / header)
+################################################################################
+
+class account_balance_report(osv.osv):
+ """
+ Account balance report.
+ It stores the configuration/header fields of an account balance report,
+ and the linked lines of detail with the values of the accounting concepts
+ (values generated from the selected template lines of detail formulas).
+ """
+
+ _name = "account.balance.report"
+
+ _columns = {
+ # Name of this report
+ 'name': fields.char('Name', size=64, required=True, select=True),
+ # Template used to calculate this report
+ 'template_id': fields.many2one('account.balance.report.template', 'Template', ondelete='set null', required=True, select=True,
+ states = {'calc_done': [('readonly', True)], 'done': [('readonly', True)]}),
+ # Date of the last calculation
+ 'calc_date': fields.datetime("Calculation date"),
+ # State of the report
+ 'state': fields.selection([('draft','Draft'),('calc','Processing'),('calc_done','Processed'),('done','Done'),('canceled','Canceled')], 'State'),
+ # Company
+ 'company_id': fields.many2one('res.company', 'Company', ondelete='cascade', readonly=True, required=True),
+ #
+ # Current fiscal year and it's (selected) periods
+ #
+ 'current_fiscalyear_id': fields.many2one('account.fiscalyear','Fiscal year 1', select=True, required=True,
+ states = {'calc_done': [('readonly', True)], 'done': [('readonly', True)]}),
+ 'current_period_ids': fields.many2many('account.period', 'account_balance_report_account_period_current_rel', 'account_balance_report_id', 'period_id', 'Fiscal year 1 periods',
+ states = {'calc_done': [('readonly', True)], 'done': [('readonly', True)]}),
+ #
+ # Previous fiscal year and it's (selected) periods
+ #
+ 'previous_fiscalyear_id': fields.many2one('account.fiscalyear','Fiscal year 2', select=True,
+ states = {'calc_done': [('readonly', True)], 'done': [('readonly', True)]}),
+ 'previous_period_ids': fields.many2many('account.period', 'account_balance_report_account_period_previous_rel', 'account_balance_report_id', 'period_id', 'Fiscal year 2 periods',
+ states = {'calc_done': [('readonly', True)], 'done': [('readonly', True)]}),
+ }
+
+ _defaults = {
+ # Current company by default:
+ 'company_id': lambda self, cr, uid, context: self.pool.get('res.users').browse(cr, uid, uid, context).company_id.id,
+ # Draft state by default:
+ 'state': lambda *a: 'draft',
+ }
+
+ #
+ # Actions ##################################################################
+ #
+
+ def action_calculate(self, cr, uid, ids, context=None):
+ """
+ Called when the user presses the Calculate button.
+ It will use the report template to generate lines of detail for the
+ report with calculated values.
+ """
+ report_line_facade = self.pool.get('account.balance.report.line')
+
+ # Set the state to 'calculating'
+ self.write(cr, uid, ids, {
+ 'state': 'calc',
+ 'calc_date': time.strftime('%Y-%m-%d %H:%M:%S')
+ })
+
+ #
+ # Replace the lines of detail of the report with new lines from its template
+ #
+
+ reports = self.browse(cr, uid, ids, context)
+ for report in reports:
+ # Clear the report data (unlink the lines of detail)
+ report_line_facade.unlink(cr, uid, [line.id for line in report.line_ids])
+
+ #
+ # Fill the report with a 'copy' of the lines of its template (if it has one)
+ #
+ if report.template_id:
+ for template_line in report.template_id.line_ids:
+ report_line_facade.create(cr, uid, {
+ 'code': template_line.code,
+ 'name': template_line.name,
+ 'report_id': report.id,
+ 'template_line_id': template_line.id,
+ 'parent_id': None,
+ 'current_value': None,
+ 'previous_value': None,
+ 'sequence': template_line.sequence,
+ 'css_class': template_line.css_class,
+ }, context)
+
+ #
+ # Set the parents of the lines in the report
+ # Note: We reload the reports objects to refresh the lines of detail.
+ #
+ reports = self.browse(cr, uid, ids, context)
+ for report in reports:
+ if report.template_id:
+ #
+ # Establecemos los padres de las lÃneas (ahora que ya están creados)
+ #
+ for line in report.line_ids:
+ if line.template_line_id and line.template_line_id.parent_id:
+ parent_line_id = report_line_facade.search(cr, uid, [('report_id', '=', report.id), ('code', '=', line.template_line_id.parent_id.code)])
+ report_line_facade.write(cr, uid, line.id, {
+ 'parent_id': len(parent_line_id) and parent_line_id[0] or None,
+ }, context)
+
+ #
+ # Calculate the values of the lines
+ # Note: We reload the reports objects to refresh the lines of detail.
+ #
+ reports = self.browse(cr, uid, ids, context)
+ for report in reports:
+ if report.template_id:
+ # Refresh the report's lines values
+ for line in report.line_ids:
+ line.refresh_values()
+
+ # Set the report as calculated
+ self.write(cr, uid, [report.id], {
+ 'state': 'calc_done'
+ })
+ else:
+ # Ouch! no template: Going back to draft state.
+ self.write(cr, uid, [report.id], {'state': 'draft'})
+ return True
+
+
+ def action_confirm(self, cr, uid, ids, context=None):
+ """
+ Called when the user clicks the confirm button.
+ """
+ self.write(cr, uid, ids, {'state': 'done'})
+ return True
+
+
+ def action_cancel(self, cr, uid, ids, context=None):
+ """
+ Called when the user clicks the cancel button.
+ """
+ self.write(cr, uid, ids, {'state': 'canceled'})
+ return True
+
+ def action_recover(self, cr, uid, ids, context=None):
+ """
+ Called when the user clicks the draft button to create
+ a new workflow instance.
+ """
+ self.write(cr, uid, ids, {'state': 'draft', 'calc_date': None})
+ wf_service = netsvc.LocalService("workflow")
+ for item_id in ids:
+ wf_service.trg_create(uid, 'account.balance.report', item_id, cr)
+ return True
+
+
+account_balance_report()
+
+
+
+################################################################################
+# Account balance report line of detail (accounting concept)
+################################################################################
+
+class account_balance_report_line(osv.osv):
+ """
+ Account balance report line / Accounting concept
+ One line of detail of the balance report representing an accounting
+ concept with its values.
+ The accounting concepts follow a parent-children hierarchy.
+ Its values (current and previous) are calculated based on the 'value'
+ formula of the linked template line.
+ """
+
+ _name = "account.balance.report.line"
+
+ _columns = {
+ # Parent report of this line
+ 'report_id': fields.many2one('account.balance.report', 'Report', ondelete='cascade'),
+
+ # Concept official code (as specified by normalized models, will be used when printing)
+ 'code': fields.char('Code', size=64, required=True, select=True),
+ # Concept official name (will be used when printing)
+ 'name': fields.char('Name', size=256, required=True, select=True),
+ # Notes value (references to the notes)
+ 'notes': fields.text('Notes'),
+ # Concept value in this fiscal year
+ 'current_value': fields.float('Fiscal year 1', digits=(16,2)),
+ # Concept value on the previous fiscal year
+ 'previous_value': fields.float('Fiscal year 2', digits=(16,2)),
+ # Date of the last calculation
+ 'calc_date': fields.datetime("Calculation date"),
+
+ # Order sequence, it's also used for grouping into sections, that's why it is a char
+ 'sequence': fields.char('Sequence', size=32, required=False),
+ # CSS class, used when printing to set the style of the line
+ 'css_class': fields.selection(CSS_CLASSES, 'CSS Class', required=False),
+
+ # Linked template line used to calculate this line values
+ 'template_line_id': fields.many2one('account.balance.report.template.line', 'Line template', ondelete='set null'),
+ # Parent accounting concept
+ 'parent_id': fields.many2one('account.balance.report.line', 'Parent', ondelete='cascade'),
+ # Children accounting concepts
+ 'child_ids': fields.one2many('account.balance.report.line', 'parent_id', 'Children'),
+ }
+
+ _defaults = {
+ # Use context report_id as the the parent report
+ 'report_id': lambda self, cr, uid, context: context.get('report_id', None),
+ # Default css class (so we always have a class)
+ 'css_class': lambda *a: 'default',
+ }
+
+ # Lines are sorted by its sequence and code
+ _order = "sequence, code"
+
+ # Don't let the user repeat codes in the report (the codes will be used to look up accounting concepts)
+ _sql_constraints = [
+ ('report_code_uniq', 'unique (report_id,code)', _("The code must be unique for this report!"))
+ ]
+
+
+
+ def name_get(self, cr, uid, ids, context=None):
+ """
+ Redefine the name_get method to show the code in the name ("[code] name").
+ """
+ if not len(ids):
+ return []
+ res=[]
+ for item in self.browse(cr,uid,ids):
+ res.append((item.id, "[%s] %s" % (item.code, item.name)))
+ return res
+
+
+ def name_search(self, cr, uid, name, args=[], operator='ilike', context={}, limit=80):
+ """
+ Redefine the name_search method to allow searching by code.
+ """
+ ids = []
+ if name:
+ ids = self.search(cr, uid, [('code','ilike',name)]+ args, limit=limit)
+ if not ids:
+ ids = self.search(cr, uid, [('name',operator,name)]+ args, limit=limit)
+ return self.name_get(cr, uid, ids, context=context)
+
+
+ def refresh_values(self, cr, uid, ids, context=None):
+ """
+ Recalculates the values of this report line using the
+ linked line template values formulas:
+
+ Depending on this formula the final value is calculated as follows:
+ - Empy template value: sum of (this concept) children values.
+ - Number with decimal point ("10.2"): that value (constant).
+ - Account numbers separated by commas ("430,431,(437)"): Sum of the account balances.
+ (The sign of the balance depends on the balance mode)
+ - Concept codes separated by "+" ("11000+12000"): Sum of those concepts values.
+ """
+ for line in self.browse(cr, uid, ids):
+ current_value = 0.0
+ previous_value = 0.0
+
+ #
+ # We use the same code to calculate both fiscal year values,
+ # just iterating over them.
+ #
+ for fyear in ('current', 'previous'):
+ value = 0
+ if fyear == 'current':
+ template_value = line.template_line_id.current_value
+ elif fyear == 'previous':
+ template_value = line.template_line_id.previous_value
+
+ # Remove characters after a ";" (we use ; for comments)
+ if template_value and len(template_value):
+ template_value = template_value.split(';')[0]
+
+ if (fyear == 'current' and not line.report_id.current_fiscalyear_id) \
+ or (fyear == 'previous' and not line.report_id.previous_fiscalyear_id):
+ value = 0
+ else:
+ #
+ # Calculate the value
+ #
+ if not template_value or not len(template_value):
+ #
+ # Empy template value => sum of the children, of this concept, values.
+ #
+ for child in line.child_ids:
+ if child.calc_date != child.report_id.calc_date:
+ # Tell the child to refresh its values
+ child.refresh_values()
+ # Reload the child data
+ child = self.browse(cr, uid, [child.id])[0]
+ if fyear == 'current':
+ value += float(child.current_value)
+ elif fyear == 'previous':
+ value += float(child.previous_value)
+
+ elif re.match(r'^\-?[0-9]*\.[0-9]*$', template_value):
+ #
+ # Number with decimal points => that number value (constant).
+ #
+ value = float(template_value)
+
+ elif re.match(r'^[0-9a-zA-Z,\(\)\*_]*$', template_value):
+ #
+ # Account numbers separated by commas => sum of the account balances.
+ #
+ # We will use the context to filter the accounts by fiscalyear
+ # and periods.
+ #
+ if fyear == 'current':
+ ctx = {
+ 'fiscalyear': line.report_id.current_fiscalyear_id.id,
+ 'periods': [p.id for p in line.report_id.current_period_ids],
+ }
+ elif fyear == 'previous':
+ ctx = {
+ 'fiscalyear': line.report_id.previous_fiscalyear_id.id,
+ 'periods': [p.id for p in line.report_id.previous_period_ids],
+ }
+
+ # Get the mode of balance calculation from the template
+ balance_mode = line.template_line_id.report_id.balance_mode
+
+ # Get the balance
+ value = line._get_account_balance(template_value, balance_mode, ctx)
+
+ elif re.match(r'^[\+\-0-9a-zA-Z_\*]*$', template_value):
+ #
+ # Account concept codes separated by "+" => sum of the concept (report lines) values.
+ #
+ for line_code in re.findall(r'(-?\(?[0-9a-zA-Z_]*\)?)', template_value):
+ # Check the sign of the code (substraction)
+ if line_code.startswith('-') or line_code.startswith('('):
+ sign = -1.0
+ else:
+ sign = 1.0
+ line_code = line_code.strip('-()*')
+
+ # Check if the code is valid (findall might return empty strings)
+ if len(line_code) > 0:
+ # Search for the line (perfect match)
+ line_ids = self.search(cr, uid, [
+ ('report_id','=', line.report_id.id),
+ ('code', '=', line_code),
+ ])
+ for child in self.browse(cr, uid, line_ids):
+ if child.calc_date != child.report_id.calc_date:
+ # Tell the child to refresh its values
+ child.refresh_values()
+ # Reload the child data
+ child = self.browse(cr, uid, [child.id])[0]
+ if fyear == 'current':
+ value += float(child.current_value) * sign
+ elif fyear == 'previous':
+ value += float(child.previous_value) * sign
+
+ #
+ # Negate the value if needed
+ #
+ if line.template_line_id.negate:
+ value = -value
+
+ if fyear == 'current':
+ current_value = value
+ elif fyear == 'previous':
+ previous_value = value
+
+ # Write the values
+ self.write(cr, uid, [line.id], {
+ 'current_value': current_value,
+ 'previous_value': previous_value,
+ 'calc_date': line.report_id.calc_date
+ })
+ return True
+
+
+ def _get_account_balance(self, cr, uid, ids, code, balance_mode=0, context=None):
+ """
+ It returns the (debit, credit, balance*) tuple for a account with the
+ given code, or the sum of those values for a set of accounts
+ when the code is in the form "400,300,(323)"
+
+ Depending on the balance_mode, the balance is calculated as follows:
+ Mode 0: debit-credit for all accounts (default);
+ Mode 1: debit-credit, credit-debit for accounts in brackets;
+ Mode 2: credit-debit for all accounts;
+ Mode 3: credit-debit, debit-credit for accounts in brackets.
+
+ Also the user may specify to use only the debit or credit of the account
+ instead of the balance writing "debit(551)" or "credit(551)".
+ """
+ acc_facade = self.pool.get('account.account')
+ res = 0.0
+ line = self.browse(cr, uid, ids)[0]
+
+ assert balance_mode in ('0','1','2','3'), "balance_mode should be in [0..3]"
+
+ # We iterate over the accounts listed in "code", so code can be
+ # a string like "430+431+432-438"; accounts split by "+" will be added,
+ # accounts split by "-" will be substracted.
+ #
+ # We also take in consideration the balance_mode:
+ # Mode 0: credit-debit for all accounts
+ # Mode 1: debit-credit, credit-debit for accounts in brackets
+ # Mode 2: credit-debit, debit-credit for accounts in brackets
+ # Mode 3: credit-debit, debit-credit for accounts in brackets.
+ #
+ # And let the user get just the credit or debit if he specifies so.
+ #
+ for account_code in re.findall('(-?\w*\(?[0-9a-zA-Z_]*\)?)', code):
+ # Check if the code is valid (findall might return empty strings)
+ if len(account_code) > 0:
+ #
+ # Check the sign of the code (substraction)
+ #
+ if account_code.startswith('-'):
+ sign = -1.0
+ account_code = account_code[1:] # Strip the sign
+ else:
+ sign = 1.0
+
+
+ if re.match(r'^debit\(.*\)$', account_code):
+ # Use debit instead of balance
+ mode = 'debit'
+ account_code = account_code[6:-1] # Strip debit()
+ elif re.match(r'^credit\(.*\)$', account_code):
+ # Use credit instead of balance
+ mode = 'credit'
+ account_code = account_code[7:-1] # Strip credit()
+ else:
+ mode = 'balance'
+ #
+ # Calculate the balance, as given by the balance mode
+ #
+ if balance_mode == '1':
+ # We use debit-credit as default balance,
+ # but for accounts in brackets we use credit-debit
+ if account_code.startswith('(') and account_code.endswith(')'):
+ sign = -1.0 * sign
+ elif balance_mode == '2':
+ # We use credit-debit as the balance,
+ sign = -1.0 * sign
+ elif balance_mode == '3':
+ # We use credit-debit as default balance,
+ # but for accounts in brackets we use debit-credit
+ if not account_code.startswith('(') and account_code.endswith(')'):
+ sign = -1.0 * sign
+ # Strip the brackets (if there are brackets)
+ if account_code.startswith('(') and account_code.endswith(')'):
+ account_code = account_code[1:-1]
+
+ # Search for the account (perfect match)
+ account_ids = acc_facade.search(cr, uid, [
+ ('code', '=', account_code),
+ ('company_id','=', line.report_id.company_id.id)
+ ], context=context)
+ if not account_ids:
+ # We didn't find the account, search for a subaccount ending with '0'
+ account_ids = acc_facade.search(cr, uid, [
+ ('code', '=like', '%s%%0' % account_code),
+ ('company_id','=', line.report_id.company_id.id)
+ ], context=context)
+
+ if len(account_ids) > 0:
+ if mode == 'debit':
+ res += acc_facade.browse(cr, uid, account_ids, context)[0].debit
+ elif mode == 'credit':
+ res += acc_facade.browse(cr, uid, account_ids, context)[0].credit
+ else:
+ res += acc_facade.browse(cr, uid, account_ids, context)[0].balance * sign
+ else:
+ netsvc.Logger().notifyChannel('account_balance_report', netsvc.LOG_WARNING, "Account with code '%s' not found!" % account_code)
+
+ return res
+
+
+account_balance_report_line()
+
+
+class account_balance_report_withlines(osv.osv):
+ """
+ Extend the 'account balance report' to add a link to its
+ lines of detail.
+ """
+
+ _inherit = "account.balance.report"
+
+ _columns = {
+ 'line_ids': fields.one2many('account.balance.report.line', 'report_id', 'Lines',
+ states = {'done': [('readonly', True)]}),
+ }
+
+account_balance_report_withlines()
+
+
+
+
=== added file 'account_balance_reporting/account_balance_report_reports.xml'
--- account_balance_reporting/account_balance_report_reports.xml 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report_reports.xml 2011-07-07 11:22:45 +0000
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+-->
+<!--
+Generic sample reports for the account balance reporting engine.
+
+Author: Borja López Soilán (Pexego) - borjals@xxxxxxxxx
+-->
+<openerp>
+ <data>
+
+ <!-- Generic report -->
+ <report id="report_account_balance_reporting_generic"
+ string="Generic balance report"
+ model="account.balance.report"
+ name="report_account_balance_reporting.generic"
+ rml="addons/account_balance_reporting/report/generic_report.rml"
+ auto="True"
+ menu="False"
+ header="True" />
+
+ <!-- Generic report without zero lines -->
+ <report id="report_account_balance_reporting_default_non_zero"
+ string="Generic balance report (non zero lines)"
+ model="account.balance.report"
+ name="report_account_balance_reporting.generic_non_zero"
+ rml="addons/account_balance_reporting/report/generic_non_zero_report.rml"
+ auto="True"
+ menu="False"
+ header="True" />
+
+ </data>
+</openerp>
+
\ No newline at end of file
=== added file 'account_balance_reporting/account_balance_report_template.py'
--- account_balance_reporting/account_balance_report_template.py 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report_template.py 2011-07-07 11:22:45 +0000
@@ -0,0 +1,259 @@
+# -*- coding: utf-8 -*-
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+"""
+Account balance report templates
+
+Generic account balance report template that will be used to define
+accounting concepts with formulas to calculate its values/balance.
+Designed following the needs of the Spanish/Spain localization.
+"""
+__author__ = "Borja López Soilán (Pexego) - borjals@xxxxxxxxx"
+
+
+from osv import fields, osv
+import re
+import time
+from tools.translate import _
+
+_BALANCE_MODE_HELP = """Formula calculation mode: Depending on it, the balance is calculated as follows:
+ Mode 0: debit-credit (default);
+ Mode 1: debit-credit, credit-debit for accounts in brackets;
+ Mode 2: credit-debit;
+ Mode 3: credit-debit, debit-credit for accounts in brackets."""
+
+_VALUE_FORMULA_HELP = """Value calculation formula: Depending on this formula the final value is calculated as follows:
+ Empy template value: sum of (this concept) children values.
+ Number with decimal point ("10.2"): that value (constant).
+ Account numbers separated by commas ("430,431,(437)"): Sum of the account balances
+ (the sign of the balance depends on the balance mode).
+ Concept codes separated by "+" ("11000+12000"): Sum of those concepts values.
+"""
+
+################################################################################
+# CSS classes for the account lines
+################################################################################
+
+CSS_CLASSES = [('default','Default'),('l1', 'Level 1'), ('l2', 'Level 2'),
+ ('l3', 'Level 3'), ('l4', 'Level 4'), ('l5', 'Level 5')]
+
+################################################################################
+# Account balance report template (document/header)
+################################################################################
+
+class account_balance_report_template(osv.osv):
+ """
+ Account balance report template.
+ It stores the header fields of an account balance report template,
+ and the linked lines of detail with the formulas to calculate
+ the accounting concepts of the report.
+ """
+
+ _name = "account.balance.report.template"
+
+ _columns = {
+ # Report template name
+ 'name': fields.char('Name', size=64, required=True, select=True),
+ # Type (system = not editable by the user [updated from XML files])
+ 'type': fields.selection([('system','System'),('user','User')], 'Type'),
+ # Report design
+ 'report_xml_id': fields.many2one('ir.actions.report.xml', 'Report design', ondelete='set null'),
+ # Description
+ 'description': fields.text('Description'),
+ # Balance mode
+ 'balance_mode': fields.selection([('0','Debit-Credit'),('1','Debit-Credit, reversed with brakets'),('2','Credit-Debit'),('3','Credit-Debit, reversed with brakets')], 'Balance mode', help=_BALANCE_MODE_HELP),
+ }
+
+ _defaults = {
+ # New templates are 'user' editable by default
+ 'type': lambda *a: 'user',
+ # Use mode 0 by default
+ 'balance_mode': lambda *a: '0',
+ }
+
+ def copy(self, cr, uid, id, default=None, context=None):
+ """
+ Redefine the copy method to perform it correctly as the line
+ structure is a graph.
+ """
+ line_facade = self.pool.get('account.balance.report.template.line')
+
+ # Read the current item data:
+ template = self.browse(cr, uid, id)
+
+ # Create the template
+ new_id = self.create(cr, uid, {
+ 'name': '%s*' % template.name, # We change the name to identify the copy
+ 'type': 'user', # Copies are always user templates
+ 'report_xml_id': template.report_xml_id.id,
+ 'description': template.description,
+ 'balance_mode': template.balance_mode,
+ 'line_ids': None,
+ }, context)
+
+ #
+ # Now create the lines (without parents)
+ #
+ for line in template.line_ids:
+ line_facade.create(cr, uid, {
+ 'report_id': new_id,
+ 'sequence': line.sequence,
+ 'css_class': line.css_class,
+ 'code': line.code,
+ 'name': line.name,
+ 'current_value': line.current_value,
+ 'previous_value': line.previous_value,
+ 'negate': line.negate,
+ 'parent_id': None,
+ 'child_ids': None,
+ }, context)
+
+ #
+ # Now set the (lines) parents
+ #
+ for line in template.line_ids:
+ if line.parent_id:
+ # Search for the copied line
+ new_line_id = line_facade.search(cr, uid, [
+ ('report_id', '=', new_id),
+ ('code', '=', line.code),
+ ])[0]
+ # Search for the copied parent line
+ new_parent_id = line_facade.search(cr, uid, [
+ ('report_id', '=', new_id),
+ ('code', '=', line.parent_id.code),
+ ])[0]
+ # Set the parent
+ line_facade.write(cr, uid, new_line_id, {
+ 'parent_id': new_parent_id,
+ })
+
+ return new_id
+
+account_balance_report_template()
+
+
+
+################################################################################
+# Account balance report template line of detail (accounting concept template)
+################################################################################
+
+class account_balance_report_template_line(osv.osv):
+ """
+ Account balance report template line / Accounting concept template
+ One line of detail of the balance report representing an accounting
+ concept with the formulas to calculate its values.
+ The accounting concepts follow a parent-children hierarchy.
+ """
+
+ _name = "account.balance.report.template.line"
+
+ _columns = {
+ # Parent report of this line
+ 'report_id': fields.many2one('account.balance.report.template', 'Template', ondelete='cascade'),
+
+ # Order sequence, it's also used for grouping into sections, that's why it is a char
+ 'sequence': fields.char('Sequence', size=32, required=False, help="Lines will be sorted/grouped by this field"),
+ # CSS class, used when printing to set the style of the line
+ 'css_class': fields.selection(CSS_CLASSES, 'CSS Class', required=False, help="Style-sheet class"),
+
+ # Concept official code (as specified by normalized models, will be used when printing)
+ 'code': fields.char('Code', size=64, required=True, select=True, help="Concept code, may be used on formulas to reference this line"),
+ # Concept official name (will be used when printing)
+ 'name': fields.char('Name', size=256, required=True, select=True, help="Concept name/description"),
+ # Concept value formula in this fiscal year
+ 'current_value': fields.text('Fiscal year 1 formula', help=_VALUE_FORMULA_HELP),
+ # Concept value on the previous fiscal year
+ 'previous_value': fields.text('Fiscal year 2 formula', help=_VALUE_FORMULA_HELP),
+ # Negate the value?
+ 'negate': fields.boolean('Negate', help="Negate the value (change the sign of the balance)"),
+
+ # Parent accounting concept
+ 'parent_id': fields.many2one('account.balance.report.template.line', 'Parent', ondelete='cascade'),
+ # Children accounting concepts
+ 'child_ids': fields.one2many('account.balance.report.template.line', 'parent_id', 'Children'),
+ }
+
+ _defaults = {
+ # Use context report_id as the the parent report
+ 'report_id': lambda self, cr, uid, context: context.get('report_id', None),
+ # Don't negate by default
+ 'negate': lambda *a: False,
+ # Default css class (so we always have a class)
+ 'css_class': lambda *a: 'default',
+ }
+
+ # Lines are sorted by its sequence and code
+ _order = "sequence, code"
+
+ # Don't let the user repeat codes in the report (the codes will be used to look up accounting concepts)
+ _sql_constraints = [
+ ('report_code_uniq', 'unique (report_id,code)', _("The code must be unique for this report!"))
+ ]
+
+
+
+ def name_get(self, cr, uid, ids, context=None):
+ """
+ Redefine the name_get method to show the code in the name ("[code] name").
+ """
+ if not len(ids):
+ return []
+ res=[]
+ for item in self.browse(cr,uid,ids):
+ res.append((item.id, "[%s] %s" % (item.code, item.name)))
+ return res
+
+
+ def name_search(self, cr, uid, name, args=[], operator='ilike', context={}, limit=80):
+ """
+ Redefine the name_search method to allow searching by code.
+ """
+ ids = []
+ if name:
+ ids = self.search(cr, uid, [('code','ilike',name)]+ args, limit=limit)
+ if not ids:
+ ids = self.search(cr, uid, [('name',operator,name)]+ args, limit=limit)
+ return self.name_get(cr, uid, ids, context=context)
+
+
+account_balance_report_template_line()
+
+
+class account_balance_report_template_withlines(osv.osv):
+ """
+ Extend the 'account balance report template' to add a link to its
+ lines of detail.
+ """
+
+ _inherit = "account.balance.report.template"
+
+ _columns = {
+ 'line_ids': fields.one2many('account.balance.report.template.line', 'report_id', 'Lines'),
+ }
+
+account_balance_report_template_withlines()
+
+
+
+
=== added file 'account_balance_reporting/account_balance_report_template_view.xml'
--- account_balance_reporting/account_balance_report_template_view.xml 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report_template_view.xml 2011-07-07 11:22:45 +0000
@@ -0,0 +1,170 @@
+<?xml version="1.0"?>
+<!--
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+-->
+<!--
+Views for the account balance report templates and its lines.
+
+Author: Borja López Soilán (Pexego) - borjals@xxxxxxxxx
+-->
+<openerp>
+ <data>
+
+ <!--**** Template views *********************************************-->
+
+ <!-- Template form view -->
+ <record model="ir.ui.view" id="view_account_balance_report_template_form">
+ <field name="name">account.balance.report.template.form</field>
+ <field name="model">account.balance.report.template</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Account balance report template">
+ <group colspan="4">
+ <field name="name" select="1"/>
+ <field name="type" select="1" readonly="1"/>
+ <field name="report_xml_id" select="2" domain="[('model','=','account.balance.report')]"/>
+ <field name="balance_mode" select="2"/>
+ </group>
+ <notebook colspan="4">
+ <page string="Information">
+ <field name="description" colspan="4" nolabel="1"/>
+ </page>
+ <page string="Lines">
+ <field name="line_ids" nolabel="1" context="{'report_id':active_id}">
+ <tree string="Template lines" editable="bottom"
+ colors="blue:css_class in ('l1')">
+ <field name="code" select="1" colspan="1"/>
+ <field name="name" select="1" colspan="2"/>
+ <field name="current_value" colspan="2"/>
+ <field name="previous_value" colspan="2"/>
+ <field name="negate" select="2" colspan="1"/>
+ <field name="report_id" invisible="1"/>
+ <field name="parent_id" select="1" colspan="1" domain="[('report_id','=',report_id)]"/>
+ <field name="sequence" select="1" colspan="1"/>
+ <field name="css_class" select="1" colspan="1"/>
+ </tree>
+ <form string="Template line">
+ <group colspan="4">
+ <field name="code" select="1" colspan="1"/>
+ <field name="name" select="1" colspan="3"/>
+ </group>
+ <group colspan="4">
+ <field name="report_id" select="1" readonly="1"/>
+ <field name="parent_id" select="1" domain="[('report_id','=',report_id)]"/>
+ </group>
+ <group string="Values" colspan="4">
+ <field name="current_value"/>
+ <field name="previous_value"/>
+ <field name="negate" select="2" colspan="1"/>
+ </group>
+ <group string="Style" colspan="4">
+ <field name="sequence"/>
+ <field name="css_class"/>
+ </group>
+ </form>
+ </field>
+ </page>
+ </notebook>
+ </form>
+ </field>
+ </record>
+
+ <!-- Template tree view -->
+ <record model="ir.ui.view" id="view_account_balance_report_template_tree">
+ <field name="name">account.balance.report.template.tree</field>
+ <field name="model">account.balance.report.template</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Account balance report templates">
+ <field name="name" select="1"/>
+ <field name="type" select="1"/>
+ </tree>
+ </field>
+ </record>
+
+
+ <!--*** Template lines views ****************************************-->
+
+ <!-- Template line form view -->
+ <record model="ir.ui.view" id="view_account_balance_report_template_line_form">
+ <field name="name">account.balance.report.template.line.form</field>
+ <field name="model">account.balance.report.template.line</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Account balance report template line">
+ <group colspan="4">
+ <field name="code" select="1" colspan="1"/>
+ <field name="name" select="1" colspan="3"/>
+ </group>
+ <group colspan="4">
+ <field name="report_id" select="1"/>
+ <field name="parent_id" select="1"/>
+ </group>
+ <group string="Values" colspan="4">
+ <field name="current_value" colspan="2"/>
+ <field name="previous_value" colspan="2"/>
+ </group>
+ <group string="Style" colspan="4">
+ <field name="sequence" colspan="1"/>
+ <field name="css_class" colspan="1"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <!-- Template line tree view -->
+ <record model="ir.ui.view" id="view_account_balance_report_template_line_tree">
+ <field name="name">account.balance.report.template.line.tree</field>
+ <field name="model">account.balance.report.template.line</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Account balance report template lines">
+ <field name="code" select="1"/>
+ <field name="name" select="1"/>
+ <field name="report_id" select="1"/>
+ <field name="parent_id" select="1"/>
+ <field name="sequence" select="1" colspan="1"/>
+ <field name="css_class" select="1" colspan="1"/>
+ </tree>
+ </field>
+ </record>
+
+
+ <!--*** Menus and windows *******************************************-->
+
+ <record model="ir.actions.act_window" id="action_view_account_balance_report_template">
+ <field name="name">Account balance templates</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">account.balance.report.template</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="view_id" ref="view_account_balance_report_template_tree"/>
+ </record>
+
+ <menuitem id="menu_account_balance_report"
+ name="Account balance reports"
+ parent="account.menu_finance_legal_statement"/>
+
+ <menuitem id="menu_account_balance_report_templates"
+ name="Templates"
+ parent="menu_account_balance_report"
+ action="action_view_account_balance_report_template"/>
+ </data>
+</openerp>
=== added file 'account_balance_reporting/account_balance_report_view.xml'
--- account_balance_reporting/account_balance_report_view.xml 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report_view.xml 2011-07-07 11:22:45 +0000
@@ -0,0 +1,198 @@
+<?xml version="1.0"?>
+<!--
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+-->
+<!--
+Views for the account balance reports and its lines.
+
+Author: Borja López Soilán (Pexego) - borjals@xxxxxxxxx
+-->
+<openerp>
+ <data>
+
+
+ <!--**** Report views ***********************************************-->
+
+ <!-- Report form view -->
+ <record model="ir.ui.view" id="view_account_balance_report_form">
+ <field name="name">account.balance.report.form</field>
+ <field name="model">account.balance.report</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Account balance report">
+ <field name="name" select="1"/>
+ <notebook>
+ <page string="Configuration">
+ <group string="Parameters" colspan="4">
+ <group colspan="4">
+ <field name="company_id" select="1"/>
+ <field name="template_id" select="1"/>
+ </group>
+ <group colspan="4">
+ <group string="Fiscal year 1" colspan="2">
+ <field name="current_fiscalyear_id" select="2" colspan="4" nolabel="1"/>
+ <field name="current_period_ids" colspan="4" nolabel="1" domain="[('fiscalyear_id','=',current_fiscalyear_id)]"/>
+ </group>
+ <group string="Fiscal year 2" colspan="2">
+ <field name="previous_fiscalyear_id" colspan="4" nolabel="1"/>
+ <field name="previous_period_ids" colspan="4" nolabel="1" domain="[('fiscalyear_id','=',previous_fiscalyear_id)]"/>
+ </group>
+ </group>
+ </group>
+ <group string="State" colspan="4">
+ <field name="state" select="2" readonly="1"/>
+ <field name="calc_date" select="2" readonly="1"/>
+ </group>
+ <group colspan="4">
+ <!-- <button name="calculate" string="Calculate" states="draft"/> -->
+ <button name="%(wiz_account_balance_report_calculate)d" type="action" string="Calculate" states="draft" icon="gtk-execute"/>
+ <button name="confirm" string="Confirm" states="calc_done" icon="gtk-apply"/>
+ <button name="cancel" string="Cancel" states="calc_done,done" icon="gtk-cancel"/>
+ <button name="action_recover" string="Draft" type="object" states="canceled" icon="gtk-undo"/>
+ </group>
+ </page>
+ <page string="Lines">
+ <field name="line_ids" nolabel="1" context="{'report_id':active_id}">
+ <tree string="Report lines" editable="bottom"
+ colors="blue:css_class in ('l1')">
+ <field name="code" select="1" colspan="1"/>
+ <field name="name" select="1" colspan="2"/>
+ <field name="notes" colspan="4"/>
+ <field name="current_value" colspan="2"/>
+ <field name="previous_value" colspan="2"/>
+ <field name="report_id" invisible="1"/>
+ <field name="parent_id" select="1" colspan="1" domain="[('report_id','=',report_id)]"/>
+ <field name="sequence" select="1" colspan="1"/>
+ <field name="css_class" select="1" colspan="1"/>
+ </tree>
+ <form string="Report line">
+ <group colspan="4">
+ <field name="code" select="1" colspan="1"/>
+ <field name="name" select="1" colspan="3"/>
+ </group>
+ <group colspan="4">
+ <field name="report_id" select="1"/>
+ <field name="parent_id" select="1" domain="[('report_id','=',report_id)]"/>
+ </group>
+ <group string="Values" colspan="4">
+ <field name="notes" colspan="4"/>
+ <field name="current_value" colspan="2"/>
+ <field name="previous_value" colspan="2"/>
+ </group>
+ <group string="Style" colspan="4">
+ <field name="sequence" colspan="1"/>
+ <field name="css_class" colspan="1"/>
+ </group>
+ </form>
+ </field>
+ </page>
+ </notebook>
+ </form>
+ </field>
+ </record>
+
+ <!-- Report tree view -->
+ <record model="ir.ui.view" id="view_account_balance_report_tree">
+ <field name="name">account.balance.report.tree</field>
+ <field name="model">account.balance.report</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Account balance reports">
+ <field name="name" select="1"/>
+ <field name="company_id" select="1"/>
+ <field name="template_id" select="2" colspan="4"/>
+ <field name="current_fiscalyear_id" select="1"/>
+ <field name="previous_fiscalyear_id" select="2"/>
+ <field name="state" colspan="4" select="2"/>
+ </tree>
+ </field>
+ </record>
+
+
+ <!--*** Report lines views ******************************************-->
+
+ <!-- Report line form view -->
+ <record model="ir.ui.view" id="view_account_balance_report_line_form">
+ <field name="name">account.balance.report.line.form</field>
+ <field name="model">account.balance.report.line</field>
+ <field name="type">form</field>
+ <field name="arch" type="xml">
+ <form string="Account balance report line">
+ <group colspan="4">
+ <field name="code" select="1" colspan="1"/>
+ <field name="name" select="1" colspan="3"/>
+ </group>
+ <group colspan="4">
+ <field name="report_id" select="1"/>
+ <field name="parent_id" select="1"/>
+ </group>
+ <group string="Values" colspan="4">
+ <field name="current_value" colspan="2"/>
+ <field name="previous_value" colspan="2"/>
+ </group>
+ <group string="Style" colspan="4">
+ <field name="sequence" colspan="1"/>
+ <field name="css_class" colspan="1"/>
+ </group>
+ </form>
+ </field>
+ </record>
+
+ <!-- Line tree view -->
+ <record model="ir.ui.view" id="view_account_balance_report_line_tree">
+ <field name="name">account.balance.report.line.tree</field>
+ <field name="model">account.balance.report.line</field>
+ <field name="type">tree</field>
+ <field name="arch" type="xml">
+ <tree string="Account balance report lines">
+ <field name="sequence" select="1" colspan="1"/>
+ <field name="code" select="1"/>
+ <field name="name" select="1"/>
+ <field name="report_id" select="1"/>
+ <field name="parent_id" select="1"/>
+ <field name="sequence" select="1" colspan="1"/>
+ <field name="css_class" select="1" colspan="1"/>
+ </tree>
+ </field>
+ </record>
+
+
+ <!--*** Menus and windows *******************************************-->
+
+ <record model="ir.actions.act_window" id="action_view_account_balance_report">
+ <field name="name">Account balance reports</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">account.balance.report</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="view_id" ref="view_account_balance_report_tree"/>
+ </record>
+
+ <menuitem id="menu_account_balance_report"
+ name="Account balance reports"
+ parent="account.menu_finance_legal_statement"/>
+
+ <menuitem id="menu_account_balance_report_reports"
+ name="Reports"
+ parent="menu_account_balance_report"
+ action="action_view_account_balance_report"/>
+
+ </data>
+</openerp>
=== added file 'account_balance_reporting/account_balance_report_wizard.xml'
--- account_balance_reporting/account_balance_report_wizard.xml 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report_wizard.xml 2011-07-07 11:22:45 +0000
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+-->
+<!--
+Wizards for the account balance reports.
+
+Author: Borja López Soilán (Pexego) - borjals@xxxxxxxxx
+-->
+<openerp>
+ <data>
+
+ <!-- Print wizard -->
+ <wizard id="wiz_account_balance_report_print"
+ model="account.balance.report"
+ string="Print report"
+ name="account_balance_report.print_wizard"/>
+
+ <!-- Calculate wizard -->
+ <wizard id="wiz_account_balance_report_calculate"
+ model="account.balance.report"
+ string="Calculate report"
+ name="account_balance_report.calculate_wizard"
+ menu="False"/>
+ </data>
+</openerp>
=== added file 'account_balance_reporting/account_balance_report_workflow.xml'
--- account_balance_reporting/account_balance_report_workflow.xml 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/account_balance_report_workflow.xml 2011-07-07 11:22:45 +0000
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+<!--
+#
+# OpenERP - Account balance reporting engine
+# Copyright (C) 2009 Pexego Sistemas Informáticos. All Rights Reserved
+# $Id$
+#
+# 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 3 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, see <http://www.gnu.org/licenses/>.
+#
+-->
+<!--
+Account balance report workflow.
+
+Author: Borja López Soilán (Pexego) - borjals@xxxxxxxxx
+-->
+<openerp>
+ <data>
+ <!-- *** Nodes ***************************************************** -->
+
+ <record model="workflow" id="wkf_account_balance_report">
+ <field name="name">Account balance report workflow</field>
+ <field name="osv">account.balance.report</field>
+ <field name="on_create">True</field>
+ </record>
+
+
+ <record model="workflow.activity" id="act_draft">
+ <field name="wkf_id" ref="wkf_account_balance_report"/>
+ <field name="flow_start">True</field>
+ <field name="name">draft</field>
+ </record>
+
+ <record model="workflow.activity" id="act_calculate">
+ <field name="wkf_id" ref="wkf_account_balance_report"/>
+ <field name="name">calculated</field>
+ <field name="action">action_calculate()</field>
+ <field name="kind">function</field>
+ </record>
+
+ <record model="workflow.activity" id="act_confirm">
+ <field name="wkf_id" ref="wkf_account_balance_report"/>
+ <field name="name">confirmed</field>
+ <field name="action">action_confirm()</field>
+ <field name="kind">function</field>
+ </record>
+
+ <record model="workflow.activity" id="act_cancel">
+ <field name="wkf_id" ref="wkf_account_balance_report"/>
+ <field name="name">canceled</field>
+ <field name="flow_stop">True</field>
+ <field name="action">action_cancel()</field>
+ <field name="kind">function</field>
+ </record>
+
+
+ <!-- *** Transitions *********************************************** -->
+
+ <record model="workflow.transition" id="trans_draft_calculate">
+ <field name="act_from" ref="act_draft"/>
+ <field name="act_to" ref="act_calculate"/>
+ <field name="signal">calculate</field>
+ </record>
+
+ <record model="workflow.transition" id="trans_calculate_confirm">
+ <field name="act_from" ref="act_calculate"/>
+ <field name="act_to" ref="act_confirm"/>
+ <field name="signal">confirm</field>
+ </record>
+
+ <record model="workflow.transition" id="trans_calculate_draft">
+ <field name="act_from" ref="act_calculate"/>
+ <field name="act_to" ref="act_cancel"/>
+ <field name="signal">cancel</field>
+ </record>
+
+ <record model="workflow.transition" id="trans_confirm_cancel">
+ <field name="act_from" ref="act_confirm"/>
+ <field name="act_to" ref="act_cancel"/>
+ <field name="signal">cancel</field>
+ </record>
+
+ </data>
+</openerp>
=== added directory 'account_balance_reporting/i18n'
=== added file 'account_balance_reporting/i18n/account_balance_reporting.pot'
--- account_balance_reporting/i18n/account_balance_reporting.pot 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/i18n/account_balance_reporting.pot 2011-07-07 11:22:45 +0000
@@ -0,0 +1,538 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_balance_reporting
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.5-bzr\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-09-27 08:18:06+0000\n"
+"PO-Revision-Date: 2009-09-22 16:49+0100\n"
+"Last-Translator: Borja López Soilán (Pexego) <borjals@xxxxxxxxx>\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"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,current_period_ids:0
+msgid "Fiscal year 1 periods"
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,css_class:0
+msgid "Style-sheet class"
+msgstr ""
+
+#. module: account_balance_reporting
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Debit-Credit"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,parent_id:0
+#: field:account.balance.report.template.line,parent_id:0
+msgid "Parent"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report,company_id:0
+msgid "Company"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.actions.act_window,name:account_balance_reporting.action_view_account_balance_report_template
+msgid "Account balance templates"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Credit-Debit"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.actions.wizard,name:account_balance_reporting.wiz_account_balance_report_calculate
+msgid "Calculate report"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,notes:0
+msgid "Notes"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: model:ir.actions.act_window,name:account_balance_reporting.action_view_account_balance_report
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report
+msgid "Account balance reports"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Template lines"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,current_fiscalyear_id:0
+#: field:account.balance.report.line,current_value:0
+msgid "Fiscal year 1"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,previous_fiscalyear_id:0
+#: field:account.balance.report.line,previous_value:0
+msgid "Fiscal year 2"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Debit-Credit, reversed with brakets"
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,code:0
+msgid "Concept code, may be used on formulas to reference this line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,sequence:0
+msgid "Lines will be sorted/grouped by this field"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,negate:0
+msgid "Negate"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_template_line
+msgid "account.balance.report.template.line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "CODE"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report,template_id:0
+#: field:account.balance.report.template.line,report_id:0
+msgid "Template"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Parameters"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Confirm"
+msgstr ""
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "NOTES"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template.line:0
+msgid "Account balance report template lines"
+msgstr ""
+
+#. module: account_balance_reporting
+#: wizard_view:account_balance_report.print_wizard,init:0
+msgid "Report data"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,state:0
+msgid "State"
+msgstr ""
+
+#. module: account_balance_reporting
+#: wizard_button:account_balance_report.print_wizard,init,print:0
+msgid "Print"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,type:0
+msgid "Type"
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template,balance_mode:0
+msgid "Formula calculation mode: Depending on it, the balance is calculated as follows:\n"
+" Mode 0: debit-credit (default);\n"
+" Mode 1: debit-credit, credit-debit for accounts in brackets;\n"
+" Mode 2: credit-debit;\n"
+" Mode 3: credit-debit, debit-credit for accounts in brackets."
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,negate:0
+msgid "Negate the value (change the sign of the balance)"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Report line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.module.module,description:account_balance_reporting.module_meta_information
+msgid "\n"
+"The module allows the user to create account balance reports and templates,\n"
+"comparing the values of 'accounting concepts' between two fiscal years\n"
+"or a set of fiscal periods.\n"
+"\n"
+"Accounting concepts values can be calculated as the sum of some account balances,\n"
+"the sum of its children, other account concepts or constant values.\n"
+"\n"
+"Generated reports are stored as objects on the server,\n"
+"so you can check them anytime later or edit them\n"
+"(to add notes for example) before printing.\n"
+"\n"
+"The module lets the user add new templates of the reports concepts,\n"
+"and associate them a specific \"XML reports\" (OpenERP RML files for example)\n"
+"with the design used when printing.\n"
+"So it is very easy to add predefined country-specific official reports.\n"
+"\n"
+"The user interface has been designed to be as much user-friendly as it can be.\n"
+"\n"
+"Note: It has been designed to meet Spanish/Spain localization needs,\n"
+"but it might be used as a generic accounting report engine.\n"
+" "
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,report_id:0
+msgid "Report"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Configuration"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,css_class:0
+#: field:account.balance.report.template.line,css_class:0
+msgid "CSS Class"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,report_xml_id:0
+#: wizard_view:account_balance_report.print_wizard,init:0
+msgid "Report design"
+msgstr ""
+
+#. module: account_balance_reporting
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Account balance report template"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.actions.report.xml,name:account_balance_reporting.report_account_balance_reporting_default_non_zero
+msgid "Generic balance report (non zero lines)"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report,calc_date:0
+#: field:account.balance.report.line,calc_date:0
+msgid "Calculation date"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report,previous_period_ids:0
+msgid "Fiscal year 2 periods"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Template line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: view:account.balance.report.line:0
+#: view:account.balance.report.template:0
+#: view:account.balance.report.template.line:0
+msgid "Style"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Calculate"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 4"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: selection:account.balance.report,state:0
+msgid "Draft"
+msgstr ""
+
+#. module: account_balance_reporting
+#: constraint:ir.model:0
+msgid "The Object name must start with x_ and not contain any special character !"
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,name:0
+msgid "Concept name/description"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Processing"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,type:0
+msgid "User"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,current_value:0
+msgid "Fiscal year 1 formula"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,template_line_id:0
+msgid "Line template"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Credit-Debit, reversed with brakets"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Default"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,previous_value:0
+msgid "Fiscal year 2 formula"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,type:0
+msgid "System"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Processed"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.line:0
+msgid "Account balance report lines"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,balance_mode:0
+msgid "Balance mode"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_line
+msgid "account.balance.report.line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,code:0
+#: field:account.balance.report.template.line,code:0
+msgid "Code"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Done"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report
+msgid "account.balance.report"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: wizard_button:account_balance_report.print_wizard,init,end:0
+msgid "Cancel"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Report lines"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,child_ids:0
+#: field:account.balance.report.template.line,child_ids:0
+msgid "Children"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 5"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Information"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 1"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 3"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 2"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.actions.report.xml,name:account_balance_reporting.report_account_balance_reporting_generic
+msgid "Generic balance report"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Account balance report templates"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report_templates
+msgid "Templates"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,description:0
+msgid "Description"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template.line:0
+msgid "Account balance report template line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report,name:0
+#: field:account.balance.report.line,name:0
+#: field:account.balance.report.template,name:0
+#: field:account.balance.report.template.line,name:0
+msgid "Name"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,line_ids:0
+#: view:account.balance.report.template:0
+#: field:account.balance.report.template,line_ids:0
+msgid "Lines"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report_reports
+msgid "Reports"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: view:account.balance.report.line:0
+#: view:account.balance.report.template:0
+#: view:account.balance.report.template.line:0
+msgid "Values"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_template
+msgid "account.balance.report.template"
+msgstr ""
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,current_value:0
+#: help:account.balance.report.template.line,previous_value:0
+msgid "Value calculation formula: Depending on this formula the final value is calculated as follows:\n"
+" Empy template value: sum of (this concept) children values.\n"
+" Number with decimal point (\"10.2\"): that value (constant).\n"
+" Account numbers separated by commas (\"430,431,(437)\"): Sum of the account balances\n"
+" (the sign of the balance depends on the balance mode).\n"
+" Concept codes separated by \"+\" (\"11000+12000\"): Sum of those concepts values.\n"
+""
+msgstr ""
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "CONCEPT"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report.line:0
+msgid "Account balance report line"
+msgstr ""
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,sequence:0
+#: field:account.balance.report.template.line,sequence:0
+msgid "Sequence"
+msgstr ""
+
+#. module: account_balance_reporting
+#: wizard_view:account_balance_report.print_wizard,init:0
+#: model:ir.actions.wizard,name:account_balance_reporting.wiz_account_balance_report_print
+msgid "Print report"
+msgstr ""
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Account balance report"
+msgstr ""
+
+#. module: account_balance_reporting
+#: model:ir.module.module,shortdesc:account_balance_reporting.module_meta_information
+msgid "Account balance reporting engine"
+msgstr ""
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Canceled"
+msgstr ""
+
=== added file 'account_balance_reporting/i18n/ca.po'
--- account_balance_reporting/i18n/ca.po 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/i18n/ca.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,598 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_balance_reporting
+#
+# Albert Cervera i Areny <albert@xxxxxxxxxxx>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-09-27 08:18+0000\n"
+"PO-Revision-Date: 2010-04-11 23:09+0000\n"
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
+"<jesteve@xxxxxxxxxxxxxxx>\n"
+"Language-Team: Catalan <kde-i18n-ca@xxxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-10 03:44+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,current_period_ids:0
+msgid "Fiscal year 1 periods"
+msgstr "PerÃodes d'any fiscal 1"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,css_class:0
+msgid "Style-sheet class"
+msgstr "Classe de full d'estils"
+
+#. module: account_balance_reporting
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Nom de model no và lid en la definició de l'acció."
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Debit-Credit"
+msgstr "Deure-Haver"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,parent_id:0
+#: field:account.balance.report.template.line,parent_id:0
+msgid "Parent"
+msgstr "Pare"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,company_id:0
+msgid "Company"
+msgstr "Companyia"
+
+#. module: account_balance_reporting
+#: model:ir.actions.act_window,name:account_balance_reporting.action_view_account_balance_report_template
+msgid "Account balance templates"
+msgstr "Plantilles de balanç de comptes"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Credit-Debit"
+msgstr "Haver-Deure"
+
+#. module: account_balance_reporting
+#: model:ir.actions.wizard,name:account_balance_reporting.wiz_account_balance_report_calculate
+msgid "Calculate report"
+msgstr "Calcula informe"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,notes:0
+msgid "Notes"
+msgstr "Notes"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: model:ir.actions.act_window,name:account_balance_reporting.action_view_account_balance_report
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report
+msgid "Account balance reports"
+msgstr "Informes de balanç de comptes"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Template lines"
+msgstr "LÃnies de plantilla"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,current_fiscalyear_id:0
+#: field:account.balance.report.line,current_value:0
+msgid "Fiscal year 1"
+msgstr "Any fiscal 1"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,previous_fiscalyear_id:0
+#: field:account.balance.report.line,previous_value:0
+msgid "Fiscal year 2"
+msgstr "Any fiscal 2"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Debit-Credit, reversed with brakets"
+msgstr "Deure-Haver, invers amb parèntesis"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,code:0
+msgid "Concept code, may be used on formulas to reference this line"
+msgstr ""
+"Codi de concepte, pot ser usat en les fórmules per fer referència a aquesta "
+"lÃnia"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,sequence:0
+msgid "Lines will be sorted/grouped by this field"
+msgstr "Les lÃnies seran ordenades/agrupades per aquest camp"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,negate:0
+msgid "Negate"
+msgstr "Negat"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_template_line
+msgid "account.balance.report.template.line"
+msgstr "account.balance.report.template.line"
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "CODE"
+msgstr "CODI"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,template_id:0
+#: field:account.balance.report.template.line,report_id:0
+msgid "Template"
+msgstr "Plantilla"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Parameters"
+msgstr "Parà metres"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Confirm"
+msgstr "Confirma"
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "NOTES"
+msgstr "NOTES"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template.line:0
+msgid "Account balance report template lines"
+msgstr "LÃnies de la plantilla del balanç de comptes"
+
+#. module: account_balance_reporting
+#: wizard_view:account_balance_report.print_wizard,init:0
+msgid "Report data"
+msgstr "Dades d'informe"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,state:0
+msgid "State"
+msgstr "Estat"
+
+#. module: account_balance_reporting
+#: wizard_button:account_balance_report.print_wizard,init,print:0
+msgid "Print"
+msgstr "Imprimeix"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,type:0
+msgid "Type"
+msgstr "Tipus"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template,balance_mode:0
+msgid ""
+"Formula calculation mode: Depending on it, the balance is calculated as "
+"follows:\n"
+" Mode 0: debit-credit (default);\n"
+" Mode 1: debit-credit, credit-debit for accounts in brackets;\n"
+" Mode 2: credit-debit;\n"
+" Mode 3: credit-debit, debit-credit for accounts in brackets."
+msgstr ""
+"Mode de cà lcul de la fórmula: Depenent d'aquest, el saldo es calcula com "
+"segueix:\n"
+" Mode 0: deure-haver (per defecte);\n"
+" Mode 1: deure-haver, haver-deure per els comptes amb parèntesis;\n"
+" Mode 2: haver-deure;\n"
+" Mode 3: haver-deure, deure-haver per els comptes amb parèntesis."
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,negate:0
+msgid "Negate the value (change the sign of the balance)"
+msgstr "Nega el valor (canvia el signe del saldo)."
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Report line"
+msgstr "LÃnia d'informe"
+
+#. module: account_balance_reporting
+#: model:ir.module.module,description:account_balance_reporting.module_meta_information
+msgid ""
+"\n"
+"The module allows the user to create account balance reports and templates,\n"
+"comparing the values of 'accounting concepts' between two fiscal years\n"
+"or a set of fiscal periods.\n"
+"\n"
+"Accounting concepts values can be calculated as the sum of some account "
+"balances,\n"
+"the sum of its children, other account concepts or constant values.\n"
+"\n"
+"Generated reports are stored as objects on the server,\n"
+"so you can check them anytime later or edit them\n"
+"(to add notes for example) before printing.\n"
+"\n"
+"The module lets the user add new templates of the reports concepts,\n"
+"and associate them a specific \"XML reports\" (OpenERP RML files for "
+"example)\n"
+"with the design used when printing.\n"
+"So it is very easy to add predefined country-specific official reports.\n"
+"\n"
+"The user interface has been designed to be as much user-friendly as it can "
+"be.\n"
+"\n"
+"Note: It has been designed to meet Spanish/Spain localization needs,\n"
+"but it might be used as a generic accounting report engine.\n"
+" "
+msgstr ""
+"\n"
+"El mòdul permet a l'usuari crear informes de balanços de comptes i "
+"plantilles,\n"
+"comparant els valors 'conceptes comptables' entre dos anys fiscals\n"
+"o un conjunt de perÃodes fiscals.\n"
+"\n"
+"Els valors dels conceptes comptables es poden calcular com la suma dels "
+"balanços d'alguns comptes,\n"
+"la suma dels seus fills, altres conceptes de comptes o valors constants.\n"
+"\n"
+"Els informes generats s'emmagatzemen com a objectes en el servidor,\n"
+"de forma que posteriorment els poden comprovar o modificar\n"
+"(per afegir notes, per exemple) abans d'imprimir.\n"
+"\n"
+"El mòdul permet a l'usuari afegir noves plantilles de conceptes d'informes,\n"
+"i associar-los a \"informes XML\" especÃfics (fitxers RML d'OpenERP, per "
+"exemple)\n"
+"amb el disseny utilitzat a l'imprimir.\n"
+"Per tant és senzill afegir informes oficials especÃfics per cada paÃs.\n"
+"\n"
+"La interfÃcie d'usuari s'ha dissenyat per ser el més amigable possible.\n"
+"\n"
+"Nota: S'ha dissenyat per complir les necessitats de la localització "
+"espanyola,\n"
+"però pot ser utilitzat com a un motor genèric d'informes de comptabilitat.\n"
+" "
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,report_id:0
+msgid "Report"
+msgstr "Informe"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Configuration"
+msgstr "Configuració"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,css_class:0
+#: field:account.balance.report.template.line,css_class:0
+msgid "CSS Class"
+msgstr "Classe CSS"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,report_xml_id:0
+#: wizard_view:account_balance_report.print_wizard,init:0
+msgid "Report design"
+msgstr "Disseny d'informe"
+
+#. module: account_balance_reporting
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML invà lid per a la definició de la vista!"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Account balance report template"
+msgstr "Plantilla d'informe de balanç de comptes"
+
+#. module: account_balance_reporting
+#: model:ir.actions.report.xml,name:account_balance_reporting.report_account_balance_reporting_default_non_zero
+msgid "Generic balance report (non zero lines)"
+msgstr "Informe de balanç genèric (lÃnies diferents de zero)"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,calc_date:0
+#: field:account.balance.report.line,calc_date:0
+msgid "Calculation date"
+msgstr "Data de cà lcul"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,previous_period_ids:0
+msgid "Fiscal year 2 periods"
+msgstr "PerÃodes d'any fiscal 2"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Template line"
+msgstr "Plantilla de lÃnia"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: view:account.balance.report.line:0
+#: view:account.balance.report.template:0
+#: view:account.balance.report.template.line:0
+msgid "Style"
+msgstr "Estil"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Calculate"
+msgstr "Calcula"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 4"
+msgstr "Nivell 4"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: selection:account.balance.report,state:0
+msgid "Draft"
+msgstr "Esborrany"
+
+#. module: account_balance_reporting
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"El nom de l'objecte ha de començar amb x_ i no contenir cap carà cter "
+"especial!"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,name:0
+msgid "Concept name/description"
+msgstr "Nom del concepte/descripció"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Processing"
+msgstr "S'està processant"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,type:0
+msgid "User"
+msgstr "Usuari"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,current_value:0
+msgid "Fiscal year 1 formula"
+msgstr "Fórmula any fiscal 1"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,template_line_id:0
+msgid "Line template"
+msgstr "LÃnia de plantilla"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Credit-Debit, reversed with brakets"
+msgstr "Haver-Deure, invers amb parèntesis"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Default"
+msgstr "Per defecte"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,previous_value:0
+msgid "Fiscal year 2 formula"
+msgstr "Fórmula any fiscal 2"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,type:0
+msgid "System"
+msgstr "Sistema"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Processed"
+msgstr "Processat"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.line:0
+msgid "Account balance report lines"
+msgstr "LÃnies d'informe del balanç de comptes"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,balance_mode:0
+msgid "Balance mode"
+msgstr "Mode de saldo"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_line
+msgid "account.balance.report.line"
+msgstr "account.balance.report.line"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,code:0
+#: field:account.balance.report.template.line,code:0
+msgid "Code"
+msgstr "Codi"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Done"
+msgstr "Fet"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report
+msgid "account.balance.report"
+msgstr "account.balance.report"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: wizard_button:account_balance_report.print_wizard,init,end:0
+msgid "Cancel"
+msgstr "Cancel·la"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Report lines"
+msgstr "LÃnies d'informe"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,child_ids:0
+#: field:account.balance.report.template.line,child_ids:0
+msgid "Children"
+msgstr "Fills"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 5"
+msgstr "Nivell 5"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Information"
+msgstr "Informació"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 1"
+msgstr "Nivell 1"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 3"
+msgstr "Nivell 3"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 2"
+msgstr "Nivell 2"
+
+#. module: account_balance_reporting
+#: model:ir.actions.report.xml,name:account_balance_reporting.report_account_balance_reporting_generic
+msgid "Generic balance report"
+msgstr "Informe de balanç genèric"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Account balance report templates"
+msgstr "Plantilles d'informe de balanç comptable"
+
+#. module: account_balance_reporting
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report_templates
+msgid "Templates"
+msgstr "Plantilles"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,description:0
+msgid "Description"
+msgstr "Descripció"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template.line:0
+msgid "Account balance report template line"
+msgstr "LÃnia de plantilla d'informe de balanç de comptes"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,name:0
+#: field:account.balance.report.line,name:0
+#: field:account.balance.report.template,name:0
+#: field:account.balance.report.template.line,name:0
+msgid "Name"
+msgstr "Nom"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,line_ids:0
+#: view:account.balance.report.template:0
+#: field:account.balance.report.template,line_ids:0
+msgid "Lines"
+msgstr "LÃnies"
+
+#. module: account_balance_reporting
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report_reports
+msgid "Reports"
+msgstr "Informes"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: view:account.balance.report.line:0
+#: view:account.balance.report.template:0
+#: view:account.balance.report.template.line:0
+msgid "Values"
+msgstr "Valors"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_template
+msgid "account.balance.report.template"
+msgstr "account.balance.report.template"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,current_value:0
+#: help:account.balance.report.template.line,previous_value:0
+msgid ""
+"Value calculation formula: Depending on this formula the final value is "
+"calculated as follows:\n"
+" Empy template value: sum of (this concept) children values.\n"
+" Number with decimal point (\"10.2\"): that value (constant).\n"
+" Account numbers separated by commas (\"430,431,(437)\"): Sum of the "
+"account balances\n"
+" (the sign of the balance depends on the balance mode).\n"
+" Concept codes separated by \"+\" (\"11000+12000\"): Sum of those concepts "
+"values.\n"
+msgstr ""
+"Fórmula pel cà lcul del valor: Depenent d'aquesta fórmula el valor final es "
+"calcula com segueix:\n"
+" Valor buit: Suma dels valors dels fills (d'aquest concepte).\n"
+" Número amb punt decimal (\"10.2\"): Aquest número (constant).\n"
+" Números de comptes separats per comes (\"430,431,(437)\"): Suma dels "
+"saldos dels comptes\n"
+" (el signe del saldo depèn del mode de saldo).\n"
+" Codis de conceptes separats per \"+\" (\"11000+12000\"): Suma dels valors "
+"d'aquests conceptes.\n"
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "CONCEPT"
+msgstr "CONCEPTE"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.line:0
+msgid "Account balance report line"
+msgstr "LÃnia d'informe de balanç de comptes"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,sequence:0
+#: field:account.balance.report.template.line,sequence:0
+msgid "Sequence"
+msgstr "Seqüència"
+
+#. module: account_balance_reporting
+#: wizard_view:account_balance_report.print_wizard,init:0
+#: model:ir.actions.wizard,name:account_balance_reporting.wiz_account_balance_report_print
+msgid "Print report"
+msgstr "Imprimeix informe"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Account balance report"
+msgstr "Informe de balanç de comptes"
+
+#. module: account_balance_reporting
+#: model:ir.module.module,shortdesc:account_balance_reporting.module_meta_information
+msgid "Account balance reporting engine"
+msgstr "Motor d'informes de balanços de comptes"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Canceled"
+msgstr "Cancel·lat"
+
+#~ msgid "The code must be unique for this report!"
+#~ msgstr "El codi ha de ser únic per aquest informe!"
=== added file 'account_balance_reporting/i18n/ca_ES.po'
--- account_balance_reporting/i18n/ca_ES.po 1970-01-01 00:00:00 +0000
+++ account_balance_reporting/i18n/ca_ES.po 2011-07-07 11:22:45 +0000
@@ -0,0 +1,577 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * account_balance_reporting
+#
+# Albert Cervera i Areny <albert@xxxxxxxxxxx>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-11-19 15:09:47+0000\n"
+"PO-Revision-Date: 2010-04-11 22:28+0100\n"
+"Last-Translator: Jordi Esteve <jesteve@xxxxxxxxxxxxxxx>\n"
+"Language-Team: Catalan <kde-i18n-ca@xxxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: \n"
+"X-Generator: Lokalize 1.0\n"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,current_period_ids:0
+msgid "Fiscal year 1 periods"
+msgstr "PerÃodes d'any fiscal 1"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,css_class:0
+msgid "Style-sheet class"
+msgstr "Classe de full d'estils"
+
+#. module: account_balance_reporting
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Nom de model no và lid en la definició de l'acció."
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Debit-Credit"
+msgstr "Deure-Haver"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,parent_id:0
+#: field:account.balance.report.template.line,parent_id:0
+msgid "Parent"
+msgstr "Pare"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,company_id:0
+msgid "Company"
+msgstr "Companyia"
+
+#. module: account_balance_reporting
+#: model:ir.actions.act_window,name:account_balance_reporting.action_view_account_balance_report_template
+msgid "Account balance templates"
+msgstr "Plantilles de balanç de comptes"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Credit-Debit"
+msgstr "Haver-Deure"
+
+#. module: account_balance_reporting
+#: model:ir.actions.wizard,name:account_balance_reporting.wiz_account_balance_report_calculate
+msgid "Calculate report"
+msgstr "Calcula informe"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,notes:0
+msgid "Notes"
+msgstr "Notes"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: model:ir.actions.act_window,name:account_balance_reporting.action_view_account_balance_report
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report
+msgid "Account balance reports"
+msgstr "Informes de balanç de comptes"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Template lines"
+msgstr "LÃnies de plantilla"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,current_fiscalyear_id:0
+#: field:account.balance.report.line,current_value:0
+msgid "Fiscal year 1"
+msgstr "Any fiscal 1"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,previous_fiscalyear_id:0
+#: field:account.balance.report.line,previous_value:0
+msgid "Fiscal year 2"
+msgstr "Any fiscal 2"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Debit-Credit, reversed with brakets"
+msgstr "Deure-Haver, invers amb parèntesis"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,code:0
+msgid "Concept code, may be used on formulas to reference this line"
+msgstr "Codi de concepte, pot ser usat en les fórmules per fer referència a aquesta lÃnia"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,sequence:0
+msgid "Lines will be sorted/grouped by this field"
+msgstr "Les lÃnies seran ordenades/agrupades per aquest camp"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,negate:0
+msgid "Negate"
+msgstr "Negat"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_template_line
+msgid "account.balance.report.template.line"
+msgstr "account.balance.report.template.line"
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "CODE"
+msgstr "CODI"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,template_id:0
+#: field:account.balance.report.template.line,report_id:0
+msgid "Template"
+msgstr "Plantilla"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Parameters"
+msgstr "Parà metres"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Confirm"
+msgstr "Confirma"
+
+#. module: account_balance_reporting
+#: rml:report_account_balance_reporting.generic:0
+#: rml:report_account_balance_reporting.generic_non_zero:0
+msgid "NOTES"
+msgstr "NOTES"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template.line:0
+msgid "Account balance report template lines"
+msgstr "LÃnies de la plantilla del balanç de comptes"
+
+#. module: account_balance_reporting
+#: wizard_view:account_balance_report.print_wizard,init:0
+msgid "Report data"
+msgstr "Dades d'informe"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: field:account.balance.report,state:0
+msgid "State"
+msgstr "Estat"
+
+#. module: account_balance_reporting
+#: wizard_button:account_balance_report.print_wizard,init,print:0
+msgid "Print"
+msgstr "Imprimeix"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,type:0
+msgid "Type"
+msgstr "Tipus"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template,balance_mode:0
+msgid ""
+"Formula calculation mode: Depending on it, the balance is calculated as follows:\n"
+" Mode 0: debit-credit (default);\n"
+" Mode 1: debit-credit, credit-debit for accounts in brackets;\n"
+" Mode 2: credit-debit;\n"
+" Mode 3: credit-debit, debit-credit for accounts in brackets."
+msgstr ""
+"Mode de cà lcul de la fórmula: Depenent d'aquest, el saldo es calcula com segueix:\n"
+" Mode 0: deure-haver (per defecte);\n"
+" Mode 1: deure-haver, haver-deure per els comptes amb parèntesis;\n"
+" Mode 2: haver-deure;\n"
+" Mode 3: haver-deure, deure-haver per els comptes amb parèntesis."
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,negate:0
+msgid "Negate the value (change the sign of the balance)"
+msgstr "Nega el valor (canvia el signe del saldo)."
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Report line"
+msgstr "LÃnia d'informe"
+
+#. module: account_balance_reporting
+#: model:ir.module.module,description:account_balance_reporting.module_meta_information
+msgid ""
+"\n"
+"The module allows the user to create account balance reports and templates,\n"
+"comparing the values of 'accounting concepts' between two fiscal years\n"
+"or a set of fiscal periods.\n"
+"\n"
+"Accounting concepts values can be calculated as the sum of some account balances,\n"
+"the sum of its children, other account concepts or constant values.\n"
+"\n"
+"Generated reports are stored as objects on the server,\n"
+"so you can check them anytime later or edit them\n"
+"(to add notes for example) before printing.\n"
+"\n"
+"The module lets the user add new templates of the reports concepts,\n"
+"and associate them a specific \"XML reports\" (OpenERP RML files for example)\n"
+"with the design used when printing.\n"
+"So it is very easy to add predefined country-specific official reports.\n"
+"\n"
+"The user interface has been designed to be as much user-friendly as it can be.\n"
+"\n"
+"Note: It has been designed to meet Spanish/Spain localization needs,\n"
+"but it might be used as a generic accounting report engine.\n"
+" "
+msgstr ""
+"\n"
+"El mòdul permet a l'usuari crear informes de balanços de comptes i plantilles,\n"
+"comparant els valors 'conceptes comptables' entre dos anys fiscals\n"
+"o un conjunt de perÃodes fiscals.\n"
+"\n"
+"Els valors dels conceptes comptables es poden calcular com la suma dels balanços d'alguns comptes,\n"
+"la suma dels seus fills, altres conceptes de comptes o valors constants.\n"
+"\n"
+"Els informes generats s'emmagatzemen com a objectes en el servidor,\n"
+"de forma que posteriorment els poden comprovar o modificar\n"
+"(per afegir notes, per exemple) abans d'imprimir.\n"
+"\n"
+"El mòdul permet a l'usuari afegir noves plantilles de conceptes d'informes,\n"
+"i associar-los a \"informes XML\" especÃfics (fitxers RML d'OpenERP, per exemple)\n"
+"amb el disseny utilitzat a l'imprimir.\n"
+"Per tant és senzill afegir informes oficials especÃfics per cada paÃs.\n"
+"\n"
+"La interfÃcie d'usuari s'ha dissenyat per ser el més amigable possible.\n"
+"\n"
+"Nota: S'ha dissenyat per complir les necessitats de la localització espanyola,\n"
+"però pot ser utilitzat com a un motor genèric d'informes de comptabilitat.\n"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,report_id:0
+msgid "Report"
+msgstr "Informe"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Configuration"
+msgstr "Configuració"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,css_class:0
+#: field:account.balance.report.template.line,css_class:0
+msgid "CSS Class"
+msgstr "Classe CSS"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,report_xml_id:0
+#: wizard_view:account_balance_report.print_wizard,init:0
+msgid "Report design"
+msgstr "Disseny d'informe"
+
+#. module: account_balance_reporting
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML invà lid per a la definició de la vista!"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Account balance report template"
+msgstr "Plantilla d'informe de balanç de comptes"
+
+#. module: account_balance_reporting
+#: model:ir.actions.report.xml,name:account_balance_reporting.report_account_balance_reporting_default_non_zero
+msgid "Generic balance report (non zero lines)"
+msgstr "Informe de balanç genèric (lÃnies diferents de zero)"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,calc_date:0
+#: field:account.balance.report.line,calc_date:0
+msgid "Calculation date"
+msgstr "Data de cà lcul"
+
+#. module: account_balance_reporting
+#: field:account.balance.report,previous_period_ids:0
+msgid "Fiscal year 2 periods"
+msgstr "PerÃodes d'any fiscal 2"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Template line"
+msgstr "Plantilla de lÃnia"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: view:account.balance.report.line:0
+#: view:account.balance.report.template:0
+#: view:account.balance.report.template.line:0
+msgid "Style"
+msgstr "Estil"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Calculate"
+msgstr "Calcula"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 4"
+msgstr "Nivell 4"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: selection:account.balance.report,state:0
+msgid "Draft"
+msgstr "Esborrany"
+
+#. module: account_balance_reporting
+#: constraint:ir.model:0
+msgid "The Object name must start with x_ and not contain any special character !"
+msgstr "El nom de l'objecte ha de començar amb x_ i no contenir cap carà cter especial!"
+
+#. module: account_balance_reporting
+#: help:account.balance.report.template.line,name:0
+msgid "Concept name/description"
+msgstr "Nom del concepte/descripció"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Processing"
+msgstr "S'està processant"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,type:0
+msgid "User"
+msgstr "Usuari"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,current_value:0
+msgid "Fiscal year 1 formula"
+msgstr "Fórmula any fiscal 1"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,template_line_id:0
+msgid "Line template"
+msgstr "LÃnia de plantilla"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,balance_mode:0
+msgid "Credit-Debit, reversed with brakets"
+msgstr "Haver-Deure, invers amb parèntesis"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Default"
+msgstr "Per defecte"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template.line,previous_value:0
+msgid "Fiscal year 2 formula"
+msgstr "Fórmula any fiscal 2"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.template,type:0
+msgid "System"
+msgstr "Sistema"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Processed"
+msgstr "Processat"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.line:0
+msgid "Account balance report lines"
+msgstr "LÃnies d'informe del balanç de comptes"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,balance_mode:0
+msgid "Balance mode"
+msgstr "Mode de saldo"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report_line
+msgid "account.balance.report.line"
+msgstr "account.balance.report.line"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,code:0
+#: field:account.balance.report.template.line,code:0
+msgid "Code"
+msgstr "Codi"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report,state:0
+msgid "Done"
+msgstr "Fet"
+
+#. module: account_balance_reporting
+#: model:ir.model,name:account_balance_reporting.model_account_balance_report
+msgid "account.balance.report"
+msgstr "account.balance.report"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+#: wizard_button:account_balance_report.print_wizard,init,end:0
+msgid "Cancel"
+msgstr "Cancel·la"
+
+#. module: account_balance_reporting
+#: view:account.balance.report:0
+msgid "Report lines"
+msgstr "LÃnies d'informe"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.line,child_ids:0
+#: field:account.balance.report.template.line,child_ids:0
+msgid "Children"
+msgstr "Fills"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 5"
+msgstr "Nivell 5"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Information"
+msgstr "Informació"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 1"
+msgstr "Nivell 1"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 3"
+msgstr "Nivell 3"
+
+#. module: account_balance_reporting
+#: selection:account.balance.report.line,css_class:0
+#: selection:account.balance.report.template.line,css_class:0
+msgid "Level 2"
+msgstr "Nivell 2"
+
+#. module: account_balance_reporting
+#: model:ir.actions.report.xml,name:account_balance_reporting.report_account_balance_reporting_generic
+msgid "Generic balance report"
+msgstr "Informe de balanç genèric"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template:0
+msgid "Account balance report templates"
+msgstr "Plantilles d'informe de balanç comptable"
+
+#. module: account_balance_reporting
+#: model:ir.ui.menu,name:account_balance_reporting.menu_account_balance_report_templates
+msgid "Templates"
+msgstr "Plantilles"
+
+#. module: account_balance_reporting
+#: field:account.balance.report.template,description:0
+msgid "Description"
+msgstr "Descripció"
+
+#. module: account_balance_reporting
+#: view:account.balance.report.template.line:0
+msgid "Account balance report template line"
+msgstr "LÃnia de plantilla d'
Follow ups