[MERGE]with lp:~openerp-dev/openobject-addons/trunk-dev-addons1

bzr revid: jam@tinyerp.com-20101228103052-mnkvkeate2efuc7p
bzr revid: jam@tinyerp.com-20101229045310-ls49g99b96smes9s
bzr revid: jam@tinyerp.com-20101229085850-eg8k31drdh0dpg0b
This commit is contained in:
jam-openerp 2010-12-29 14:28:50 +05:30
commit 283ccb7cb7
503 changed files with 6552 additions and 1806 deletions

View File

@ -204,7 +204,7 @@ class account_account(osv.osv):
args[pos] = ('id', 'in', ids1) args[pos] = ('id', 'in', ids1)
pos += 1 pos += 1
if context and context.has_key('consolidate_childs'): #add consolidated childs of accounts if context and context.has_key('consolidate_children'): #add consolidated children of accounts
ids = super(account_account, self).search(cr, uid, args, offset, limit, ids = super(account_account, self).search(cr, uid, args, offset, limit,
order, context=context, count=count) order, context=context, count=count)
for consolidate_child in self.browse(cr, uid, context['account_id'], context=context).child_consol_ids: for consolidate_child in self.browse(cr, uid, context['account_id'], context=context).child_consol_ids:
@ -285,6 +285,7 @@ class account_account(osv.osv):
children_and_consolidated.reverse() children_and_consolidated.reverse()
brs = list(self.browse(cr, uid, children_and_consolidated, context=context)) brs = list(self.browse(cr, uid, children_and_consolidated, context=context))
sums = {} sums = {}
currency_obj = self.pool.get('res.currency')
while brs: while brs:
current = brs[0] current = brs[0]
# can_compute = True # can_compute = True
@ -299,8 +300,11 @@ class account_account(osv.osv):
brs.pop(0) brs.pop(0)
for fn in field_names: for fn in field_names:
sums.setdefault(current.id, {})[fn] = accounts.get(current.id, {}).get(fn, 0.0) sums.setdefault(current.id, {})[fn] = accounts.get(current.id, {}).get(fn, 0.0)
if current.child_id: for child in current.child_id:
sums[current.id][fn] += sum(sums[child.id][fn] for child in current.child_id) if child.company_id.currency_id.id == current.company_id.currency_id.id:
sums[current.id][fn] += sums[child.id][fn]
else:
sums[current.id][fn] += currency_obj.compute(cr, uid, child.company_id.currency_id.id, current.company_id.currency_id.id, sums[child.id][fn], context=context)
res = {} res = {}
null_result = dict((fn, 0.0) for fn in field_names) null_result = dict((fn, 0.0) for fn in field_names)
for id in ids: for id in ids:
@ -607,8 +611,8 @@ class account_journal(osv.osv):
} }
_defaults = { _defaults = {
'user_id': lambda self,cr,uid,context: uid, 'user_id': lambda self, cr, uid, context: uid,
'company_id': lambda self,cr,uid,c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id, 'company_id': lambda self, cr, uid, c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id,
} }
_sql_constraints = [ _sql_constraints = [
('code_company_uniq', 'unique (code, company_id)', 'The code of the journal must be unique per company !'), ('code_company_uniq', 'unique (code, company_id)', 'The code of the journal must be unique per company !'),
@ -708,7 +712,6 @@ class account_journal(osv.osv):
return self.name_get(cr, user, ids, context=context) return self.name_get(cr, user, ids, context=context)
def onchange_type(self, cr, uid, ids, type, currency, context=None): def onchange_type(self, cr, uid, ids, type, currency, context=None):
obj_data = self.pool.get('ir.model.data') obj_data = self.pool.get('ir.model.data')
user_pool = self.pool.get('res.users') user_pool = self.pool.get('res.users')
@ -1278,6 +1281,8 @@ class account_move(osv.osv):
return super(account_move, self).copy(cr, uid, id, default, context) return super(account_move, self).copy(cr, uid, id, default, context)
def unlink(self, cr, uid, ids, context=None, check=True): def unlink(self, cr, uid, ids, context=None, check=True):
if context is None:
context = {}
toremove = [] toremove = []
obj_move_line = self.pool.get('account.move.line') obj_move_line = self.pool.get('account.move.line')
for move in self.browse(cr, uid, ids, context=context): for move in self.browse(cr, uid, ids, context=context):
@ -1916,7 +1921,7 @@ class account_tax(osv.osv):
RETURN: RETURN:
[ tax ] [ tax ]
tax = {'name':'', 'amount':0.0, 'account_collected_id':1, 'account_paid_id':2} tax = {'name':'', 'amount':0.0, 'account_collected_id':1, 'account_paid_id':2}
one tax for each tax id in IDS and their childs one tax for each tax id in IDS and their children
""" """
res = self._unit_compute(cr, uid, taxes, price_unit, address_id, product, partner, quantity) res = self._unit_compute(cr, uid, taxes, price_unit, address_id, product, partner, quantity)
total = 0.0 total = 0.0
@ -2011,7 +2016,7 @@ class account_tax(osv.osv):
RETURN: RETURN:
[ tax ] [ tax ]
tax = {'name':'', 'amount':0.0, 'account_collected_id':1, 'account_paid_id':2} tax = {'name':'', 'amount':0.0, 'account_collected_id':1, 'account_paid_id':2}
one tax for each tax id in IDS and their childs one tax for each tax id in IDS and their children
""" """
res = self._unit_compute_inv(cr, uid, taxes, price_unit, address_id, product, partner=None) res = self._unit_compute_inv(cr, uid, taxes, price_unit, address_id, product, partner=None)
total = 0.0 total = 0.0
@ -2611,11 +2616,12 @@ class wizard_multi_charts_accounts(osv.osv_memory):
cr.execute("SELECT company_id FROM account_account WHERE active = 't' AND account_account.parent_id IS NULL AND name != %s", ("Chart For Automated Tests",)) cr.execute("SELECT company_id FROM account_account WHERE active = 't' AND account_account.parent_id IS NULL AND name != %s", ("Chart For Automated Tests",))
configured_cmp = [r[0] for r in cr.fetchall()] configured_cmp = [r[0] for r in cr.fetchall()]
unconfigured_cmp = list(set(company_ids)-set(configured_cmp)) unconfigured_cmp = list(set(company_ids)-set(configured_cmp))
if unconfigured_cmp: for field in res['fields']:
cmp_select = [(line.id, line.name) for line in self.pool.get('res.company').browse(cr, uid, unconfigured_cmp)] if field == 'company_id':
for field in res['fields']: res['fields'][field]['domain'] = unconfigured_cmp
if field == 'company_id': res['fields'][field]['selection'] = [('', '')]
res['fields'][field]['domain'] = unconfigured_cmp if unconfigured_cmp:
cmp_select = [(line.id, line.name) for line in self.pool.get('res.company').browse(cr, uid, unconfigured_cmp)]
res['fields'][field]['selection'] = cmp_select res['fields'][field]['selection'] = cmp_select
return res return res

View File

@ -50,11 +50,10 @@ class account_analytic_line(osv.osv):
if context is None: if context is None:
context = {} context = {}
if context.get('from_date',False): if context.get('from_date',False):
args.append(['date', '>=',context['from_date']]) args.append(['date', '>=', context['from_date']])
if context.get('to_date',False): if context.get('to_date',False):
args.append(['date','<=',context['to_date']]) args.append(['date','<=', context['to_date']])
return super(account_analytic_line, self).search(cr, uid, args, offset, limit, return super(account_analytic_line, self).search(cr, uid, args, offset, limit,
order, context=context, count=count) order, context=context, count=count)
@ -158,4 +157,4 @@ class res_partner(osv.osv):
res_partner() res_partner()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -14,7 +14,7 @@
action="action_account_period_tree" action="action_account_period_tree"
id="menu_action_account_period_close_tree" id="menu_action_account_period_close_tree"
parent="account.menu_account_end_year_treatments" parent="account.menu_account_end_year_treatments"
sequence="0" groups="base.group_extended,group_account_manager,group_account_user"/> sequence="0" groups="base.group_extended"/>
</data> </data>
</openerp> </openerp>

View File

@ -26,14 +26,19 @@
<menuitem id="menu_finance_accounting" name="Financial Accounting" parent="menu_finance_configuration"/> <menuitem id="menu_finance_accounting" name="Financial Accounting" parent="menu_finance_configuration"/>
<menuitem id="menu_analytic_accounting" name="Analytic Accounting" parent="menu_finance_configuration" groups="analytic.group_analytic_accounting"/> <menuitem id="menu_analytic_accounting" name="Analytic Accounting" parent="menu_finance_configuration" groups="analytic.group_analytic_accounting"/>
<menuitem id="menu_analytic" parent="menu_analytic_accounting" name="Accounts" groups="analytic.group_analytic_accounting"/> <menuitem id="menu_analytic" parent="menu_analytic_accounting" name="Accounts" groups="analytic.group_analytic_accounting"/>
<menuitem id="menu_journals" sequence="9" name="Journals" parent="menu_finance_accounting" groups="base.group_extended,group_account_manager"/> <menuitem id="menu_journals" sequence="9" name="Journals" parent="menu_finance_accounting" groups="group_account_manager"/>
<menuitem id="menu_configuration_misc" name="Miscellaneous" parent="menu_finance_configuration" sequence="30" groups="group_account_manager"/> <menuitem id="menu_configuration_misc" name="Miscellaneous" parent="menu_finance_configuration" sequence="30"/>
<menuitem id="base.menu_action_currency_form" parent="menu_configuration_misc" sequence="20"/> <menuitem id="base.menu_action_currency_form" parent="menu_configuration_misc" sequence="20"/>
<menuitem id="menu_finance_generic_reporting" name="Generic Reporting" parent="menu_finance_reporting" sequence="100"/> <menuitem id="menu_finance_generic_reporting" name="Generic Reporting" parent="menu_finance_reporting" sequence="100"/>
<menuitem id="menu_finance_entries" name="Journal Entries" parent="menu_finance" sequence="5" groups="group_account_user,group_account_manager"/> <menuitem id="menu_finance_entries" name="Journal Entries" parent="menu_finance" sequence="5" groups="group_account_user,group_account_manager"/>
<menuitem id="account.menu_finance_recurrent_entries" name="Recurring Entries" parent="menu_finance_periodical_processing" sequence="15" groups="base.group_extended,group_account_manager,group_account_user"/>
<menuitem id="menu_account_end_year_treatments" name="End of Period" parent="menu_finance_periodical_processing" groups="group_account_manager,group_account_user" sequence="25"/> <menuitem id="account.menu_finance_recurrent_entries" name="Recurring Entries"
parent="menu_finance_periodical_processing" sequence="15"
groups="base.group_extended"/>
<menuitem id="menu_account_end_year_treatments"
name="End of Period" parent="menu_finance_periodical_processing"
sequence="25"/>
<menuitem id="menu_finance_periodical_processing_billing" name="Billing" parent="menu_finance_periodical_processing" sequence="35"/> <menuitem id="menu_finance_periodical_processing_billing" name="Billing" parent="menu_finance_periodical_processing" sequence="35"/>
<menuitem id="menu_finance_statistic_report_statement" name="Statistic Reports" parent="menu_finance_reporting" sequence="300"/> <menuitem id="menu_finance_statistic_report_statement" name="Statistic Reports" parent="menu_finance_reporting" sequence="300"/>

View File

@ -309,7 +309,7 @@ class account_move_line(osv.osv):
context = {} context = {}
c = context.copy() c = context.copy()
c['initital_bal'] = True c['initital_bal'] = True
sql = """SELECT l2.id, SUM(l1.debit-l1.credit) sql = """SELECT l2.id, SUM(l1.debit-l1.credit)
FROM account_move_line l1, account_move_line l2 FROM account_move_line l1, account_move_line l2
WHERE l2.account_id = l1.account_id WHERE l2.account_id = l1.account_id
AND l1.id <= l2.id AND l1.id <= l2.id
@ -318,8 +318,7 @@ class account_move_line(osv.osv):
" GROUP BY l2.id" " GROUP BY l2.id"
cr.execute(sql, [tuple(ids)]) cr.execute(sql, [tuple(ids)])
res = dict(cr.fetchall()) return dict(cr.fetchall())
return res
def _invoice(self, cursor, user, ids, name, arg, context=None): def _invoice(self, cursor, user, ids, name, arg, context=None):
invoice_obj = self.pool.get('account.invoice') invoice_obj = self.pool.get('account.invoice')
@ -887,7 +886,7 @@ class account_move_line(osv.osv):
fld = [] fld = []
fields = {} fields = {}
flds = [] flds = []
title = "Accounting Entries" #self.view_header_get(cr, uid, view_id, view_type, context) title = _("Accounting Entries") #self.view_header_get(cr, uid, view_id, view_type, context)
xml = '''<?xml version="1.0"?>\n<tree string="%s" editable="top" refresh="5" on_write="on_create_write" colors="red:state==\'draft\';black:state==\'valid\'">\n\t''' % (title) xml = '''<?xml version="1.0"?>\n<tree string="%s" editable="top" refresh="5" on_write="on_create_write" colors="red:state==\'draft\';black:state==\'valid\'">\n\t''' % (title)
ids = journal_pool.search(cr, uid, []) ids = journal_pool.search(cr, uid, [])
@ -906,8 +905,8 @@ class account_move_line(osv.osv):
else: else:
fields.get(field.field).append(journal.id) fields.get(field.field).append(journal.id)
common_fields[field.field] = common_fields[field.field] + 1 common_fields[field.field] = common_fields[field.field] + 1
fld.append(('period_id', 3, 'Period')) fld.append(('period_id', 3, _('Period')))
fld.append(('journal_id', 10, 'Journal')) fld.append(('journal_id', 10, _('Journal')))
flds.append('period_id') flds.append('period_id')
flds.append('journal_id') flds.append('journal_id')
fields['period_id'] = all_journal fields['period_id'] = all_journal
@ -927,10 +926,10 @@ class account_move_line(osv.osv):
# state = 'colors="red:state==\'draft\'"' # state = 'colors="red:state==\'draft\'"'
attrs = [] attrs = []
if field == 'debit': if field == 'debit':
attrs.append('sum = "Total debit"') attrs.append('sum = "%s"' % _("Total debit"))
elif field == 'credit': elif field == 'credit':
attrs.append('sum = "Total credit"') attrs.append('sum = "%s"' % _("Total credit"))
elif field == 'move_id': elif field == 'move_id':
attrs.append('required = "False"') attrs.append('required = "False"')
@ -1284,4 +1283,4 @@ class account_move_line(osv.osv):
account_move_line() account_move_line()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -276,6 +276,7 @@
<field name="company_currency_id"/> <field name="company_currency_id"/>
<field name="company_id" groups="base.group_multi_company"/> <field name="company_id" groups="base.group_multi_company"/>
<field name="type"/> <field name="type"/>
<field name="parent_id" invisible="1"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -762,7 +763,7 @@
<field name="search_view_id" ref="view_account_type_search"/> <field name="search_view_id" ref="view_account_type_search"/>
<field name="help">An account type is used to determine how an account is used in each journal. The deferral method of an account type determines the process for the annual closing. Reports such as the Balance Sheet and the Profit and Loss report use the category (profit/loss or balance sheet). For example, the account type could be linked to an asset account, expense account or payable account. From this view, you can create and manage the account types you need for your company.</field> <field name="help">An account type is used to determine how an account is used in each journal. The deferral method of an account type determines the process for the annual closing. Reports such as the Balance Sheet and the Profit and Loss report use the category (profit/loss or balance sheet). For example, the account type could be linked to an asset account, expense account or payable account. From this view, you can create and manage the account types you need for your company.</field>
</record> </record>
<menuitem action="action_account_type_form" groups="base.group_extended,group_account_manager" sequence="6" id="menu_action_account_type_form" parent="account_account_menu"/> <menuitem action="action_account_type_form" sequence="6" id="menu_action_account_type_form" parent="account_account_menu"/>
<!-- <!--
Entries Entries
--> -->
@ -1227,7 +1228,7 @@
id="menu_action_account_moves_all" id="menu_action_account_moves_all"
parent="account.menu_finance_entries" parent="account.menu_finance_entries"
sequence="1" sequence="1"
groups="group_account_user,group_account_manager" groups="group_account_user"
/> />
<record id="action_move_line_select" model="ir.actions.act_window"> <record id="action_move_line_select" model="ir.actions.act_window">
@ -1475,7 +1476,7 @@
action="action_move_journal_line" action="action_move_journal_line"
id="menu_action_move_journal_line_form" id="menu_action_move_journal_line_form"
parent="account.menu_finance_entries" parent="account.menu_finance_entries"
groups="group_account_user,group_account_manager" groups="group_account_user"
sequence="5"/> sequence="5"/>
<record id="action_move_line_form" model="ir.actions.act_window"> <record id="action_move_line_form" model="ir.actions.act_window">
@ -1742,7 +1743,7 @@
</record> </record>
<menuitem <menuitem
action="action_model_form" id="menu_action_model_form" sequence="5" action="action_model_form" id="menu_action_model_form" sequence="5"
parent="account.menu_configuration_misc" groups="base.group_extended,group_account_manager"/> parent="account.menu_configuration_misc" groups="base.group_extended"/>
<!-- <!--
# Payment Terms # Payment Terms
@ -1842,8 +1843,7 @@
<field name="search_view_id" ref="view_payment_term_search"/> <field name="search_view_id" ref="view_payment_term_search"/>
</record> </record>
<menuitem action="action_payment_term_form" <menuitem action="action_payment_term_form"
id="menu_action_payment_term_form" parent="menu_configuration_misc" id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
groups="group_account_manager"/>
<!-- <!--
# Account Subscriptions # Account Subscriptions
@ -1958,7 +1958,7 @@
</record> </record>
<menuitem <menuitem
name="Define Recurring Entries" action="action_subscription_form" name="Define Recurring Entries" action="action_subscription_form"
groups="base.group_extended,group_account_manager,group_account_user" groups="base.group_extended"
id="menu_action_subscription_form" sequence="1" id="menu_action_subscription_form" sequence="1"
parent="account.menu_finance_recurrent_entries"/> parent="account.menu_finance_recurrent_entries"/>
@ -2063,7 +2063,7 @@
<act_window context="{'search_default_reconcile_id':False, 'search_default_partner_id':[active_id]}" domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]" id="act_account_partner_account_move_all" name="Receivables &amp; Payables" res_model="account.move.line" src_model="res.partner" groups="base.group_extended"/> <act_window context="{'search_default_reconcile_id':False, 'search_default_partner_id':[active_id]}" domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]" id="act_account_partner_account_move_all" name="Receivables &amp; Payables" res_model="account.move.line" src_model="res.partner" groups="base.group_extended"/>
<act_window context="{'search_default_partner_id':[active_id]}" id="act_account_partner_account_move" name="Journal Items" res_model="account.move.line" src_model="res.partner"/> <act_window context="{'search_default_partner_id':[active_id]}" id="act_account_partner_account_move" name="Journal Items" res_model="account.move.line" src_model="res.partner" groups="account.group_account_user"/>
<record id="view_account_addtmpl_wizard_form" model="ir.ui.view"> <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
<field name="name">Create Account</field> <field name="name">Create Account</field>
@ -2095,17 +2095,17 @@
id="account_template_folder" id="account_template_folder"
name="Templates" name="Templates"
parent="menu_finance_accounting" parent="menu_finance_accounting"
groups="base.group_multi_company,group_account_manager"/> groups="base.group_multi_company"/>
<menuitem <menuitem
id="account_template_taxes" id="account_template_taxes"
name="Taxes" name="Taxes"
parent="account_template_folder" parent="account_template_folder"
groups="base.group_multi_company,group_account_manager" sequence="2"/> sequence="2"/>
<menuitem <menuitem
id="account_template_accounts" id="account_template_accounts"
name="Accounts" name="Accounts"
parent="account_template_folder" parent="account_template_folder"
groups="base.group_multi_company,group_account_manager" sequence="1"/> sequence="1"/>
<record id="view_account_template_form" model="ir.ui.view"> <record id="view_account_template_form" model="ir.ui.view">
@ -2751,8 +2751,8 @@ action = self.pool.get('res.config').next(cr, uid, [], context)
<field name="view_id" ref="account_cash_statement_graph"/> <field name="view_id" ref="account_cash_statement_graph"/>
<field name="act_window_id" ref="action_view_bank_statement_tree"/> <field name="act_window_id" ref="action_view_bank_statement_tree"/>
</record> </record>
<menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines" parent="menu_finance_bank_and_cash" <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
groups="group_account_user,group_account_manager"/> parent="menu_finance_bank_and_cash"/>
<record id="action_partner_all" model="ir.actions.act_window"> <record id="action_partner_all" model="ir.actions.act_window">
<field name="name">Partners</field> <field name="name">Partners</field>

View File

@ -7426,7 +7426,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "This Account is used for trasfering Profit/Loss(If It is Profit: Amount will be added, Loss : Amount will be duducted.), Which is calculated from Profilt & Loss Report" msgid "This Account is used for transferring Profit/Loss(If It is Profit: Amount will be added, Loss : Amount will be duducted.), Which is calculated from Profilt & Loss Report"
msgstr "" msgstr ""
#. module: account #. module: account

View File

@ -7845,7 +7845,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7876,7 +7876,7 @@ msgstr "Вид отпратка"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7900,7 +7900,7 @@ msgstr "Tip reference"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7935,7 +7935,7 @@ msgstr "Tipus referència"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7842,7 +7842,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7862,7 +7862,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -8408,7 +8408,7 @@ msgstr "Referenztyp"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: openobject-addons\n" "Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n" "POT-Creation-Date: 2010-12-21 19:43+0000\n"
"PO-Revision-Date: 2010-12-25 22:00+0000\n" "PO-Revision-Date: 2010-12-27 14:04+0000\n"
"Last-Translator: Dimitris Andavoglou <dimitrisand@gmail.com>\n" "Last-Translator: Dimitris Andavoglou <dimitrisand@gmail.com>\n"
"Language-Team: Greek <el@li.org>\n" "Language-Team: Greek <el@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-12-26 04:50+0000\n" "X-Launchpad-Export-Date: 2010-12-28 04:41+0000\n"
"X-Generator: Launchpad (build Unknown)\n" "X-Generator: Launchpad (build Unknown)\n"
#. module: account #. module: account
@ -962,7 +962,7 @@ msgstr ""
#. module: account #. module: account
#: model:process.node,note:account.process_node_accountingstatemententries0 #: model:process.node,note:account.process_node_accountingstatemententries0
msgid "Bank statement" msgid "Bank statement"
msgstr "" msgstr "Κατάσταση κίνησης λογ. τραπέζης"
#. module: account #. module: account
#: field:account.analytic.line,move_id:0 #: field:account.analytic.line,move_id:0
@ -1067,7 +1067,7 @@ msgstr ""
#. module: account #. module: account
#: view:account.tax:0 #: view:account.tax:0
msgid "Applicability Options" msgid "Applicability Options"
msgstr "" msgstr "Επιλογές Προσαρμοστικότητας"
#. module: account #. module: account
#: report:account.partner.balance:0 #: report:account.partner.balance:0
@ -1078,7 +1078,7 @@ msgstr "Με διαφορές"
#: model:ir.actions.act_window,name:account.action_view_bank_statement_tree #: model:ir.actions.act_window,name:account.action_view_bank_statement_tree
#: model:ir.ui.menu,name:account.journal_cash_move_lines #: model:ir.ui.menu,name:account.journal_cash_move_lines
msgid "Cash Registers" msgid "Cash Registers"
msgstr "" msgstr "Ταμειακές Μηχανές"
#. module: account #. module: account
#: selection:account.account.type,report_type:0 #: selection:account.account.type,report_type:0
@ -1219,7 +1219,7 @@ msgstr "Λογαριασμός"
#. module: account #. module: account
#: field:account.tax,include_base_amount:0 #: field:account.tax,include_base_amount:0
msgid "Included in base amount" msgid "Included in base amount"
msgstr "" msgstr "Περιλαμβάνεται στην τιμή βάσης"
#. module: account #. module: account
#: view:account.entries.report:0 #: view:account.entries.report:0
@ -1262,7 +1262,7 @@ msgstr "Πρότυπα για Λογαριασμούς"
#. module: account #. module: account
#: view:account.tax.code.template:0 #: view:account.tax.code.template:0
msgid "Search tax template" msgid "Search tax template"
msgstr "" msgstr "Αναζήτηση προτύπου φόρου"
#. module: account #. module: account
#: view:account.move.reconcile:0 #: view:account.move.reconcile:0
@ -1302,7 +1302,7 @@ msgstr "Επιλογές Αναφοράς"
#. module: account #. module: account
#: model:ir.model,name:account.model_account_entries_report #: model:ir.model,name:account.model_account_entries_report
msgid "Journal Items Analysis" msgid "Journal Items Analysis"
msgstr "" msgstr "Ανάλυση Στοιχείων Ημερολογίου"
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_partner_all #: model:ir.actions.act_window,name:account.action_partner_all
@ -1392,7 +1392,7 @@ msgstr "# ψηφίων"
#. module: account #. module: account
#: field:account.journal,entry_posted:0 #: field:account.journal,entry_posted:0
msgid "Skip 'Draft' State for Manual Entries" msgid "Skip 'Draft' State for Manual Entries"
msgstr "" msgstr "Παράβλεψη κατάστασης 'Πρόχειρου' για Χειροκίνητες Έισαγωγές"
#. module: account #. module: account
#: view:account.bank.statement:0 #: view:account.bank.statement:0
@ -1435,6 +1435,9 @@ msgid ""
"The payment term defined gives a computed amount greater than the total " "The payment term defined gives a computed amount greater than the total "
"invoiced amount." "invoiced amount."
msgstr "" msgstr ""
"Δεν μπορεί να δημιουργηθεί τιμολόγιο !\n"
"Ο όρος πληρωμής που ορίζεται δίνει υπολογιζόμενο ποσό μεγαλύτερο από το "
"συνολικό ποσό τιμολόγισης."
#. module: account #. module: account
#: model:ir.actions.act_window,help:account.action_invoice_tree1 #: model:ir.actions.act_window,help:account.action_invoice_tree1
@ -1636,7 +1639,7 @@ msgstr "Εκτύπωση παραστατικού"
#. module: account #. module: account
#: view:account.change.currency:0 #: view:account.change.currency:0
msgid "This wizard will change the currency of the invoice" msgid "This wizard will change the currency of the invoice"
msgstr "" msgstr "Ο οδηγός θα αλλάξει το νόμισμα στο τιμολόγιο"
#. module: account #. module: account
#: model:ir.actions.act_window,help:account.action_account_chart #: model:ir.actions.act_window,help:account.action_account_chart
@ -1655,7 +1658,7 @@ msgstr ""
#: code:addons/account/account_move_line.py:0 #: code:addons/account/account_move_line.py:0
#, python-format #, python-format
msgid "The account is not defined to be reconciled !" msgid "The account is not defined to be reconciled !"
msgstr "" msgstr "Ο λογαριασμός δεν ορίζεται για συμψηφισμό !"
#. module: account #. module: account
#: field:account.cashbox.line,pieces:0 #: field:account.cashbox.line,pieces:0
@ -7963,7 +7966,7 @@ msgstr "Τύπος Παραπομπής"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""
@ -9603,7 +9606,7 @@ msgstr "Τραπεζικός Λογαριασμός"
#: model:ir.actions.act_window,name:account.action_account_central_journal #: model:ir.actions.act_window,name:account.action_account_central_journal
#: model:ir.model,name:account.model_account_central_journal #: model:ir.model,name:account.model_account_central_journal
msgid "Account Central Journal" msgid "Account Central Journal"
msgstr "" msgstr "Κεντρικό Ημερολόγιο Λογαριασμού"
#. module: account #. module: account
#: report:account.overdue:0 #: report:account.overdue:0

View File

@ -7,14 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n" "Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n" "Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n" "POT-Creation-Date: 2010-12-21 19:43+0000\n"
"PO-Revision-Date: 2010-12-24 13:01+0000\n" "PO-Revision-Date: 2010-12-27 10:40+0000\n"
"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " "Last-Translator: Borja López Soilán <borjalopezsoilan@gmail.com>\n"
"<jesteve@zikzakmedia.com>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-12-25 04:51+0000\n" "X-Launchpad-Export-Date: 2010-12-28 04:41+0000\n"
"X-Generator: Launchpad (build Unknown)\n" "X-Generator: Launchpad (build Unknown)\n"
#. module: account #. module: account
@ -187,7 +186,7 @@ msgstr ""
#: code:addons/account/invoice.py:0 #: code:addons/account/invoice.py:0
#, python-format #, python-format
msgid "Warning!" msgid "Warning!"
msgstr "" msgstr "¡Aviso!"
#. module: account #. module: account
#: field:account.fiscal.position.account,account_src_id:0 #: field:account.fiscal.position.account,account_src_id:0
@ -2370,6 +2369,13 @@ msgid ""
"useful because it enables you to preview at any time the tax that you owe at " "useful because it enables you to preview at any time the tax that you owe at "
"the start and end of the month or quarter." "the start and end of the month or quarter."
msgstr "" msgstr ""
"Este menú imprime una declaración de IVA basada en facturas o pagos. "
"Seleccione uno o varios periodos del ejercicio fiscal. La información "
"necesaria para la declaración de IVA es generada automáticamente por OpenERP "
"a partir de las facturas (o pagos, en algunos países). Esta información se "
"actualiza en tiempo real. Es muy útil porque le permite previsualizar en "
"cualquier momento los impuestos que debe al principio y fin del mes o "
"trimestre."
#. module: account #. module: account
#: selection:account.move.line,centralisation:0 #: selection:account.move.line,centralisation:0
@ -2636,6 +2642,8 @@ msgid ""
"given a period and a journal, the sum of debit will always be equal to the " "given a period and a journal, the sum of debit will always be equal to the "
"sum of credit, so there is no point to display it" "sum of credit, so there is no point to display it"
msgstr "" msgstr ""
"dado un período y un diario, la suma del debe será siempre igual a la suma "
"del haber, por lo que no hay lugar para mostrarlo"
#. module: account #. module: account
#: field:account.invoice.line,discount:0 #: field:account.invoice.line,discount:0
@ -2651,6 +2659,11 @@ msgid ""
"Note that journal entries that are automatically created by the system are " "Note that journal entries that are automatically created by the system are "
"always skipping that state." "always skipping that state."
msgstr "" msgstr ""
"Marque esta opción si no desea que los nuevos asientos pasen por el estado "
"'Borrador' y por tanto vayan directamente al estado 'Fijado' sin ninguna "
"validación manual. \n"
"Tenga en cuenta que los asientos creados automáticamente por el sistema "
"siempre se saltan ese estado."
#. module: account #. module: account
#: model:ir.actions.server,name:account.ir_actions_server_action_wizard_multi_chart #: model:ir.actions.server,name:account.ir_actions_server_action_wizard_multi_chart
@ -2783,6 +2796,8 @@ msgstr ""
msgid "" msgid ""
"used in statement reconciliation domain, but shouldn't be used elswhere." "used in statement reconciliation domain, but shouldn't be used elswhere."
msgstr "" msgstr ""
"Utilizado en el dominio de conciliación de extractos, pero no debería ser "
"usado en otro sitio."
#. module: account #. module: account
#: field:account.invoice.tax,base_amount:0 #: field:account.invoice.tax,base_amount:0
@ -3068,6 +3083,15 @@ msgid ""
" 'Unreconciled' will copy only the journal items that were unreconciled on " " 'Unreconciled' will copy only the journal items that were unreconciled on "
"the first day of the new fiscal year." "the first day of the new fiscal year."
msgstr "" msgstr ""
"Establezca aquí el método que se usará, el asistente genérico, para crear el "
"asiento de cierre de ejercicio para todas las cuentas de este tipo.\n"
"\n"
" 'Ninguno' significa que no se hará nada.\n"
" 'Saldo' normalmente se usará para cuentas de efectivo.\n"
" 'Detallado' copiará cada apunte del ejercicio anterior, incluso los no "
"conciliados.\n"
" 'Sin conciliar' copiará sólo los apuntes aun no conciliados el primer día "
"del nuevo ejercicio fiscal."
#. module: account #. module: account
#: view:account.tax:0 #: view:account.tax:0
@ -3371,6 +3395,10 @@ msgid ""
"that you can control what you received from your supplier according to what " "that you can control what you received from your supplier according to what "
"you purchased or received." "you purchased or received."
msgstr "" msgstr ""
"Las facturas de proveedores le permiten introducir y gestionar las facturas "
"emitidas por sus proveedores. OpenERP genera un borrador de facturas de "
"proveedor de forma automática, para que pueda controlar lo que recibió de su "
"proveedor de acuerdo a lo que compró o recibió."
#. module: account #. module: account
#: report:account.invoice:0 #: report:account.invoice:0
@ -3476,6 +3504,9 @@ msgid ""
"based on partner payment term!\n" "based on partner payment term!\n"
"Please define partner on it!" "Please define partner on it!"
msgstr "" msgstr ""
"La fecha de vencimiento de la línea de asiento generado por la línea del "
"modelo '%s' del modelo '%s' se basa en el plazo de pago de la empresa.\n"
"¡Por favor, defina la empresa en él!"
#. module: account #. module: account
#: code:addons/account/account_move_line.py:0 #: code:addons/account/account_move_line.py:0
@ -3621,6 +3652,7 @@ msgstr "Nº asientos"
msgid "" msgid ""
"You selected an Unit of Measure which is not compatible with the product." "You selected an Unit of Measure which is not compatible with the product."
msgstr "" msgstr ""
"Ha seleccionado una unidad de medida que no es compatible con el producto."
#. module: account #. module: account
#: code:addons/account/invoice.py:0 #: code:addons/account/invoice.py:0
@ -3721,6 +3753,10 @@ msgid ""
"debit/credit accounts, of type 'situation' and with a centralized " "debit/credit accounts, of type 'situation' and with a centralized "
"counterpart." "counterpart."
msgstr "" msgstr ""
"Lo más recomendable es usar un diario dedicado a contener los asientos de "
"apertura de todos los ejercicios. Tenga en cuenta que lo debería definir con "
"cuentas de debe/haber por defecto, de tipo 'situación' y con una "
"contrapartida centralizada."
#. module: account #. module: account
#: view:account.installer:0 #: view:account.installer:0
@ -3755,6 +3791,7 @@ msgstr "Validar"
#: sql_constraint:account.model.line:0 #: sql_constraint:account.model.line:0
msgid "Wrong credit or debit value in model (Credit Or Debit Must Be \"0\")!" msgid "Wrong credit or debit value in model (Credit Or Debit Must Be \"0\")!"
msgstr "" msgstr ""
"¡Valor de haber o debe en el modelo erróneo (haber o debe debería ser \"0\")!"
#. module: account #. module: account
#: model:ir.actions.act_window,help:account.action_account_invoice_report_all #: model:ir.actions.act_window,help:account.action_account_invoice_report_all
@ -3763,6 +3800,10 @@ msgid ""
"customer as well as payment delays. The tool search can also be used to " "customer as well as payment delays. The tool search can also be used to "
"personalise your Invoices reports and so, match this analysis to your needs." "personalise your Invoices reports and so, match this analysis to your needs."
msgstr "" msgstr ""
"A partir de este informe, puede tener una visión general del importe "
"facturado a sus clientes, así como los retrasos en los pagos. La herramienta "
"de búsqueda también se puede utilizar para personalizar los informes de las "
"facturas y por tanto, adaptar este análisis a sus necesidades."
#. module: account #. module: account
#: view:account.invoice.confirm:0 #: view:account.invoice.confirm:0
@ -3837,6 +3878,7 @@ msgid ""
"If the active field is set to False, it will allow you to hide the account " "If the active field is set to False, it will allow you to hide the account "
"without removing it." "without removing it."
msgstr "" msgstr ""
"Si el campo activo se desmarca, permite ocultar la cuenta sin eliminarla."
#. module: account #. module: account
#: view:account.tax.template:0 #: view:account.tax.template:0
@ -3967,6 +4009,11 @@ msgid ""
"the system on document validation (invoices, bank statements...) and will be " "the system on document validation (invoices, bank statements...) and will be "
"created in 'Posted' state." "created in 'Posted' state."
msgstr "" msgstr ""
"Todas los nuevos asientos creados manualmente están, por lo general, en "
"estado 'No fijado', pero puede configurar la opción de omitir ese estado en "
"el diario relacionado. En ese caso, se comportan como asientos creados "
"automáticamente por el sistema en la validación de documentos (facturas, "
"extractos bancarios, ...) y se crearán en estado 'Fijado'."
#. module: account #. module: account
#: code:addons/account/account_analytic_line.py:0 #: code:addons/account/account_analytic_line.py:0
@ -4133,7 +4180,7 @@ msgstr "Contabilidad. Seleccionar diario"
#. module: account #. module: account
#: view:account.invoice:0 #: view:account.invoice:0
msgid "Print Invoice" msgid "Print Invoice"
msgstr "" msgstr "Imprimir factura"
#. module: account #. module: account
#: view:account.tax.template:0 #: view:account.tax.template:0
@ -4181,6 +4228,11 @@ msgid ""
"you can create them in the system in order to automate their entries in the " "you can create them in the system in order to automate their entries in the "
"system." "system."
msgstr "" msgstr ""
"Un asiento recurrente es un asiento relacionados con los pagos que se "
"produce de forma recurrente a partir de una fecha concreta correspondiente a "
"la firma de un contrato o un acuerdo con un cliente o proveedor. Mediante la "
"definición de asientos recurrentes, puede automatizar sus asientos en el "
"sistema."
#. module: account #. module: account
#: view:account.analytic.account:0 #: view:account.analytic.account:0
@ -4719,6 +4771,7 @@ msgstr "Nombre columna"
msgid "" msgid ""
"This report gives you an overview of the situation of your general journals" "This report gives you an overview of the situation of your general journals"
msgstr "" msgstr ""
"Este informe proporciona una vista general de la situación de sus diarios"
#. module: account #. module: account
#: field:account.entries.report,year:0 #: field:account.entries.report,year:0
@ -4889,6 +4942,8 @@ msgstr "Impuesto en hijos"
msgid "" msgid ""
"You can not create move line on receivable/payable account without partner" "You can not create move line on receivable/payable account without partner"
msgstr "" msgstr ""
"No puede crear una línea de movimiento en una cuenta a cobrar/a pagar sin "
"una empresa."
#. module: account #. module: account
#: code:addons/account/account.py:0 #: code:addons/account/account.py:0
@ -5072,6 +5127,9 @@ msgid ""
"something to reconcile or not. This figure already count the current partner " "something to reconcile or not. This figure already count the current partner "
"as reconciled." "as reconciled."
msgstr "" msgstr ""
"Estos son las empresas restantes a las que debería comprobar si hay algo "
"para conciliar o no. Esta cifra ya contabiliza la empresa actual como "
"conciliada."
#. module: account #. module: account
#: view:account.subscription.line:0 #: view:account.subscription.line:0
@ -5233,6 +5291,11 @@ msgid ""
"impossible any new entry record. Close a fiscal year when you need to " "impossible any new entry record. Close a fiscal year when you need to "
"finalize your end of year results definitive " "finalize your end of year results definitive "
msgstr "" msgstr ""
"Si no debe introducir más asientos en un ejercicio fiscal, lo puede cerrar "
"desde aquí. Se cerrarán todos los períodos abiertos en este ejercicio que "
"hará imposible introducir ningún asiento nuevo. Cierre un ejercicio fiscal "
"cuando necesite finalizar los resultados de fin de ejercicio "
"definitivamente. "
#. module: account #. module: account
#: field:account.central.journal,amount_currency:0 #: field:account.central.journal,amount_currency:0
@ -5268,7 +5331,7 @@ msgstr "Válido hasta"
#. module: account #. module: account
#: view:board.board:0 #: view:board.board:0
msgid "Aged Receivables" msgid "Aged Receivables"
msgstr "" msgstr "A cobrar antiguos"
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_account_automatic_reconcile #: model:ir.actions.act_window,name:account.action_account_automatic_reconcile
@ -5444,6 +5507,8 @@ msgid ""
"Shows you the progress made today on the reconciliation process. Given by \n" "Shows you the progress made today on the reconciliation process. Given by \n"
"Partners Reconciled Today \\ (Remaining Partners + Partners Reconciled Today)" "Partners Reconciled Today \\ (Remaining Partners + Partners Reconciled Today)"
msgstr "" msgstr ""
"Le muestra el progreso realizado hoy en el proceso de conciliación. Indica:\n"
"Empresas conciliadas hoy / (Empresas restantes + Empresas conciliadas hoy)"
#. module: account #. module: account
#: help:account.payment.term.line,value:0 #: help:account.payment.term.line,value:0
@ -5452,6 +5517,9 @@ msgid ""
"that you should have your last line with the type 'Balance' to ensure that " "that you should have your last line with the type 'Balance' to ensure that "
"the whole amount will be threated." "the whole amount will be threated."
msgstr "" msgstr ""
"Seleccione aquí el tipo de valoración relacionada con esta línea de plazo de "
"pago. Tenga en cuenta que debe tener la última línea con el tipo 'Saldo' "
"para garantizar que el importe total sea procesado."
#. module: account #. module: account
#: field:account.invoice,period_id:0 #: field:account.invoice,period_id:0
@ -5624,6 +5692,12 @@ msgid ""
"all lines of your statement. When you are in the Payment column of the a " "all lines of your statement. When you are in the Payment column of the a "
"line, you can press F1 to open the reconciliation form." "line, you can press F1 to open the reconciliation form."
msgstr "" msgstr ""
"Un extracto bancario es un resumen de todas las transacciones financieras "
"ocurridas durante un periodo determinado de tiempo en una cuenta bancaria, "
"tarjeta de crédito o cualquier otro tipo de cuenta. Comience introduciendo "
"el saldo de apertura y cierre, y luego introduzca todas las lineas de su "
"extracto. Situándose en la columna Pago de una línea, puede pulsar F1 para "
"abrir el formulario de conciliación."
#. module: account #. module: account
#: selection:account.aged.trial.balance,direction_selection:0 #: selection:account.aged.trial.balance,direction_selection:0
@ -5719,7 +5793,7 @@ msgstr "Configuración informes"
#. module: account #. module: account
#: constraint:account.move.line:0 #: constraint:account.move.line:0
msgid "Company must be same for its related account and period." msgid "Company must be same for its related account and period."
msgstr "" msgstr "La compañía debe ser la misma para la cuenta y periodo relacionados."
#. module: account #. module: account
#: field:account.tax,type:0 #: field:account.tax,type:0
@ -5866,7 +5940,7 @@ msgstr "Cuenta haber por defecto"
#. module: account #. module: account
#: view:account.installer:0 #: view:account.installer:0
msgid "Configure Your Accounting Chart" msgid "Configure Your Accounting Chart"
msgstr "" msgstr "Configure su plan contable"
#. module: account #. module: account
#: view:account.payment.term.line:0 #: view:account.payment.term.line:0
@ -5996,6 +6070,10 @@ msgid ""
"year. Note that you can run this wizard many times for the same fiscal year: " "year. Note that you can run this wizard many times for the same fiscal year: "
"it will simply replace the old opening entries with the new ones." "it will simply replace the old opening entries with the new ones."
msgstr "" msgstr ""
"Este asistente generará los asientos de fin de ejercicio para el ejercicio "
"fiscal seleccionado. Tenga en cuenta que puede ejecutar este asistente "
"varias veces para el mismo ejercicio fiscal: simplemente se sustituyen los "
"asientos de apertura viejos por los nuevos."
#. module: account #. module: account
#: model:ir.ui.menu,name:account.menu_finance_bank_and_cash #: model:ir.ui.menu,name:account.menu_finance_bank_and_cash
@ -6010,6 +6088,10 @@ msgid ""
"the tool search to analyse information about analytic entries generated in " "the tool search to analyse information about analytic entries generated in "
"the system." "the system."
msgstr "" msgstr ""
"Desde esta vista, dispone de un análisis de los distintos asientos "
"analíticos de la cuenta analítica que ha definido para ajustarse a sus "
"necesidades del negocio. Utilice la herramienta de búsqueda para analizar la "
"información sobre los asientos analíticos generados en el sistema."
#. module: account #. module: account
#: sql_constraint:account.journal:0 #: sql_constraint:account.journal:0
@ -6061,7 +6143,7 @@ msgstr "Centralización"
#. module: account #. module: account
#: view:wizard.multi.charts.accounts:0 #: view:wizard.multi.charts.accounts:0
msgid "Generate Your Accounting Chart from a Chart Template" msgid "Generate Your Accounting Chart from a Chart Template"
msgstr "" msgstr "Generar su plan contable desde una plantilla de plan contable"
#. module: account #. module: account
#: view:account.account:0 #: view:account.account:0
@ -6339,6 +6421,11 @@ msgid ""
"reconcile in a series of accounts. It finds entries for each partner where " "reconcile in a series of accounts. It finds entries for each partner where "
"the amounts correspond." "the amounts correspond."
msgstr "" msgstr ""
"Para que una factura se considere pagada, los apuntes contables de la "
"factura deben estar conciliados con sus contrapartidas, normalmente pagos. "
"Con la funcionalidad de reconciliación automática, OpenERP realiza su propia "
"búsqueda de apuntes a conciliar en una serie de cuentas. Encuentra los "
"apuntes, para cada tercero, donde las cantidades se correspondan."
#. module: account #. module: account
#: view:account.move:0 #: view:account.move:0
@ -6367,6 +6454,8 @@ msgid ""
"This report is an analysis done by a partner. It is a PDF report containing " "This report is an analysis done by a partner. It is a PDF report containing "
"one line per partner representing the cumulative credit balance" "one line per partner representing the cumulative credit balance"
msgstr "" msgstr ""
"Este informe es un análisis realizado por una empresa. Es un informe PDF que "
"contiene una línea por empresa representando el saldo del haber acumulativo."
#. module: account #. module: account
#: code:addons/account/wizard/account_validate_account_move.py:0 #: code:addons/account/wizard/account_validate_account_move.py:0
@ -6405,6 +6494,8 @@ msgstr "Todos los asientos"
msgid "" msgid ""
"Error: The default UOM and the purchase UOM must be in the same category." "Error: The default UOM and the purchase UOM must be in the same category."
msgstr "" msgstr ""
"Error: La UdM por defecto y la UdM de compra deben estar en la misma "
"categoría."
#. module: account #. module: account
#: view:account.journal.select:0 #: view:account.journal.select:0
@ -6449,6 +6540,9 @@ msgid ""
"allowing you to quickly check the balance of each of your accounts in a " "allowing you to quickly check the balance of each of your accounts in a "
"single report" "single report"
msgstr "" msgstr ""
"Este informe le permite imprimir o generar un pdf de su balance de sumas y "
"saldos permitiendo comprobar con rapidez el saldo de cada una de sus cuentas "
"en un único informe."
#. module: account #. module: account
#: help:account.move,to_check:0 #: help:account.move,to_check:0
@ -6456,6 +6550,8 @@ msgid ""
"Check this box if you are unsure of that journal entry and if you want to " "Check this box if you are unsure of that journal entry and if you want to "
"note it as 'to be reviewed' by an accounting expert." "note it as 'to be reviewed' by an accounting expert."
msgstr "" msgstr ""
"Marque esta opción si no está seguro de este asiento y desea marcarlo como "
"'Para ser revisado' por un experto contable."
#. module: account #. module: account
#: help:account.installer.modules,account_voucher:0 #: help:account.installer.modules,account_voucher:0
@ -6463,6 +6559,9 @@ msgid ""
"Account Voucher module includes all the basic requirements of Voucher " "Account Voucher module includes all the basic requirements of Voucher "
"Entries for Bank, Cash, Sales, Purchase, Expenses, Contra, etc... " "Entries for Bank, Cash, Sales, Purchase, Expenses, Contra, etc... "
msgstr "" msgstr ""
"El módulo de recibos (justificantes) contables incluye todos los requisitos "
"básicos de justificantes bancarios, de caja, ventas, compras, gastos, "
"contrapartidas, etc... "
#. module: account #. module: account
#: view:account.chart.template:0 #: view:account.chart.template:0
@ -6576,6 +6675,9 @@ msgid ""
"Here you can personalize and create each view of your financial journals by " "Here you can personalize and create each view of your financial journals by "
"selecting the fields you want to appear and the sequence they will appear." "selecting the fields you want to appear and the sequence they will appear."
msgstr "" msgstr ""
"Aquí puede personalizar y crear cada vista de sus diarios financieros "
"seleccionando los campos que desea que aparezcan y la secuencia en la que "
"aparezcan."
#. module: account #. module: account
#: field:account.invoice,origin:0 #: field:account.invoice,origin:0
@ -6660,6 +6762,13 @@ msgid ""
"Most of the OpenERP operations (invoices, timesheets, expenses, etc) " "Most of the OpenERP operations (invoices, timesheets, expenses, etc) "
"generate analytic entries on the related account." "generate analytic entries on the related account."
msgstr "" msgstr ""
"El plan de cuentas normales tiene una estructura predefinida por los "
"requisitos legales del país. La estructura del plan de cuentas analíticas "
"debería reflejar las necesidades de su negocio de cara al análisis de costes "
"e ingresos. Por lo general se estructuran por contratos, proyectos, "
"productos o departamentos. La mayoría de las operaciones de OpenERP "
"(facturas, hojas de servicio, gastos, etc) generan asientos analíticos en la "
"cuenta asociada."
#. module: account #. module: account
#: field:account.analytic.journal,line_ids:0 #: field:account.analytic.journal,line_ids:0
@ -6734,6 +6843,26 @@ msgid ""
"module named account_voucher.\n" "module named account_voucher.\n"
" " " "
msgstr "" msgstr ""
"Módulo financiero y contable que cubre:\n"
" Contabilidad general\n"
" Contabilidad analítica / de costes\n"
" Gestión de terceros\n"
" Gestión de impuestos\n"
" Presupuestos\n"
" Facturación de clientes y proveedores\n"
" Extractos bancarios\n"
" Conciliación por tercero\n"
" Crea un cuadro de mandos para contables que incluye:\n"
" * Lista de presupuestos sin facturar\n"
" * Gráfica de cuentas vencidas a cobrar\n"
" * Gráfica de efectos a cobrar\n"
"\n"
"Los procesos, como el mantenimiento del libro mayor se realizan a través de "
"los diarios financieros definidos\n"
"(los asientos se agrupan por diario) para un ejercicio fiscal determinado; y "
"para la preparación de recibos \n"
"existe un módulo llamado account_voucher.\n"
" "
#. module: account #. module: account
#: report:account.invoice:0 #: report:account.invoice:0
@ -6933,6 +7062,9 @@ msgid ""
"will be added, Loss : Amount will be deducted.), Which is calculated from " "will be added, Loss : Amount will be deducted.), Which is calculated from "
"Profit & Loss Report" "Profit & Loss Report"
msgstr "" msgstr ""
"Esta cuenta se utiliza para transferir las Pérdidas/Ganancias (si es una "
"Ganancia: Importe será añadido, Pérdida: Importe será deducido), que se "
"calcula en el informe de Pérdidas y Ganancias."
#. module: account #. module: account
#: view:account.invoice.line:0 #: view:account.invoice.line:0
@ -6964,7 +7096,7 @@ msgstr "No puede tener dos registros abiertos para el mismo diario"
#. module: account #. module: account
#: report:account.invoice:0 #: report:account.invoice:0
msgid "Must be after setLang()" msgid "Must be after setLang()"
msgstr "" msgstr "Debe estar después de setLang()"
#. module: account #. module: account
#: view:account.payment.term.line:0 #: view:account.payment.term.line:0
@ -6974,7 +7106,7 @@ msgstr " día del mes= -1"
#. module: account #. module: account
#: constraint:res.partner:0 #: constraint:res.partner:0
msgid "Error ! You can not create recursive associated members." msgid "Error ! You can not create recursive associated members."
msgstr "" msgstr "¡Error! No puede crear miembros asociados recursivos."
#. module: account #. module: account
#: help:account.journal,type:0 #: help:account.journal,type:0
@ -7229,7 +7361,7 @@ msgstr "Activo"
#. module: account #. module: account
#: view:analytic.entries.report:0 #: view:analytic.entries.report:0
msgid " 7 Days " msgid " 7 Days "
msgstr "" msgstr " 7 Días "
#. module: account #. module: account
#: field:account.partner.reconcile.process,progress:0 #: field:account.partner.reconcile.process,progress:0
@ -7444,7 +7576,7 @@ msgstr "Asiento automático"
#. module: account #. module: account
#: constraint:account.tax.code.template:0 #: constraint:account.tax.code.template:0
msgid "Error ! You can not create recursive Tax Codes." msgid "Error ! You can not create recursive Tax Codes."
msgstr "" msgstr "¡Error! No puede crear códigos de impuestos recursivos."
#. module: account #. module: account
#: view:account.invoice.line:0 #: view:account.invoice.line:0
@ -7537,6 +7669,7 @@ msgstr "Estado de la factura es Abierta"
#: view:account.installer.modules:0 #: view:account.installer.modules:0
msgid "Add extra Accounting functionalities to the ones already installed." msgid "Add extra Accounting functionalities to the ones already installed."
msgstr "" msgstr ""
"Añade funcionalidades contables extras a las que ya tiene instaladas."
#. module: account #. module: account
#: report:account.analytic.account.cost_ledger:0 #: report:account.analytic.account.cost_ledger:0
@ -7705,6 +7838,9 @@ msgid ""
"information. To search for account entries, open a journal, then select a " "information. To search for account entries, open a journal, then select a "
"record line." "record line."
msgstr "" msgstr ""
"Puede buscar asientos contables individuales mediante la búsqueda de "
"información útil. Para buscar asientos contables, abra un diario y "
"seleccione una línea de registro."
#. module: account #. module: account
#: help:product.category,property_account_income_categ:0 #: help:product.category,property_account_income_categ:0
@ -8022,6 +8158,8 @@ msgid ""
"The amount of the voucher must be the same amount as the one on the " "The amount of the voucher must be the same amount as the one on the "
"statement line" "statement line"
msgstr "" msgstr ""
"El importe del recibo debe ser el mismo importe que el de la línea del "
"extracto"
#. module: account #. module: account
#: model:account.account.type,name:account.account_type_expense #: model:account.account.type,name:account.account_type_expense
@ -8156,6 +8294,9 @@ msgid ""
"will be added, Loss: Amount will be deducted.), Which is calculated from " "will be added, Loss: Amount will be deducted.), Which is calculated from "
"Profilt & Loss Report" "Profilt & Loss Report"
msgstr "" msgstr ""
"Esta cuenta se utiliza para transferir las Pérdidas/Ganancias (si es una "
"Ganancia: Importe será añadido, Pérdida: Importe será deducido), que se "
"calcula en el informe de Pérdidas y Ganancias."
#. module: account #. module: account
#: field:account.invoice,reference_type:0 #: field:account.invoice,reference_type:0
@ -8165,10 +8306,13 @@ msgstr "Tipo de referencia"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""
"Esta cuenta se utiliza para transferir las Pérdidas/Ganancias (si es una "
"Ganancia: Importe será añadido, Pérdida: Importe será deducido), que se "
"calcula en el informe de Pérdidas y Ganancias."
#. module: account #. module: account
#: view:account.analytic.cost.ledger.journal.report:0 #: view:account.analytic.cost.ledger.journal.report:0
@ -8202,6 +8346,9 @@ msgid ""
"the amount of this case into its parent. For example, set 1/-1 if you want " "the amount of this case into its parent. For example, set 1/-1 if you want "
"to add/substract it." "to add/substract it."
msgstr "" msgstr ""
"Puede indicar aquí el coeficiente que se utilizará cuando se consolide el "
"importe de este código dentro de su padre. Por ejemplo, indique 1/-1 si "
"desea sumar/restar el importe."
#. module: account #. module: account
#: view:account.invoice:0 #: view:account.invoice:0
@ -8304,6 +8451,10 @@ msgid ""
"depending on the country and sometimes industry sector. OpenERP allows you " "depending on the country and sometimes industry sector. OpenERP allows you "
"to define and manage them from this menu." "to define and manage them from this menu."
msgstr "" msgstr ""
"Un código de impuesto es una referencia al tipo impositivo a aplicar sobre "
"la base imponible (o descontar sobre el bruto) dependiente del país y a "
"veces del sector industrial. OpenERP le permite definirlos y gestionarlos "
"desde este menú."
#. module: account #. module: account
#: report:account.overdue:0 #: report:account.overdue:0
@ -8313,7 +8464,7 @@ msgstr "Apreciado Sr./Sra.,"
#. module: account #. module: account
#: view:account.installer.modules:0 #: view:account.installer.modules:0
msgid "Configure Your Accounting Application" msgid "Configure Your Accounting Application"
msgstr "" msgstr "Configure su aplicación de contabilidad"
#. module: account #. module: account
#: model:ir.actions.act_window,help:account.action_account_form #: model:ir.actions.act_window,help:account.action_account_form
@ -8325,6 +8476,12 @@ msgid ""
"accounts of a company are required by law to disclose a certain amount of " "accounts of a company are required by law to disclose a certain amount of "
"information. They have to be certified by an external auditor yearly." "information. They have to be certified by an external auditor yearly."
msgstr "" msgstr ""
"Cree y gestione las cuentas que necesite para registrar los asientos "
"financieros. Las cuentas son registros de su compañía para apuntar todas las "
"transacciones financieras. Las compañías resumen sus cuentas anuales en dos "
"informes principales: el balance y el informe de pérdidas y ganancias. "
"Habitualmente la presentación de las cuentas anuales es una exigencia legal, "
"y en algunos países deben ser certificadas anualmente por un auditor externo."
#. module: account #. module: account
#: code:addons/account/account.py:0 #: code:addons/account/account.py:0
@ -8450,7 +8607,7 @@ msgstr "Documento: Estado contable del cliente"
#. module: account #. module: account
#: constraint:account.move.line:0 #: constraint:account.move.line:0
msgid "You can not create move line on view account." msgid "You can not create move line on view account."
msgstr "" msgstr "No puede crear una línea de movimiento en una cuenta de tipo vista."
#. module: account #. module: account
#: code:addons/account/wizard/account_change_currency.py:0 #: code:addons/account/wizard/account_change_currency.py:0
@ -8889,7 +9046,7 @@ msgstr "Activo"
#: code:addons/account/invoice.py:0 #: code:addons/account/invoice.py:0
#, python-format #, python-format
msgid "Unknown Error" msgid "Unknown Error"
msgstr "" msgstr "Error desconocido"
#. module: account #. module: account
#: code:addons/account/account.py:0 #: code:addons/account/account.py:0
@ -8985,6 +9142,9 @@ msgid ""
"payment term!\n" "payment term!\n"
"Please define partner on it!" "Please define partner on it!"
msgstr "" msgstr ""
"La fecha de vencimiento de la línea de asiento generado por la línea del "
"modelo '%s' se basa en el plazo de pago de la empresa.\n"
"¡Por favor, defina la empresa en él!"
#. module: account #. module: account
#: field:account.cashbox.line,number:0 #: field:account.cashbox.line,number:0
@ -9132,6 +9292,8 @@ msgid ""
"This report allows you to print or generate a pdf of your general ledger " "This report allows you to print or generate a pdf of your general ledger "
"with details of all your account journals" "with details of all your account journals"
msgstr "" msgstr ""
"Este informe le permite imprimir o generar un pdf de su libro mayor con el "
"detalle de todos sus diarios contables."
#. module: account #. module: account
#: selection:account.account,type:0 #: selection:account.account,type:0
@ -9489,7 +9651,7 @@ msgstr ""
#. module: account #. module: account
#: constraint:account.account.template:0 #: constraint:account.account.template:0
msgid "Error ! You can not create recursive account templates." msgid "Error ! You can not create recursive account templates."
msgstr "" msgstr "¡Error! No puede crear plantillas de cuentas recursivas."
#. module: account #. module: account
#: view:account.subscription:0 #: view:account.subscription:0
@ -9573,7 +9735,7 @@ msgstr "Imprimir diarios analíticos"
#. module: account #. module: account
#: view:account.analytic.line:0 #: view:account.analytic.line:0
msgid "Fin.Account" msgid "Fin.Account"
msgstr "" msgstr "Cuenta fin."
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_aged_receivable_graph #: model:ir.actions.act_window,name:account.action_aged_receivable_graph
@ -9801,6 +9963,8 @@ msgid ""
"If the active field is set to False, it will allow you to hide the analytic " "If the active field is set to False, it will allow you to hide the analytic "
"journal without removing it." "journal without removing it."
msgstr "" msgstr ""
"Si el campo activo se desmarca, permite ocultar el diario analítico sin "
"eliminarlo."
#. module: account #. module: account
#: field:account.analytic.line,ref:0 #: field:account.analytic.line,ref:0
@ -9820,7 +9984,7 @@ msgstr "Modelo de asiento"
#: selection:report.account.sales,month:0 #: selection:report.account.sales,month:0
#: selection:report.account_type.sales,month:0 #: selection:report.account_type.sales,month:0
msgid "February" msgid "February"
msgstr "" msgstr "Febrero"
#. module: account #. module: account
#: field:account.bank.accounts.wizard,bank_account_id:0 #: field:account.bank.accounts.wizard,bank_account_id:0
@ -9835,7 +9999,7 @@ msgstr "Cuenta bancaria"
#: model:ir.actions.act_window,name:account.action_account_central_journal #: model:ir.actions.act_window,name:account.action_account_central_journal
#: model:ir.model,name:account.model_account_central_journal #: model:ir.model,name:account.model_account_central_journal
msgid "Account Central Journal" msgid "Account Central Journal"
msgstr "" msgstr "Diario central contable"
#. module: account #. module: account
#: report:account.overdue:0 #: report:account.overdue:0
@ -9850,7 +10014,7 @@ msgstr "Futuro"
#. module: account #. module: account
#: view:account.move.line:0 #: view:account.move.line:0
msgid "Search Journal Items" msgid "Search Journal Items"
msgstr "" msgstr "Buscar líneas asientos"
#. module: account #. module: account
#: help:account.tax,base_sign:0 #: help:account.tax,base_sign:0
@ -9877,7 +10041,7 @@ msgstr "Cuenta de gastos en plantilla producto"
#. module: account #. module: account
#: field:account.analytic.line,amount_currency:0 #: field:account.analytic.line,amount_currency:0
msgid "Amount currency" msgid "Amount currency"
msgstr "" msgstr "Moneda del importe"
#. module: account #. module: account
#: code:addons/account/wizard/account_report_aged_partner_balance.py:0 #: code:addons/account/wizard/account_report_aged_partner_balance.py:0

View File

@ -7937,7 +7937,7 @@ msgstr "Tipo de referencia"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -8249,11 +8249,11 @@ msgstr "Tipo de referencia"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"

View File

@ -7843,7 +7843,7 @@ msgstr "Viite tüüp"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7907,7 +7907,7 @@ msgstr "Viitetyyppi"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n" "Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n" "Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n" "POT-Creation-Date: 2010-12-21 19:43+0000\n"
"PO-Revision-Date: 2010-12-25 21:26+0000\n" "PO-Revision-Date: 2010-12-26 07:43+0000\n"
"Last-Translator: lolivier <olivier.lenoir@free.fr>\n" "Last-Translator: lolivier <olivier.lenoir@free.fr>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-12-26 04:50+0000\n" "X-Launchpad-Export-Date: 2010-12-27 04:39+0000\n"
"X-Generator: Launchpad (build Unknown)\n" "X-Generator: Launchpad (build Unknown)\n"
#. module: account #. module: account
@ -8353,7 +8353,7 @@ msgstr "Type de référence"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7844,7 +7844,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7872,7 +7872,7 @@ msgstr "Tip veze"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7846,7 +7846,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7847,7 +7847,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n" "Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n" "Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2010-12-21 19:43+0000\n" "POT-Creation-Date: 2010-12-21 19:43+0000\n"
"PO-Revision-Date: 2010-12-21 14:46+0000\n" "PO-Revision-Date: 2010-12-27 07:54+0000\n"
"Last-Translator: OpenERP Administrators <Unknown>\n" "Last-Translator: OpenERP Administrators <Unknown>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-12-24 05:19+0000\n" "X-Launchpad-Export-Date: 2010-12-28 04:41+0000\n"
"X-Generator: Launchpad (build Unknown)\n" "X-Generator: Launchpad (build Unknown)\n"
#. module: account #. module: account
@ -31,6 +31,8 @@ msgstr "Altra configurazione"
#, python-format #, python-format
msgid "No journal for ending writing has been defined for the fiscal year" msgid "No journal for ending writing has been defined for the fiscal year"
msgstr "" msgstr ""
"Nessun giornale è stato definito per l'anno fiscale per le scritture di "
"chiusura"
#. module: account #. module: account
#: code:addons/account/account.py:0 #: code:addons/account/account.py:0
@ -39,13 +41,13 @@ msgid ""
"You cannot remove/deactivate an account which is set as a property to any " "You cannot remove/deactivate an account which is set as a property to any "
"Partner." "Partner."
msgstr "" msgstr ""
"Non si può rimuovere o disattivare un conto che è stato definito come " "Non si può rimuovere o disattivare un conto che è stato collegato come "
"proprietà per un partner-" "proprietà per un Partner"
#. module: account #. module: account
#: view:account.move.reconcile:0 #: view:account.move.reconcile:0
msgid "Journal Entry Reconcile" msgid "Journal Entry Reconcile"
msgstr "" msgstr "Riconciliazione Scritture"
#. module: account #. module: account
#: field:account.installer.modules,account_voucher:0 #: field:account.installer.modules,account_voucher:0
@ -64,7 +66,7 @@ msgstr "Statistiche contabili"
#: field:account.invoice,residual:0 #: field:account.invoice,residual:0
#: field:report.invoice.created,residual:0 #: field:report.invoice.created,residual:0
msgid "Residual" msgid "Residual"
msgstr "Rimanenze" msgstr "Riserva"
#. module: account #. module: account
#: code:addons/account/invoice.py:0 #: code:addons/account/invoice.py:0
@ -85,7 +87,7 @@ msgstr "Valuta del Conto"
#. module: account #. module: account
#: view:account.tax:0 #: view:account.tax:0
msgid "Children Definition" msgid "Children Definition"
msgstr "" msgstr "Definizione sottoconti"
#. module: account #. module: account
#: model:ir.model,name:account.model_report_aged_receivable #: model:ir.model,name:account.model_report_aged_receivable
@ -185,7 +187,7 @@ msgstr ""
#: code:addons/account/invoice.py:0 #: code:addons/account/invoice.py:0
#, python-format #, python-format
msgid "Warning!" msgid "Warning!"
msgstr "" msgstr "Attenzione!"
#. module: account #. module: account
#: field:account.fiscal.position.account,account_src_id:0 #: field:account.fiscal.position.account,account_src_id:0
@ -297,7 +299,7 @@ msgstr "Bilancio calcolato"
#: model:ir.actions.act_window,name:account.action_view_account_use_model #: model:ir.actions.act_window,name:account.action_view_account_use_model
#: model:ir.ui.menu,name:account.menu_action_manual_recurring #: model:ir.ui.menu,name:account.menu_action_manual_recurring
msgid "Manual Recurring" msgid "Manual Recurring"
msgstr "" msgstr "Inserimento Manuale Scrittura Periodica"
#. module: account #. module: account
#: view:account.fiscalyear.close.state:0 #: view:account.fiscalyear.close.state:0
@ -307,7 +309,7 @@ msgstr "Chiudi anno fiscale"
#. module: account #. module: account
#: field:account.automatic.reconcile,allow_write_off:0 #: field:account.automatic.reconcile,allow_write_off:0
msgid "Allow write off" msgid "Allow write off"
msgstr "" msgstr "Permetti lo storno"
#. module: account #. module: account
#: view:account.analytic.chart:0 #: view:account.analytic.chart:0
@ -499,6 +501,9 @@ msgid ""
"it comes to 'Printed' state. When all transactions are done, it comes in " "it comes to 'Printed' state. When all transactions are done, it comes in "
"'Done' state." "'Done' state."
msgstr "" msgstr ""
"Quando viene creato un registro periodico il suo stato è 'bozza', se "
"stampato il suo stato è: 'stampato'. Quando sono registrate tutte le "
"tranazioni il suo stato è: 'Completato'"
#. module: account #. module: account
#: model:ir.actions.act_window,help:account.action_account_tax_chart #: model:ir.actions.act_window,help:account.action_account_tax_chart
@ -554,7 +559,7 @@ msgstr "Conferma le fatture selezionate"
#. module: account #. module: account
#: field:account.addtmpl.wizard,cparent_id:0 #: field:account.addtmpl.wizard,cparent_id:0
msgid "Parent target" msgid "Parent target"
msgstr "" msgstr "Riferimento gerarchico superiore"
#. module: account #. module: account
#: field:account.bank.statement,account_id:0 #: field:account.bank.statement,account_id:0
@ -743,7 +748,7 @@ msgstr "Conti di crediti su clienti"
#. module: account #. module: account
#: model:ir.model,name:account.model_account_report_general_ledger #: model:ir.model,name:account.model_account_report_general_ledger
msgid "General Ledger Report" msgid "General Ledger Report"
msgstr "" msgstr "Report Contabilità Generale"
#. module: account #. module: account
#: view:account.invoice:0 #: view:account.invoice:0
@ -840,7 +845,7 @@ msgstr "Riconciliazione automatica"
#. module: account #. module: account
#: view:account.payment.term.line:0 #: view:account.payment.term.line:0
msgid "Due date Computation" msgid "Due date Computation"
msgstr "" msgstr "Calcolo data di scadenza"
#. module: account #. module: account
#: report:account.analytic.account.quantity_cost_ledger:0 #: report:account.analytic.account.quantity_cost_ledger:0
@ -1095,7 +1100,7 @@ msgstr ""
#. module: account #. module: account
#: report:account.partner.balance:0 #: report:account.partner.balance:0
msgid "In dispute" msgid "In dispute"
msgstr "" msgstr "In contestazione"
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_view_bank_statement_tree #: model:ir.actions.act_window,name:account.action_view_bank_statement_tree
@ -1106,7 +1111,7 @@ msgstr "Registri di cassa"
#. module: account #. module: account
#: selection:account.account.type,report_type:0 #: selection:account.account.type,report_type:0
msgid "Profit & Loss (Expense Accounts)" msgid "Profit & Loss (Expense Accounts)"
msgstr "" msgstr "Profitti e perdite (Conti di debito)"
#. module: account #. module: account
#: report:account.analytic.account.journal:0 #: report:account.analytic.account.journal:0
@ -1493,7 +1498,7 @@ msgstr "Chiuso"
#. module: account #. module: account
#: model:ir.ui.menu,name:account.menu_finance_recurrent_entries #: model:ir.ui.menu,name:account.menu_finance_recurrent_entries
msgid "Recurring Entries" msgid "Recurring Entries"
msgstr "" msgstr "Scritture di Contabilità Periodiche"
#. module: account #. module: account
#: model:ir.model,name:account.model_account_fiscal_position_template #: model:ir.model,name:account.model_account_fiscal_position_template
@ -1825,7 +1830,7 @@ msgstr "Analisi delle fatture"
#. module: account #. module: account
#: model:ir.model,name:account.model_account_period_close #: model:ir.model,name:account.model_account_period_close
msgid "period close" msgid "period close"
msgstr "" msgstr "Chiusura periodo"
#. module: account #. module: account
#: view:account.installer:0 #: view:account.installer:0
@ -1846,7 +1851,7 @@ msgstr ""
#: field:account.invoice,move_id:0 #: field:account.invoice,move_id:0
#: field:account.invoice,move_name:0 #: field:account.invoice,move_name:0
msgid "Journal Entry" msgid "Journal Entry"
msgstr "Voce nel registro" msgstr "Registrazione Contabile"
#. module: account #. module: account
#: view:account.tax:0 #: view:account.tax:0
@ -3131,7 +3136,7 @@ msgstr "Acquisto"
#: model:ir.actions.act_window,name:account.action_account_installer #: model:ir.actions.act_window,name:account.action_account_installer
#: view:wizard.multi.charts.accounts:0 #: view:wizard.multi.charts.accounts:0
msgid "Accounting Application Configuration" msgid "Accounting Application Configuration"
msgstr "" msgstr "Configurazione Modulo di Contabilià"
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.open_board_account #: model:ir.actions.act_window,name:account.open_board_account
@ -3220,7 +3225,7 @@ msgstr "Ricerca del registro contabile"
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_invoice_tree_pending_invoice #: model:ir.actions.act_window,name:account.action_invoice_tree_pending_invoice
msgid "Pending Invoice" msgid "Pending Invoice"
msgstr "" msgstr "Fattura Aperta"
#. module: account #. module: account
#: selection:account.subscription,period_type:0 #: selection:account.subscription,period_type:0
@ -3626,6 +3631,7 @@ msgstr "# Voci"
msgid "" msgid ""
"You selected an Unit of Measure which is not compatible with the product." "You selected an Unit of Measure which is not compatible with the product."
msgstr "" msgstr ""
"E' stata selezionata una Unità di Misura non compatibile con il prodotto"
#. module: account #. module: account
#: code:addons/account/invoice.py:0 #: code:addons/account/invoice.py:0
@ -3644,7 +3650,7 @@ msgstr "Apri fattura"
#. module: account #. module: account
#: field:account.invoice.tax,factor_tax:0 #: field:account.invoice.tax,factor_tax:0
msgid "Multipication factor Tax code" msgid "Multipication factor Tax code"
msgstr "" msgstr "Fattore di Moltiplicazione del codice tassa"
#. module: account #. module: account
#: view:account.fiscal.position:0 #: view:account.fiscal.position:0
@ -3857,7 +3863,7 @@ msgstr "Ricerca del template per le imposte"
#. module: account #. module: account
#: model:ir.ui.menu,name:account.periodical_processing_journal_entries_validation #: model:ir.ui.menu,name:account.periodical_processing_journal_entries_validation
msgid "Draft Entries" msgid "Draft Entries"
msgstr "" msgstr "Registrazioni in stato Bozza"
#. module: account #. module: account
#: field:account.account,shortcut:0 #: field:account.account,shortcut:0
@ -5191,7 +5197,7 @@ msgstr "Numero (movimento)"
#. module: account #. module: account
#: view:account.invoice.refund:0 #: view:account.invoice.refund:0
msgid "Refund Invoice Options" msgid "Refund Invoice Options"
msgstr "Opzioni per rimborso fatture" msgstr ""
#. module: account #. module: account
#: help:account.automatic.reconcile,power:0 #: help:account.automatic.reconcile,power:0
@ -7181,7 +7187,7 @@ msgstr "Sì"
#. module: account #. module: account
#: view:report.account_type.sales:0 #: view:report.account_type.sales:0
msgid "Sales by Account type" msgid "Sales by Account type"
msgstr "Venditeper tipo di conto" msgstr "Vendite per tipo conto"
#. module: account #. module: account
#: help:account.invoice,move_id:0 #: help:account.invoice,move_id:0
@ -7429,8 +7435,8 @@ msgid ""
"This account will be used for invoices instead of the default one to value " "This account will be used for invoices instead of the default one to value "
"sales for the current product" "sales for the current product"
msgstr "" msgstr ""
"Questo conto verra' usato per le fatture al posto del default per le " "Questo conto verra' usato per le fatture al posto del conto di default per i "
"vendite di questo prodotto" "ricavi configurato per questo prodotto"
#. module: account #. module: account
#: help:account.journal,group_invoice_lines:0 #: help:account.journal,group_invoice_lines:0
@ -7682,6 +7688,8 @@ msgid ""
"This account will be used for invoices to value sales for the current " "This account will be used for invoices to value sales for the current "
"product category" "product category"
msgstr "" msgstr ""
"Questo conto verra' usato per le fatture al posto del conto di ricavo per la "
"categoria prodotto"
#. module: account #. module: account
#: field:account.move.line,reconcile_partial_id:0 #: field:account.move.line,reconcile_partial_id:0
@ -7850,7 +7858,7 @@ msgstr ""
#: field:account.invoice.report,date_due:0 #: field:account.invoice.report,date_due:0
#: field:report.invoice.created,date_due:0 #: field:report.invoice.created,date_due:0
msgid "Due Date" msgid "Due Date"
msgstr "Data di Scadenza" msgstr "Data scadenza"
#. module: account #. module: account
#: model:ir.ui.menu,name:account.menu_finance_payables #: model:ir.ui.menu,name:account.menu_finance_payables
@ -8131,7 +8139,7 @@ msgstr "Tipo riferimento"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""
@ -8204,7 +8212,7 @@ msgstr "Periodo da"
#: code:addons/account/installer.py:0 #: code:addons/account/installer.py:0
#, python-format #, python-format
msgid "Sales Refund Journal" msgid "Sales Refund Journal"
msgstr "" msgstr "Giornale Nota di Credito"
#. module: account #. module: account
#: code:addons/account/account.py:0 #: code:addons/account/account.py:0
@ -8574,7 +8582,7 @@ msgstr "Filtra per"
#: model:process.node,note:account.process_node_manually0 #: model:process.node,note:account.process_node_manually0
#: model:process.transition,name:account.process_transition_invoicemanually0 #: model:process.transition,name:account.process_transition_invoicemanually0
msgid "Manual entry" msgid "Manual entry"
msgstr "" msgstr "Registrazione Manuale"
#. module: account #. module: account
#: report:account.general.ledger:0 #: report:account.general.ledger:0
@ -8710,7 +8718,7 @@ msgstr "piano dei conti"
#. module: account #. module: account
#: field:account.move.line,date_maturity:0 #: field:account.move.line,date_maturity:0
msgid "Due date" msgid "Due date"
msgstr "Data di scadenza" msgstr "Data scadenza"
#. module: account #. module: account
#: view:account.move.journal:0 #: view:account.move.journal:0
@ -8920,7 +8928,7 @@ msgstr ""
#. module: account #. module: account
#: view:account.model:0 #: view:account.model:0
msgid "Journal Entry Model" msgid "Journal Entry Model"
msgstr "" msgstr "Modello di Registrazione"
#. module: account #. module: account
#: code:addons/account/wizard/account_use_model.py:0 #: code:addons/account/wizard/account_use_model.py:0
@ -9262,7 +9270,7 @@ msgstr "Azienda"
#. module: account #. module: account
#: model:ir.ui.menu,name:account.menu_action_subscription_form #: model:ir.ui.menu,name:account.menu_action_subscription_form
msgid "Define Recurring Entries" msgid "Define Recurring Entries"
msgstr "" msgstr "Definizione Scritture Periodiche"
#. module: account #. module: account
#: field:account.entries.report,date_maturity:0 #: field:account.entries.report,date_maturity:0
@ -9536,12 +9544,12 @@ msgstr ""
#. module: account #. module: account
#: model:ir.ui.menu,name:account.menu_finance_periodical_processing_billing #: model:ir.ui.menu,name:account.menu_finance_periodical_processing_billing
msgid "Billing" msgid "Billing"
msgstr "" msgstr "Fatturazione"
#. module: account #. module: account
#: view:account.account:0 #: view:account.account:0
msgid "Parent Account" msgid "Parent Account"
msgstr "" msgstr "Conto Padre"
#. module: account #. module: account
#: model:ir.model,name:account.model_account_analytic_chart #: model:ir.model,name:account.model_account_analytic_chart
@ -9654,7 +9662,7 @@ msgstr "Documenti contabili"
#. module: account #. module: account
#: model:ir.model,name:account.model_validate_account_move_lines #: model:ir.model,name:account.model_validate_account_move_lines
msgid "Validate Account Move Lines" msgid "Validate Account Move Lines"
msgstr "" msgstr "Conferma Movimenti Contabili"
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_account_analytic_cost_ledger_journal #: model:ir.actions.act_window,name:account.action_account_analytic_cost_ledger_journal
@ -9701,7 +9709,7 @@ msgstr ""
#. module: account #. module: account
#: model:ir.model,name:account.model_account_addtmpl_wizard #: model:ir.model,name:account.model_account_addtmpl_wizard
msgid "account.addtmpl.wizard" msgid "account.addtmpl.wizard"
msgstr "" msgstr "account.addtmpl.wizard"
#. module: account #. module: account
#: field:account.aged.trial.balance,result_selection:0 #: field:account.aged.trial.balance,result_selection:0
@ -9804,7 +9812,7 @@ msgstr "Conto spese per il prodotto"
#. module: account #. module: account
#: field:account.analytic.line,amount_currency:0 #: field:account.analytic.line,amount_currency:0
msgid "Amount currency" msgid "Amount currency"
msgstr "" msgstr "Valuta dell'importo"
#. module: account #. module: account
#: code:addons/account/wizard/account_report_aged_partner_balance.py:0 #: code:addons/account/wizard/account_report_aged_partner_balance.py:0

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7886,7 +7886,7 @@ msgstr "Nuorodos tipas"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7855,7 +7855,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -8039,7 +8039,7 @@ msgstr "Дугаарлалтын төрөл"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7968,7 +7968,7 @@ msgstr "Referentietype"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7874,7 +7874,7 @@ msgstr "Referentietype"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7970,7 +7970,7 @@ msgstr "Typ odnośnika"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7985,7 +7985,7 @@ msgstr "Tipo de referência"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7938,7 +7938,7 @@ msgstr "Tipo de referência"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7919,7 +7919,7 @@ msgstr "Tipul referinţei"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7897,7 +7897,7 @@ msgstr "Тип ссылки"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7846,7 +7846,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7864,7 +7864,7 @@ msgstr "Vrsta sklica"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7859,7 +7859,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7901,7 +7901,7 @@ msgstr "Tip reference"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7901,7 +7901,7 @@ msgstr "Tip reference"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7946,7 +7946,7 @@ msgstr "Referenstyp"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7842,7 +7842,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -8115,11 +8115,11 @@ msgstr "Referans Tipi"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7848,7 +7848,7 @@ msgstr "Тип посилання"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -8238,11 +8238,11 @@ msgstr "Lọai tham chiếu"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"

View File

@ -7849,7 +7849,7 @@ msgstr "关联类型"
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7843,7 +7843,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -7842,7 +7842,7 @@ msgstr ""
#. module: account #. module: account
#: help:account.bs.report,reserve_account_id:0 #: help:account.bs.report,reserve_account_id:0
msgid "" msgid ""
"This Account is used for trasfering Profit/Loss(If It is Profit: Amount will " "This Account is used for transferring Profit/Loss(If It is Profit: Amount will "
"be added, Loss : Amount will be duducted.), Which is calculated from Profilt " "be added, Loss : Amount will be duducted.), Which is calculated from Profilt "
"& Loss Report" "& Loss Report"
msgstr "" msgstr ""

View File

@ -95,7 +95,7 @@ class account_installer(osv.osv_memory):
'bank_accounts_id': _get_default_accounts, 'bank_accounts_id': _get_default_accounts,
'charts': _get_default_charts 'charts': _get_default_charts
} }
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False): def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
res = super(account_installer, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False) res = super(account_installer, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
configured_cmp = [] configured_cmp = []
@ -106,11 +106,12 @@ class account_installer(osv.osv_memory):
cr.execute("SELECT company_id FROM account_account WHERE active = 't' AND account_account.parent_id IS NULL AND name != %s", ("Chart For Automated Tests",)) cr.execute("SELECT company_id FROM account_account WHERE active = 't' AND account_account.parent_id IS NULL AND name != %s", ("Chart For Automated Tests",))
configured_cmp = [r[0] for r in cr.fetchall()] configured_cmp = [r[0] for r in cr.fetchall()]
unconfigured_cmp = list(set(company_ids)-set(configured_cmp)) unconfigured_cmp = list(set(company_ids)-set(configured_cmp))
if unconfigured_cmp: for field in res['fields']:
cmp_select = [(line.id, line.name) for line in self.pool.get('res.company').browse(cr, uid, unconfigured_cmp)] if field == 'company_id':
for field in res['fields']: res['fields'][field]['domain'] = unconfigured_cmp
if field == 'company_id': res['fields'][field]['selection'] = [('', '')]
res['fields'][field]['domain'] = unconfigured_cmp if unconfigured_cmp:
cmp_select = [(line.id, line.name) for line in self.pool.get('res.company').browse(cr, uid, unconfigured_cmp)]
res['fields'][field]['selection'] = cmp_select res['fields'][field]['selection'] = cmp_select
return res return res

View File

@ -95,7 +95,7 @@ class account_invoice(osv.osv):
cur_obj = self.pool.get('res.currency') cur_obj = self.pool.get('res.currency')
data_inv = self.browse(cr, uid, ids, context=context) data_inv = self.browse(cr, uid, ids, context=context)
for inv in data_inv: for inv in data_inv:
if inv.reconciled: if inv.reconciled:
res[inv.id] = 0.0 res[inv.id] = 0.0
continue continue
inv_total = inv.amount_total inv_total = inv.amount_total
@ -111,7 +111,7 @@ class account_invoice(osv.osv):
amount_in_invoice_currency = cur_obj.compute(cr, uid, inv.company_id.currency_id.id, inv.currency_id.id,abs(lines.debit-lines.credit),round=False,context=context_unreconciled) amount_in_invoice_currency = cur_obj.compute(cr, uid, inv.company_id.currency_id.id, inv.currency_id.id,abs(lines.debit-lines.credit),round=False,context=context_unreconciled)
inv_total -= amount_in_invoice_currency inv_total -= amount_in_invoice_currency
result = inv_total result = inv_total
res[inv.id] = self.pool.get('res.currency').round(cr, uid, inv.currency_id, result) res[inv.id] = self.pool.get('res.currency').round(cr, uid, inv.currency_id, result)
return res return res
@ -246,7 +246,7 @@ class account_invoice(osv.osv):
'invoice_line': fields.one2many('account.invoice.line', 'invoice_id', 'Invoice Lines', readonly=True, states={'draft':[('readonly',False)]}), 'invoice_line': fields.one2many('account.invoice.line', 'invoice_id', 'Invoice Lines', readonly=True, states={'draft':[('readonly',False)]}),
'tax_line': fields.one2many('account.invoice.tax', 'invoice_id', 'Tax Lines', readonly=True, states={'draft':[('readonly',False)]}), 'tax_line': fields.one2many('account.invoice.tax', 'invoice_id', 'Tax Lines', readonly=True, states={'draft':[('readonly',False)]}),
'move_id': fields.many2one('account.move', 'Journal Entry', readonly=True, select=1, help="Link to the automatically generated Journal Items."), 'move_id': fields.many2one('account.move', 'Journal Entry', readonly=True, select=1, ondelete='restrict', help="Link to the automatically generated Journal Items."),
'amount_untaxed': fields.function(_amount_all, method=True, digits_compute=dp.get_precision('Account'), string='Untaxed', 'amount_untaxed': fields.function(_amount_all, method=True, digits_compute=dp.get_precision('Account'), string='Untaxed',
store={ store={
'account.invoice': (lambda self, cr, uid, ids, c={}: ids, ['invoice_line'], 20), 'account.invoice': (lambda self, cr, uid, ids, c={}: ids, ['invoice_line'], 20),
@ -947,22 +947,22 @@ class account_invoice(osv.osv):
def line_get_convert(self, cr, uid, x, part, date, context=None): def line_get_convert(self, cr, uid, x, part, date, context=None):
return { return {
'date_maturity': x.get('date_maturity', False), 'date_maturity': x.get('date_maturity', False),
'partner_id':part, 'partner_id': part,
'name':x['name'][:64], 'name': x['name'][:64],
'date': date, 'date': date,
'debit':x['price']>0 and x['price'], 'debit': x['price']>0 and x['price'],
'credit':x['price']<0 and -x['price'], 'credit': x['price']<0 and -x['price'],
'account_id':x['account_id'], 'account_id': x['account_id'],
'analytic_lines':x.get('analytic_lines', []), 'analytic_lines': x.get('analytic_lines', []),
'amount_currency':x['price']>0 and abs(x.get('amount_currency', False)) or -abs(x.get('amount_currency', False)), 'amount_currency': x['price']>0 and abs(x.get('amount_currency', False)) or -abs(x.get('amount_currency', False)),
'currency_id':x.get('currency_id', False), 'currency_id': x.get('currency_id', False),
'tax_code_id': x.get('tax_code_id', False), 'tax_code_id': x.get('tax_code_id', False),
'tax_amount': x.get('tax_amount', False), 'tax_amount': x.get('tax_amount', False),
'ref':x.get('ref',False), 'ref': x.get('ref', False),
'quantity':x.get('quantity',1.00), 'quantity': x.get('quantity',1.00),
'product_id':x.get('product_id', False), 'product_id': x.get('product_id', False),
'product_uom_id':x.get('uos_id',False), 'product_uom_id': x.get('uos_id', False),
'analytic_account_id':x.get('account_analytic_id',False), 'analytic_account_id': x.get('account_analytic_id', False),
} }
def action_number(self, cr, uid, ids, context=None): def action_number(self, cr, uid, ids, context=None):
@ -1132,6 +1132,7 @@ class account_invoice(osv.osv):
invoice[field] = invoice[field] and invoice[field][0] invoice[field] = invoice[field] and invoice[field][0]
# create the new invoice # create the new invoice
new_ids.append(self.create(cr, uid, invoice)) new_ids.append(self.create(cr, uid, invoice))
return new_ids return new_ids
def pay_and_reconcile(self, cr, uid, ids, pay_amount, pay_account_id, period_id, pay_journal_id, writeoff_acc_id, writeoff_period_id, writeoff_journal_id, context=None, name=''): def pay_and_reconcile(self, cr, uid, ids, pay_amount, pay_account_id, period_id, pay_journal_id, writeoff_acc_id, writeoff_period_id, writeoff_journal_id, context=None, name=''):
@ -1232,6 +1233,7 @@ class account_invoice(osv.osv):
# Update the stored value (fields.function), so we write to trigger recompute # Update the stored value (fields.function), so we write to trigger recompute
self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context) self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
return True return True
account_invoice() account_invoice()
class account_invoice_line(osv.osv): class account_invoice_line(osv.osv):
@ -1643,6 +1645,7 @@ class account_invoice_tax(osv.osv):
'tax_amount': t['tax_amount'] 'tax_amount': t['tax_amount']
}) })
return res return res
account_invoice_tax() account_invoice_tax()

View File

@ -24,6 +24,7 @@ from osv import osv
class account_analytic_journal(osv.osv): class account_analytic_journal(osv.osv):
_name = 'account.analytic.journal' _name = 'account.analytic.journal'
_description = 'Analytic Journal'
_columns = { _columns = {
'name': fields.char('Journal Name', size=64, required=True), 'name': fields.char('Journal Name', size=64, required=True),
'code': fields.char('Journal Code', size=8), 'code': fields.char('Journal Code', size=8),
@ -49,4 +50,4 @@ class account_journal(osv.osv):
account_journal() account_journal()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,15 +1,29 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<report auto="False" id="analytic_journal_print" menu="False" model="account.analytic.journal" name="account.analytic.account.journal" rml="account/project/report/analytic_journal.rml" string="Analytic Journal"/> <report auto="False" id="analytic_journal_print" menu="False"
model="account.analytic.journal" name="account.analytic.account.journal"
rml="account/project/report/analytic_journal.rml" string="Analytic Journal"/>
<report auto="False" id="account_analytic_account_balance" menu="False" model="account.analytic.account" name="account.analytic.account.balance" rml="account/project/report/analytic_balance.rml" string="Analytic Balance"/> <report auto="False" id="account_analytic_account_balance" menu="False"
model="account.analytic.account" name="account.analytic.account.balance"
rml="account/project/report/analytic_balance.rml" string="Analytic Balance"/>
<report auto="False" id="account_analytic_account_inverted_balance" menu="False" model="account.analytic.account" name="account.analytic.account.inverted.balance" rml="account/project/report/inverted_analytic_balance.rml" string="Inverted Analytic Balance"/> <report auto="False" id="account_analytic_account_inverted_balance"
menu="False" model="account.analytic.account"
name="account.analytic.account.inverted.balance"
rml="account/project/report/inverted_analytic_balance.rml"
string="Inverted Analytic Balance"/>
<report auto="False" id="account_analytic_account_cost_ledger" menu="False" model="account.analytic.account" name="account.analytic.account.cost_ledger" rml="account/project/report/cost_ledger.rml" string="Cost Ledger"/> <report auto="False" id="account_analytic_account_cost_ledger" menu="False"
model="account.analytic.account" name="account.analytic.account.cost_ledger"
rml="account/project/report/cost_ledger.rml" string="Cost Ledger"/>
<report auto="False" id="account_analytic_account_quantity_cost_ledger" menu="False" model="account.analytic.account" name="account.analytic.account.quantity_cost_ledger" rml="account/project/report/quantity_cost_ledger.rml" string="Cost Ledger (Only quantities)"/> <report auto="False" id="account_analytic_account_quantity_cost_ledger"
menu="False" model="account.analytic.account"
name="account.analytic.account.quantity_cost_ledger"
rml="account/project/report/quantity_cost_ledger.rml"
string="Cost Ledger (Only quantities)"/>
</data> </data>
</openerp> </openerp>

View File

@ -82,12 +82,13 @@
<field name="name" select="1" colspan="4"/> <field name="name" select="1" colspan="4"/>
<field name="code" select="1"/> <field name="code" select="1"/>
<field name="parent_id" on_change="on_change_parent(parent_id)" groups="base.group_extended"/> <field name="parent_id" on_change="on_change_parent(parent_id)" groups="base.group_extended"/>
<field name="company_id" select="2" widget="selection" groups="base.group_multi_company"/> <field name="company_id" on_change="on_change_company(company_id)" select="2" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','&lt;&gt;','view')]}"/>
<field name="type" select="2"/> <field name="type" select="2"/>
</group> </group>
<notebook colspan="4"> <notebook colspan="4">
<page string="Account Data"> <page string="Account Data">
<field name="partner_id" select="1"/> <field name="partner_id" select="1"/>
<field name="currency_id" select="1"/>
<newline/> <newline/>
<field name="date_start"/> <field name="date_start"/>
<field name="date" select="2"/> <field name="date" select="2"/>
@ -112,7 +113,9 @@
<field name="view_id" ref="view_account_analytic_account_tree"/> <field name="view_id" ref="view_account_analytic_account_tree"/>
<field name="search_view_id" ref="account.view_account_analytic_account_search"/> <field name="search_view_id" ref="account.view_account_analytic_account_search"/>
</record> </record>
<menuitem action="action_account_analytic_account_form" id="account_analytic_def_account" parent="menu_analytic_accounting" groups="analytic.group_analytic_accounting,group_account_manager"/> <menuitem action="action_account_analytic_account_form" id="account_analytic_def_account"
parent="menu_analytic_accounting"
groups="analytic.group_analytic_accounting"/>
<record id="act_account_renew_view" model="ir.actions.act_window"> <record id="act_account_renew_view" model="ir.actions.act_window">
<field name="name">Accounts to Renew</field> <field name="name">Accounts to Renew</field>
@ -133,7 +136,9 @@
<field name="help">The normal chart of accounts has a structure defined by the legal requirement of the country. The analytic chart of account structure should reflect your own business needs in term of costs/revenues reporting. They are usually structured by contracts, projects, products or departements. Most of the OpenERP operations (invoices, timesheets, expenses, etc) generate analytic entries on the related account.</field> <field name="help">The normal chart of accounts has a structure defined by the legal requirement of the country. The analytic chart of account structure should reflect your own business needs in term of costs/revenues reporting. They are usually structured by contracts, projects, products or departements. Most of the OpenERP operations (invoices, timesheets, expenses, etc) generate analytic entries on the related account.</field>
</record> </record>
<menuitem groups="analytic.group_analytic_accounting,group_account_manager,group_account_user" id="next_id_40" name="Analytic" parent="account.menu_finance_generic_reporting" sequence="4"/> <menuitem groups="analytic.group_analytic_accounting" id="next_id_40"
name="Analytic" parent="account.menu_finance_generic_reporting"
sequence="4"/>
<record id="view_account_analytic_line_form" model="ir.ui.view"> <record id="view_account_analytic_line_form" model="ir.ui.view">
<field name="name">account.analytic.line.form</field> <field name="name">account.analytic.line.form</field>
@ -340,7 +345,7 @@
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_analytic_journal_search" /> <field name="search_view_id" ref="view_analytic_journal_search" />
</record> </record>
<menuitem groups="analytic.group_analytic_accounting,group_account_manager" action="action_account_analytic_journal_form" id="account_def_analytic_journal" parent="menu_analytic_accounting" sequence="5"/> <menuitem groups="analytic.group_analytic_accounting" action="action_account_analytic_journal_form" id="account_def_analytic_journal" parent="menu_analytic_accounting" sequence="5"/>
# #
# Open journal entries # Open journal entries
@ -352,7 +357,10 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
</record> </record>
<menuitem groups="analytic.group_analytic_accounting,group_account_manager,group_account_user" action="action_account_analytic_journal_open_form" id="account_analytic_journal_entries" parent="menu_finance_entries"/> <menuitem groups="analytic.group_analytic_accounting"
action="action_account_analytic_journal_open_form"
id="account_analytic_journal_entries"
parent="menu_finance_entries"/>
# #
# Reporting # Reporting
@ -364,7 +372,9 @@
<field name="view_type">tree</field> <field name="view_type">tree</field>
<field name="help">To print an analytics (or costs) journal for a given period. The report give code, move name, account number, general amount and analytic amount.</field> <field name="help">To print an analytics (or costs) journal for a given period. The report give code, move name, account number, general amount and analytic amount.</field>
</record> </record>
<menuitem groups="analytic.group_analytic_accounting,group_account_manager,group_account_user" action="action_account_analytic_journal_tree" id="account_analytic_journal_print" parent="account.next_id_40"/> <menuitem groups="analytic.group_analytic_accounting"
action="action_account_analytic_journal_tree"
id="account_analytic_journal_print" parent="account.next_id_40"/>
# #
# Statistics # Statistics

View File

@ -39,7 +39,7 @@
action="action_account_analytic_chart" action="action_account_analytic_chart"
id="menu_action_analytic_account_tree2" id="menu_action_analytic_account_tree2"
icon="STOCK_INDENT" icon="STOCK_INDENT"
groups="analytic.group_analytic_accounting,group_account_manager,group_account_user"/> groups="analytic.group_analytic_accounting"/>
</data> </data>
</openerp> </openerp>

View File

@ -100,7 +100,7 @@
<menuitem action="action_analytic_entries_report" <menuitem action="action_analytic_entries_report"
id="menu_action_analytic_entries_report" id="menu_action_analytic_entries_report"
groups="analytic.group_analytic_accounting,group_account_manager" groups="analytic.group_analytic_accounting"
parent="account.menu_finance_statistic_report_statement" sequence="4"/> parent="account.menu_finance_statistic_report_statement" sequence="4"/>
</data> </data>

View File

@ -70,6 +70,9 @@ class account_balance(report_sxw.rml_parse, common_report_header):
def lines(self, form, ids=[], done=None):#, level=1): def lines(self, form, ids=[], done=None):#, level=1):
def _process_child(accounts, disp_acc, parent): def _process_child(accounts, disp_acc, parent):
account_rec = [acct for acct in accounts if acct['id']==parent][0] account_rec = [acct for acct in accounts if acct['id']==parent][0]
currency_obj = self.pool.get('res.currency')
acc_id = self.pool.get('account.account').browse(self.cr, self.uid, account_rec['id'])
currency = acc_id.currency_id and acc_id.currency_id or acc_id.company_id.currency_id
res = { res = {
'id': account_rec['id'], 'id': account_rec['id'],
'type': account_rec['type'], 'type': account_rec['type'],
@ -84,12 +87,11 @@ class account_balance(report_sxw.rml_parse, common_report_header):
} }
self.sum_debit += account_rec['debit'] self.sum_debit += account_rec['debit']
self.sum_credit += account_rec['credit'] self.sum_credit += account_rec['credit']
acc_digit = self.pool.get('decimal.precision').precision_get(self.cr, 1, 'Account')
if disp_acc == 'bal_movement': if disp_acc == 'bal_movement':
if round(res['credit'], acc_digit) > 0 or round(res['debit'], acc_digit) > 0 or round(res['balance'], acc_digit) != 0: if currency_obj.is_zero(self.cr, self.uid, currency, res['credit']) > 0 or currency_obj.is_zero(self.cr, self.uid, currency, res['debit']) > 0 or currency_obj.is_zero(self.cr, self.uid, currency, res['balance']) != 0:
self.result_acc.append(res) self.result_acc.append(res)
elif disp_acc == 'bal_solde': elif disp_acc == 'bal_solde':
if round(res['balance'], acc_digit) != 0: if currency_obj.is_zero(self.cr, self.uid, currency, res['debit']) != 0:
self.result_acc.append(res) self.result_acc.append(res)
else: else:
self.result_acc.append(res) self.result_acc.append(res)

View File

0
addons/account/report/account_balance_old_backup.rml Executable file → Normal file
View File

View File

@ -89,6 +89,7 @@ class report_balancesheet_horizontal(report_sxw.rml_parse, common_report_header)
self.res_bl = self.obj_pl.final_result() self.res_bl = self.obj_pl.final_result()
account_pool = db_pool.get('account.account') account_pool = db_pool.get('account.account')
currency_pool = db_pool.get('res.currency')
types = [ types = [
'liability', 'liability',
@ -136,16 +137,16 @@ class report_balancesheet_horizontal(report_sxw.rml_parse, common_report_header)
'level': account.level, 'level': account.level,
'balance':account.balance, 'balance':account.balance,
} }
acc_digit = self.pool.get('decimal.precision').precision_get(self.cr, 1, 'Account') currency = account.currency_id and account.currency_id or account.company_id.currency_id
if typ == 'liability' and account.type <> 'view' and (account.debit <> account.credit): if typ == 'liability' and account.type <> 'view' and (account.debit <> account.credit):
self.result_sum_dr += account.balance self.result_sum_dr += account.balance
if typ == 'asset' and account.type <> 'view' and (account.debit <> account.credit): if typ == 'asset' and account.type <> 'view' and (account.debit <> account.credit):
self.result_sum_cr += account.balance self.result_sum_cr += account.balance
if data['form']['display_account'] == 'bal_movement': if data['form']['display_account'] == 'bal_movement':
if round(account.credit, acc_digit) > 0 or round(account.debit, acc_digit) > 0 or round(account.balance, acc_digit) != 0: if currency_pool.is_zero(self.cr, self.uid, currency, account.credit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.debit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
accounts_temp.append(account_dict) accounts_temp.append(account_dict)
elif data['form']['display_account'] == 'bal_solde': elif data['form']['display_account'] == 'bal_solde':
if round(account.balance, acc_digit) != 0: if currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
accounts_temp.append(account_dict) accounts_temp.append(account_dict)
else: else:
accounts_temp.append(account_dict) accounts_temp.append(account_dict)

View File

@ -341,7 +341,7 @@
<para style="terp_default_8"> <para style="terp_default_8">
<font color="white"> </font> <font color="white"> </font>
</para> </para>
<blockTable colWidths="82.0,82.0,82.0,128.0,82.0,82.0" style="Table13"> <blockTable colWidths="102.0,102.0,102.0,130.0,102.0" style="Table13">
<tr> <tr>
<td> <td>
<para style="terp_tblheader_General_Centre">Chart of Account</para> <para style="terp_tblheader_General_Centre">Chart of Account</para>
@ -355,15 +355,12 @@
<td> <td>
<para style="terp_tblheader_General_Centre">Filters By [[ get_filter(data)!='No Filter' and get_filter(data) ]]</para> <para style="terp_tblheader_General_Centre">Filters By [[ get_filter(data)!='No Filter' and get_filter(data) ]]</para>
</td> </td>
<td>
<para style="terp_tblheader_General_Centre">Partner's</para>
</td>
<td> <td>
<para style="terp_tblheader_General_Centre">Target Moves</para> <para style="terp_tblheader_General_Centre">Target Moves</para>
</td> </td>
</tr> </tr>
</blockTable> </blockTable>
<blockTable colWidths="82.0,82.0,82.0,128.0,82.0,82.0" style="Table1"> <blockTable colWidths="102.0,102.0,102.0,130.0,102.0" style="Table1">
<tr> <tr>
<td> <td>
<para style="terp_default_Centre_8">[[ get_account(data) or '' ]]</para> <para style="terp_default_Centre_8">[[ get_account(data) or '' ]]</para>
@ -420,9 +417,6 @@
<font color="white"> </font> <font color="white"> </font>
</para> </para>
</td> </td>
<td>
<para style="terp_default_Centre_8">[[ get_partners() ]]</para>
</td>
<td> <td>
<para style="terp_default_Centre_8">[[ get_target_move(data) ]]</para> <para style="terp_default_Centre_8">[[ get_target_move(data) ]]</para>
</td> </td>

View File

@ -36,7 +36,7 @@ class account_invoice_report(osv.osv):
('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True), ('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True),
'product_id': fields.many2one('product.product', 'Product', readonly=True), 'product_id': fields.many2one('product.product', 'Product', readonly=True),
'product_qty':fields.float('Qty', readonly=True), 'product_qty':fields.float('Qty', readonly=True),
'uom_name': fields.char('Default UoM', size=128, readonly=True), 'uom_name': fields.char('Reference UoM', size=128, readonly=True),
'payment_term': fields.many2one('account.payment.term', 'Payment Term', readonly=True), 'payment_term': fields.many2one('account.payment.term', 'Payment Term', readonly=True),
'period_id': fields.many2one('account.period', 'Force Period', domain=[('state','<>','done')], readonly=True), 'period_id': fields.many2one('account.period', 'Force Period', domain=[('state','<>','done')], readonly=True),
'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position', readonly=True), 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position', readonly=True),
@ -88,7 +88,11 @@ class account_invoice_report(osv.osv):
ai.partner_id as partner_id, ai.partner_id as partner_id,
ai.payment_term as payment_term, ai.payment_term as payment_term,
ai.period_id as period_id, ai.period_id as period_id,
u.name as uom_name, (case when u.uom_type not in ('reference') then
(select name from product_uom where uom_type='reference' and category_id=u.category_id)
else
u.name
end) as uom_name,
ai.currency_id as currency_id, ai.currency_id as currency_id,
ai.journal_id as journal_id, ai.journal_id as journal_id,
ai.fiscal_position as fiscal_position, ai.fiscal_position as fiscal_position,
@ -104,9 +108,9 @@ class account_invoice_report(osv.osv):
ai.account_id as account_id, ai.account_id as account_id,
ai.partner_bank_id as partner_bank_id, ai.partner_bank_id as partner_bank_id,
sum(case when ai.type in ('out_refund','in_invoice') then sum(case when ai.type in ('out_refund','in_invoice') then
ail.quantity * u.factor * -1 ail.quantity / u.factor * -1
else else
ail.quantity * u.factor ail.quantity / u.factor
end) as product_qty, end) as product_qty,
sum(case when ai.type in ('out_refund','in_invoice') then sum(case when ai.type in ('out_refund','in_invoice') then
ail.quantity*ail.price_unit * -1 ail.quantity*ail.price_unit * -1
@ -125,9 +129,9 @@ class account_invoice_report(osv.osv):
else else
sum(ail.quantity*ail.price_unit) sum(ail.quantity*ail.price_unit)
end)/(case when ai.type in ('out_refund','in_invoice') then end)/(case when ai.type in ('out_refund','in_invoice') then
sum(ail.quantity*u.factor*-1) sum(ail.quantity/u.factor*-1)
else else
sum(ail.quantity*u.factor) sum(ail.quantity/u.factor)
end) / cr.rate as price_average, end) / cr.rate as price_average,
cr.rate as currency_rate, cr.rate as currency_rate,
sum((select extract(epoch from avg(date_trunc('day',aml.date_created)-date_trunc('day',l.create_date)))/(24*60*60)::decimal(16,2) sum((select extract(epoch from avg(date_trunc('day',aml.date_created)-date_trunc('day',l.create_date)))/(24*60*60)::decimal(16,2)
@ -179,7 +183,9 @@ class account_invoice_report(osv.osv):
ai.account_id, ai.account_id,
ai.partner_bank_id, ai.partner_bank_id,
ai.residual, ai.residual,
ai.amount_total ai.amount_total,
u.uom_type,
u.category_id
) )
""") """)

View File

@ -82,6 +82,7 @@ class report_pl_account_horizontal(report_sxw.rml_parse, common_report_header):
db_pool = pooler.get_pool(self.cr.dbname) db_pool = pooler.get_pool(self.cr.dbname)
account_pool = db_pool.get('account.account') account_pool = db_pool.get('account.account')
currency_pool = db_pool.get('res.currency')
types = [ types = [
'expense', 'expense',
@ -106,16 +107,16 @@ class report_pl_account_horizontal(report_sxw.rml_parse, common_report_header):
accounts_temp = [] accounts_temp = []
for account in accounts: for account in accounts:
if (account.user_type.report_type) and (account.user_type.report_type == typ): if (account.user_type.report_type) and (account.user_type.report_type == typ):
acc_digit = self.pool.get('decimal.precision').precision_get(self.cr, 1, 'Account') currency = account.currency_id and account.currency_id or account.company_id.currency_id
if typ == 'expense' and account.type <> 'view' and (account.debit <> account.credit): if typ == 'expense' and account.type <> 'view' and (account.debit <> account.credit):
self.result_sum_dr += abs(account.debit - account.credit) self.result_sum_dr += abs(account.debit - account.credit)
if typ == 'income' and account.type <> 'view' and (account.debit <> account.credit): if typ == 'income' and account.type <> 'view' and (account.debit <> account.credit):
self.result_sum_cr += abs(account.debit - account.credit) self.result_sum_cr += abs(account.debit - account.credit)
if data['form']['display_account'] == 'bal_movement': if data['form']['display_account'] == 'bal_movement':
if round(account.credit, acc_digit) > 0 or round(account.debit, acc_digit) > 0 or round(account.balance, acc_digit) != 0: if currency_pool.is_zero(self.cr, self.uid, currency, account.credit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.debit) > 0 or currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
accounts_temp.append(account) accounts_temp.append(account)
elif data['form']['display_account'] == 'bal_solde': elif data['form']['display_account'] == 'bal_solde':
if round(account.balance, acc_digit) != 0: if currency_pool.is_zero(self.cr, self.uid, currency, account.balance) != 0:
accounts_temp.append(account) accounts_temp.append(account)
else: else:
accounts_temp.append(account) accounts_temp.append(account)

View File

@ -9,7 +9,9 @@
"access_account_account_user","account.account user","model_account_account","base.group_user",1,0,0,0 "access_account_account_user","account.account user","model_account_account","base.group_user",1,0,0,0
"access_account_account_partner_manager","account.account partner manager","model_account_account","base.group_partner_manager",1,0,0,0 "access_account_account_partner_manager","account.account partner manager","model_account_account","base.group_partner_manager",1,0,0,0
"access_account_journal_view","account.journal.view","model_account_journal_view","account.group_account_user",1,0,0,0 "access_account_journal_view","account.journal.view","model_account_journal_view","account.group_account_user",1,0,0,0
"access_account_journal_view_hruser","account.journal.view hruser","model_account_journal_view","base.group_hr_user",1,0,0,0
"access_account_journal_column","account.journal.column","model_account_journal_column","account.group_account_user",1,0,0,0 "access_account_journal_column","account.journal.column","model_account_journal_column","account.group_account_user",1,0,0,0
"access_account_journal_column_hruser","account.journal.column hruser","model_account_journal_column","base.group_hr_user",1,0,0,0
"access_account_journal","account.journal","model_account_journal","account.group_account_user",1,0,0,0 "access_account_journal","account.journal","model_account_journal","account.group_account_user",1,0,0,0
"access_account_period","account.period","model_account_period","account.group_account_user",1,0,0,0 "access_account_period","account.period","model_account_period","account.group_account_user",1,0,0,0
"access_account_journal_period_manager","account.journal.period manager","model_account_journal_period","account.group_account_manager",1,0,0,0 "access_account_journal_period_manager","account.journal.period manager","model_account_journal_period","account.group_account_manager",1,0,0,0
@ -31,7 +33,7 @@
"access_account_tax_code_template","account.tax.code.template","model_account_tax_code_template","account.group_account_manager",1,1,1,1 "access_account_tax_code_template","account.tax.code.template","model_account_tax_code_template","account.group_account_manager",1,1,1,1
"access_account_chart_template","account.chart.template","model_account_chart_template","account.group_account_manager",1,1,1,1 "access_account_chart_template","account.chart.template","model_account_chart_template","account.group_account_manager",1,1,1,1
"access_account_tax_template","account.tax.template","model_account_tax_template","account.group_account_manager",1,1,1,1 "access_account_tax_template","account.tax.template","model_account_tax_template","account.group_account_manager",1,1,1,1
"access_account_bank_statement","account.bank.statement","model_account_bank_statement","account.group_account_user",1,0,0,0 "access_account_bank_statement","account.bank.statement","model_account_bank_statement","account.group_account_user",1,1,1,1
"access_account_bank_statement_line","account.bank.statement.line","model_account_bank_statement_line","account.group_account_user",1,1,1,1 "access_account_bank_statement_line","account.bank.statement.line","model_account_bank_statement_line","account.group_account_user",1,1,1,1
"access_account_analytic_line","account.analytic.line","model_account_analytic_line","account.group_account_user",1,1,1,1 "access_account_analytic_line","account.analytic.line","model_account_analytic_line","account.group_account_user",1,1,1,1
"access_account_analytic_line_manager","account.analytic.line manager","model_account_analytic_line","account.group_account_manager",1,0,0,0 "access_account_analytic_line_manager","account.analytic.line manager","model_account_analytic_line","account.group_account_manager",1,0,0,0
@ -69,8 +71,8 @@
"access_account_invoice_user","account.invoice.line user","model_account_invoice_line","base.group_user",1,0,0,0 "access_account_invoice_user","account.invoice.line user","model_account_invoice_line","base.group_user",1,0,0,0
"access_account_payment_term_partner_manager","account.payment.term partner manager","model_account_payment_term","base.group_user",1,0,0,0 "access_account_payment_term_partner_manager","account.payment.term partner manager","model_account_payment_term","base.group_user",1,0,0,0
"access_account_payment_term_line_partner_manager","account.payment.term.line partner manager","model_account_payment_term_line","base.group_user",1,0,0,0 "access_account_payment_term_line_partner_manager","account.payment.term.line partner manager","model_account_payment_term_line","base.group_user",1,0,0,0
"access_account_account_product_manager","account.account product manager","model_account_account","product.group_product_manager",1,0,0,0 "access_account_account_sale_manager","account.account sale manager","model_account_account","base.group_sale_manager",1,0,0,0
"access_account_journal_product_manager","account.journal product manager","model_account_journal","product.group_product_manager",1,0,0,0 "access_account_journal_sale_manager","account.journal sale manager","model_account_journal","base.group_sale_manager",1,0,0,0
"access_account_fiscal_position_product_manager","account.fiscal.position account.manager","model_account_fiscal_position","account.group_account_manager",1,1,1,1 "access_account_fiscal_position_product_manager","account.fiscal.position account.manager","model_account_fiscal_position","account.group_account_manager",1,1,1,1
"access_account_fiscal_position_tax_product_manager","account.fiscal.position.tax account.manager","model_account_fiscal_position_tax","account.group_account_manager",1,1,1,1 "access_account_fiscal_position_tax_product_manager","account.fiscal.position.tax account.manager","model_account_fiscal_position_tax","account.group_account_manager",1,1,1,1
"access_account_fiscal_position_account_product_manager","account.fiscal.position account.manager","model_account_fiscal_position_account","account.group_account_manager",1,1,1,1 "access_account_fiscal_position_account_product_manager","account.fiscal.position account.manager","model_account_fiscal_position_account","account.group_account_manager",1,1,1,1
@ -97,6 +99,7 @@
"access_account_invoice_manager","account.invoice manager","model_account_invoice","account.group_account_manager",1,0,0,0 "access_account_invoice_manager","account.invoice manager","model_account_invoice","account.group_account_manager",1,0,0,0
"access_account_bank_statement_manager","account.bank.statement manager","model_account_bank_statement","account.group_account_manager",1,1,1,1 "access_account_bank_statement_manager","account.bank.statement manager","model_account_bank_statement","account.group_account_manager",1,1,1,1
"access_account_entries_report_manager","account.entries.report","model_account_entries_report","account.group_account_manager",1,1,1,1 "access_account_entries_report_manager","account.entries.report","model_account_entries_report","account.group_account_manager",1,1,1,1
"access_account_entries_report_user","account.entries.report","model_account_entries_report","account.group_account_user",1,0,0,0
"access_analytic_entries_report_manager","analytic.entries.report","model_analytic_entries_report","account.group_account_manager",1,0,0,0 "access_analytic_entries_report_manager","analytic.entries.report","model_analytic_entries_report","account.group_account_manager",1,0,0,0
"access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_manager",1,1,1,1 "access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_manager",1,1,1,1
"access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_user",1,1,1,1 "access_account_cashbox_line","account.cashbox.line","model_account_cashbox_line","account.group_account_user",1,1,1,1
@ -116,5 +119,8 @@
"access_report_account_receivable_invoice","report.account.receivable.invoice","model_report_account_receivable","account.group_account_invoice",1,1,1,1 "access_report_account_receivable_invoice","report.account.receivable.invoice","model_report_account_receivable","account.group_account_invoice",1,1,1,1
"access_report_account_receivable_user","report.account.receivable.user","model_report_account_receivable","account.group_account_user",1,1,1,1 "access_report_account_receivable_user","report.account.receivable.user","model_report_account_receivable","account.group_account_user",1,1,1,1
"access_account_sequence_fiscal_year_invoice","account.sequence.fiscalyear invoice","model_account_sequence_fiscalyear","account.group_account_invoice",1,1,1,1 "access_account_sequence_fiscal_year_invoice","account.sequence.fiscalyear invoice","model_account_sequence_fiscalyear","account.group_account_invoice",1,1,1,1
"access_account_tax_sale_manager","account.tax sale manager","model_account_tax","base.group_sale_salesman",1,0,0,0
"access_account_journal_sale_manager","account.journal sale manager","model_account_journal","base.group_sale_salesman",1,0,0,0
"access_account_invoice_tax_sale_manager","account.invoice.tax sale manager","model_account_invoice_tax","base.group_sale_salesman",1,0,0,0
"access_account_sequence_fiscal_year_sale_user","account.sequence.fiscalyear.sale.user","model_account_sequence_fiscalyear","base.group_sale_salesman",1,1,1,0 "access_account_sequence_fiscal_year_sale_user","account.sequence.fiscalyear.sale.user","model_account_sequence_fiscalyear","base.group_sale_salesman",1,1,1,0
"access_account_sequence_fiscal_year_sale_manager","account.sequence.fiscalyear.sale.manager","model_account_sequence_fiscalyear","base.group_sale_manager",1,1,1,1 "access_account_sequence_fiscal_year_sale_manager","account.sequence.fiscalyear.sale.manager","model_account_sequence_fiscalyear","base.group_sale_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
9 access_account_account_user account.account user model_account_account base.group_user 1 0 0 0
10 access_account_account_partner_manager account.account partner manager model_account_account base.group_partner_manager 1 0 0 0
11 access_account_journal_view account.journal.view model_account_journal_view account.group_account_user 1 0 0 0
12 access_account_journal_view_hruser account.journal.view hruser model_account_journal_view base.group_hr_user 1 0 0 0
13 access_account_journal_column account.journal.column model_account_journal_column account.group_account_user 1 0 0 0
14 access_account_journal_column_hruser account.journal.column hruser model_account_journal_column base.group_hr_user 1 0 0 0
15 access_account_journal account.journal model_account_journal account.group_account_user 1 0 0 0
16 access_account_period account.period model_account_period account.group_account_user 1 0 0 0
17 access_account_journal_period_manager account.journal.period manager model_account_journal_period account.group_account_manager 1 0 0 0
33 access_account_tax_code_template account.tax.code.template model_account_tax_code_template account.group_account_manager 1 1 1 1
34 access_account_chart_template account.chart.template model_account_chart_template account.group_account_manager 1 1 1 1
35 access_account_tax_template account.tax.template model_account_tax_template account.group_account_manager 1 1 1 1
36 access_account_bank_statement account.bank.statement model_account_bank_statement account.group_account_user 1 0 1 0 1 0 1
37 access_account_bank_statement_line account.bank.statement.line model_account_bank_statement_line account.group_account_user 1 1 1 1
38 access_account_analytic_line account.analytic.line model_account_analytic_line account.group_account_user 1 1 1 1
39 access_account_analytic_line_manager account.analytic.line manager model_account_analytic_line account.group_account_manager 1 0 0 0
71 access_account_invoice_user account.invoice.line user model_account_invoice_line base.group_user 1 0 0 0
72 access_account_payment_term_partner_manager account.payment.term partner manager model_account_payment_term base.group_user 1 0 0 0
73 access_account_payment_term_line_partner_manager account.payment.term.line partner manager model_account_payment_term_line base.group_user 1 0 0 0
74 access_account_account_product_manager access_account_account_sale_manager account.account product manager account.account sale manager model_account_account product.group_product_manager base.group_sale_manager 1 0 0 0
75 access_account_journal_product_manager access_account_journal_sale_manager account.journal product manager account.journal sale manager model_account_journal product.group_product_manager base.group_sale_manager 1 0 0 0
76 access_account_fiscal_position_product_manager account.fiscal.position account.manager model_account_fiscal_position account.group_account_manager 1 1 1 1
77 access_account_fiscal_position_tax_product_manager account.fiscal.position.tax account.manager model_account_fiscal_position_tax account.group_account_manager 1 1 1 1
78 access_account_fiscal_position_account_product_manager account.fiscal.position account.manager model_account_fiscal_position_account account.group_account_manager 1 1 1 1
99 access_account_invoice_manager account.invoice manager model_account_invoice account.group_account_manager 1 0 0 0
100 access_account_bank_statement_manager account.bank.statement manager model_account_bank_statement account.group_account_manager 1 1 1 1
101 access_account_entries_report_manager account.entries.report model_account_entries_report account.group_account_manager 1 1 1 1
102 access_account_entries_report_user account.entries.report model_account_entries_report account.group_account_user 1 0 0 0
103 access_analytic_entries_report_manager analytic.entries.report model_analytic_entries_report account.group_account_manager 1 0 0 0
104 access_account_cashbox_line account.cashbox.line model_account_cashbox_line account.group_account_manager 1 1 1 1
105 access_account_cashbox_line account.cashbox.line model_account_cashbox_line account.group_account_user 1 1 1 1
119 access_report_account_receivable_invoice report.account.receivable.invoice model_report_account_receivable account.group_account_invoice 1 1 1 1
120 access_report_account_receivable_user report.account.receivable.user model_report_account_receivable account.group_account_user 1 1 1 1
121 access_account_sequence_fiscal_year_invoice account.sequence.fiscalyear invoice model_account_sequence_fiscalyear account.group_account_invoice 1 1 1 1
122 access_account_tax_sale_manager account.tax sale manager model_account_tax base.group_sale_salesman 1 0 0 0
123 access_account_journal_sale_manager account.journal sale manager model_account_journal base.group_sale_salesman 1 0 0 0
124 access_account_invoice_tax_sale_manager account.invoice.tax sale manager model_account_invoice_tax base.group_sale_salesman 1 0 0 0
125 access_account_sequence_fiscal_year_sale_user account.sequence.fiscalyear.sale.user model_account_sequence_fiscalyear base.group_sale_salesman 1 1 1 0
126 access_account_sequence_fiscal_year_sale_manager account.sequence.fiscalyear.sale.manager model_account_sequence_fiscalyear base.group_sale_manager 1 1 1 1

View File

@ -52,7 +52,7 @@
action="action_account_automatic_reconcile" action="action_account_automatic_reconcile"
id="menu_automatic_reconcile" id="menu_automatic_reconcile"
parent="periodical_processing_reconciliation" parent="periodical_processing_reconciliation"
groups="base.group_extended,group_account_manager,group_account_user"/> groups="base.group_extended"/>
<record id="account_automatic_reconcile_view1" model="ir.ui.view"> <record id="account_automatic_reconcile_view1" model="ir.ui.view">
<field name="name">Automatic reconcile unreconcile</field> <field name="name">Automatic reconcile unreconcile</field>

View File

@ -72,7 +72,7 @@ class account_change_currency(osv.osv_memory):
new_price = (line.price_unit / old_rate ) * rate new_price = (line.price_unit / old_rate ) * rate
obj_inv_line.write(cr, uid, [line.id], {'price_unit': new_price}) obj_inv_line.write(cr, uid, [line.id], {'price_unit': new_price})
obj_inv.write(cr, uid, [invoice.id], {'currency_id': new_currency}, context=context) obj_inv.write(cr, uid, [invoice.id], {'currency_id': new_currency}, context=context)
return {} return {'type': 'ir.actions.act_window_close'}
account_change_currency() account_change_currency()

View File

@ -215,7 +215,7 @@ class account_fiscalyear_close(osv.osv_memory):
cr.execute('UPDATE account_fiscalyear ' \ cr.execute('UPDATE account_fiscalyear ' \
'SET end_journal_period_id = %s ' \ 'SET end_journal_period_id = %s ' \
'WHERE id = %s', (ids[0], old_fyear.id)) 'WHERE id = %s', (ids[0], old_fyear.id))
return {} return {'type': 'ir.actions.act_window_close'}
account_fiscalyear_close() account_fiscalyear_close()

View File

@ -57,7 +57,7 @@ class account_fiscalyear_close_state(osv.osv_memory):
fy_pool = self.pool.get('account.fiscalyear') fy_pool = self.pool.get('account.fiscalyear')
fy_code = fy_pool.browse(cr, uid, fy_id, context=context).code fy_code = fy_pool.browse(cr, uid, fy_id, context=context).code
fy_pool.log(cr, uid, fy_id, "Fiscal year '%s' is closed, no more modification allowed." % (fy_code)) fy_pool.log(cr, uid, fy_id, "Fiscal year '%s' is closed, no more modification allowed." % (fy_code))
return {} return {'type': 'ir.actions.act_window_close'}
account_fiscalyear_close_state() account_fiscalyear_close_state()

View File

@ -43,7 +43,7 @@ class account_invoice_confirm(osv.osv_memory):
if record['state'] not in ('draft','proforma','proforma2'): if record['state'] not in ('draft','proforma','proforma2'):
raise osv.except_osv(_('Warning'), _("Selected Invoice(s) cannot be confirmed as they are not in 'Draft' or 'Pro-Forma' state!")) raise osv.except_osv(_('Warning'), _("Selected Invoice(s) cannot be confirmed as they are not in 'Draft' or 'Pro-Forma' state!"))
wf_service.trg_validate(uid, 'account.invoice', record['id'], 'invoice_open', cr) wf_service.trg_validate(uid, 'account.invoice', record['id'], 'invoice_open', cr)
return {} return {'type': 'ir.actions.act_window_close'}
account_invoice_confirm() account_invoice_confirm()
@ -67,7 +67,7 @@ class account_invoice_cancel(osv.osv_memory):
if record['state'] in ('cancel','paid'): if record['state'] in ('cancel','paid'):
raise osv.except_osv(_('Warning'), _("Selected Invoice(s) cannot be cancelled as they are already in 'Cancelled' or 'Done' state!")) raise osv.except_osv(_('Warning'), _("Selected Invoice(s) cannot be cancelled as they are already in 'Cancelled' or 'Done' state!"))
wf_service.trg_validate(uid, 'account.invoice', record['id'], 'invoice_cancel', cr) wf_service.trg_validate(uid, 'account.invoice', record['id'], 'invoice_cancel', cr)
return {} return {'type': 'ir.actions.act_window_close'}
account_invoice_cancel() account_invoice_cancel()

View File

@ -92,12 +92,14 @@ class account_move_journal(osv.osv_memory):
journal = False journal = False
if journal_id: if journal_id:
journal = journal_pool.read(cr, uid, [journal_id], ['name'])[0]['name'] journal = journal_pool.read(cr, uid, [journal_id], ['name'])[0]['name']
journal_string = _("Journal: %s") % tools.ustr(journal)
else: else:
journal = "All" journal_string = _("Journal: All")
period = False period = False
if period_id: if period_id:
period = period_pool.browse(cr, uid, [period_id], ['name'])[0]['name'] period = period_pool.browse(cr, uid, [period_id], ['name'])[0]['name']
period_string = _("Period: %s") % tools.ustr(period)
view = """<?xml version="1.0" encoding="utf-8"?> view = """<?xml version="1.0" encoding="utf-8"?>
<form string="Standard entries"> <form string="Standard entries">
@ -105,16 +107,16 @@ class account_move_journal(osv.osv_memory):
<field name="target_move" /> <field name="target_move" />
<newline/> <newline/>
<group colspan="4" > <group colspan="4" >
<label width="300" string="Journal: %s"/> <label width="300" string="%s"/>
<newline/> <newline/>
<label width="300" string="Period: %s"/> <label width="300" string="%s"/>
</group> </group>
<group colspan="4" col="4"> <group colspan="4" col="4">
<label string ="" colspan="2"/> <label string ="" colspan="2"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/> <button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="terp-gtk-go-back-rtl" string="Open" name="action_open_window" default_focus="1" type="object"/> <button icon="terp-gtk-go-back-rtl" string="Open" name="action_open_window" default_focus="1" type="object"/>
</group> </group>
</form>""" % (tools.ustr(journal), tools.ustr(period)) </form>""" % (journal_string, period_string)
view = etree.fromstring(view.encode('utf8')) view = etree.fromstring(view.encode('utf8'))
xarch, xfields = self._view_look_dom_arch(cr, uid, view, view_id, context=context) xarch, xfields = self._view_look_dom_arch(cr, uid, view, view_id, context=context)
@ -190,4 +192,4 @@ class account_move_journal(osv.osv_memory):
account_move_journal() account_move_journal()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -63,7 +63,7 @@ class account_move_line_select(osv.osv_memory):
if context['active_id']: if context['active_id']:
acc_data = account_obj.browse(cr, uid, context['active_id']).child_consol_ids acc_data = account_obj.browse(cr, uid, context['active_id']).child_consol_ids
if acc_data: if acc_data:
result['context'].update({'consolidate_childs': True}) result['context'].update({'consolidate_children': True})
result['domain']=result['domain'][0:-1]+','+domain+result['domain'][-1] result['domain']=result['domain'][0:-1]+','+domain+result['domain'][-1]
return result return result

View File

@ -42,7 +42,7 @@ class account_open_closed_fiscalyear(osv.osv_memory):
ids_move = move_obj.search(cr, uid, [('journal_id','=',period_journal.journal_id.id),('period_id','=',period_journal.period_id.id)]) ids_move = move_obj.search(cr, uid, [('journal_id','=',period_journal.journal_id.id),('period_id','=',period_journal.period_id.id)])
if ids_move: if ids_move:
cr.execute('delete from account_move where id IN %s', (tuple(ids_move),)) cr.execute('delete from account_move where id IN %s', (tuple(ids_move),))
return {} return {'type': 'ir.actions.act_window_close'}
account_open_closed_fiscalyear() account_open_closed_fiscalyear()

View File

@ -50,7 +50,7 @@ class account_period_close(osv.osv_memory):
# Log message for Period # Log message for Period
for period_id, name in period_pool.name_get(cr, uid, [id]): for period_id, name in period_pool.name_get(cr, uid, [id]):
period_pool.log(cr, uid, period_id, "Period '%s' is closed, no more modification allowed for this period." % (name)) period_pool.log(cr, uid, period_id, "Period '%s' is closed, no more modification allowed for this period." % (name))
return {} return {'type': 'ir.actions.act_window_close'}
account_period_close() account_period_close()

View File

@ -101,7 +101,7 @@ class account_move_line_reconcile(osv.osv_memory):
context.update({'stop_reconcile': True}) context.update({'stop_reconcile': True})
account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id, account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id,
period_id, journal_id, context=context) period_id, journal_id, context=context)
return {} return {'type': 'ir.actions.act_window_close'}
account_move_line_reconcile() account_move_line_reconcile()
@ -145,7 +145,7 @@ class account_move_line_reconcile_writeoff(osv.osv_memory):
if context is None: if context is None:
context = {} context = {}
account_move_line_obj.reconcile_partial(cr, uid, context['active_ids'], 'manual', context=context) account_move_line_obj.reconcile_partial(cr, uid, context['active_ids'], 'manual', context=context)
return {} return {'type': 'ir.actions.act_window_close'}
def trans_rec_reconcile(self, cr, uid, ids, context=None): def trans_rec_reconcile(self, cr, uid, ids, context=None):
account_move_line_obj = self.pool.get('account.move.line') account_move_line_obj = self.pool.get('account.move.line')
@ -169,7 +169,7 @@ class account_move_line_reconcile_writeoff(osv.osv_memory):
context.update({'stop_reconcile': True}) context.update({'stop_reconcile': True})
account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id, account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id,
period_id, journal_id, context=context) period_id, journal_id, context=context)
return {} return {'type': 'ir.actions.act_window_close'}
account_move_line_reconcile_writeoff() account_move_line_reconcile_writeoff()

View File

@ -83,7 +83,7 @@ class account_partner_reconcile_process(osv.osv_memory):
res_partner_obj.write(cr, uid, partner_id[0], {'last_reconciliation_date': time.strftime('%Y-%m-%d')}, context) res_partner_obj.write(cr, uid, partner_id[0], {'last_reconciliation_date': time.strftime('%Y-%m-%d')}, context)
#TODO: we have to find a way to update the context of the current tab (we could open a new tab with the context but it's not really handy) #TODO: we have to find a way to update the context of the current tab (we could open a new tab with the context but it's not really handy)
#TODO: remove that comments when the client side dev is done #TODO: remove that comments when the client side dev is done
return {} return {'type': 'ir.actions.act_window_close'}
_columns = { _columns = {
'to_reconcile': fields.float('Remaining Partners', readonly=True, help='This is the remaining partners for who you should check if there is something to reconcile or not. This figure already count the current partner as reconciled.'), 'to_reconcile': fields.float('Remaining Partners', readonly=True, help='This is the remaining partners for who you should check if there is something to reconcile or not. This figure already count the current partner as reconciled.'),

View File

@ -32,17 +32,6 @@ class account_balance_report(osv.osv_memory):
'journal_ids': [], 'journal_ids': [],
} }
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
mod_obj = self.pool.get('ir.model.data')
res = super(account_balance_report, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
doc = etree.XML(res['arch'])
nodes = doc.xpath("//field[@name='journal_ids']")
for node in nodes:
node.set('readonly', '1')
node.set('required', '0')
res['arch'] = etree.tostring(doc)
return res
def _print_report(self, cr, uid, ids, data, context=None): def _print_report(self, cr, uid, ids, data, context=None):
data = self.pre_print_report(cr, uid, ids, data, context=context) data = self.pre_print_report(cr, uid, ids, data, context=context)
return {'type': 'ir.actions.report.xml', 'report_name': 'account.account.balance', 'datas': data} return {'type': 'ir.actions.report.xml', 'report_name': 'account.account.balance', 'datas': data}

View File

@ -10,6 +10,9 @@
<field name="inherit_id" ref="account_common_report_view" /> <field name="inherit_id" ref="account_common_report_view" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//field[@name='journal_ids']" position="replace">
<field name="journal_ids" colspan="4" nolabel="1" required="0" readonly="1"/>
</xpath>
<xpath expr="/form/label[@string='']" position="replace"> <xpath expr="/form/label[@string='']" position="replace">
<separator string="Trial Balance" colspan="4"/> <separator string="Trial Balance" colspan="4"/>
<label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/> <label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/>

View File

@ -44,16 +44,6 @@ class account_aged_trial_balance(osv.osv_memory):
'direction_selection': 'past', 'direction_selection': 'past',
} }
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
res = super(account_aged_trial_balance, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
doc = etree.XML(res['arch'])
nodes = doc.xpath("//field[@name='journal_ids']")
for node in nodes:
node.set('invisible', '1')
node.set('required', '0')
res['arch'] = etree.tostring(doc)
return res
def _print_report(self, cr, uid, ids, data, context=None): def _print_report(self, cr, uid, ids, data, context=None):
res = {} res = {}
if context is None: if context is None:

View File

@ -20,7 +20,7 @@
<newline/> <newline/>
<field name="result_selection"/> <field name="result_selection"/>
<field name="direction_selection"/> <field name="direction_selection"/>
<field name="journal_ids"/> <field name="journal_ids" required="0" invisible="1"/>
<newline/> <newline/>
<separator colspan="4"/> <separator colspan="4"/>
<group col="4" colspan="4"> <group col="4" colspan="4">

View File

@ -32,36 +32,45 @@ class account_bs_report(osv.osv_memory):
_inherit = "account.common.account.report" _inherit = "account.common.account.report"
_description = 'Account Balance Sheet Report' _description = 'Account Balance Sheet Report'
def _get_def_reserve_account(self, cr, uid, context=None):
chart_id = self._get_account(cr, uid, context=context)
res = self.onchange_chart_id(cr, uid, [], chart_id, context=context)
if not res:
return False
return res['value']['reserve_account_id']
_columns = { _columns = {
'display_type': fields.boolean("Landscape Mode"), 'display_type': fields.boolean("Landscape Mode"),
'reserve_account_id': fields.many2one('account.account', 'Reserve & Profit/Loss Account',required = True, 'reserve_account_id': fields.many2one('account.account', 'Reserve & Profit/Loss Account',
help='This Account is used for trasfering Profit/Loss(If It is Profit: Amount will be added, Loss : Amount will be duducted.), Which is calculated from Profilt & Loss Report', domain = [('type','=','payable')]), required=True,
help='This Account is used for transfering Profit/Loss ' \
'(Profit: Amount will be added, Loss: Amount will be duducted), ' \
'which is calculated from Profilt & Loss Report',
domain = [('type','=','payable')]),
} }
_defaults={ _defaults={
'display_type': True, 'display_type': True,
'journal_ids': [], 'journal_ids': [],
'reserve_account_id': _get_def_reserve_account,
} }
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False): def onchange_chart_id(self, cr, uid, ids, chart_id, context=None):
res = super(account_bs_report, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False) if not chart_id:
doc = etree.XML(res['arch']) return {}
nodes = doc.xpath("//field[@name='journal_ids']") account = self.pool.get('account.account').browse(cr, uid, chart_id , context=context)
for node in nodes: if not account.company_id.property_reserve_and_surplus_account:
node.set('readonly', '1') return {'value': {'reserve_account_id': False}}
node.set('required', '0') return {'value': {'reserve_account_id': account.company_id.property_reserve_and_surplus_account.id}}
res['arch'] = etree.tostring(doc)
return res
def _print_report(self, cr, uid, ids, data, context=None): def _print_report(self, cr, uid, ids, data, context=None):
if context is None: if context is None:
context = {} context = {}
data = self.pre_print_report(cr, uid, ids, data, context=context) data['form'].update(self.read(cr, uid, ids, ['display_type','reserve_account_id'])[0])
account = self.pool.get('account.account').browse(cr, uid, data['form']['chart_account_id'], context=context) if not data['form']['reserve_account_id']:
if not account.company_id.property_reserve_and_surplus_account:
raise osv.except_osv(_('Warning'),_('Please define the Reserve and Profit/Loss account for current user company !')) raise osv.except_osv(_('Warning'),_('Please define the Reserve and Profit/Loss account for current user company !'))
data['form']['reserve_account_id'] = account.company_id.property_reserve_and_surplus_account.id data = self.pre_print_report(cr, uid, ids, data, context=context)
data['form'].update(self.read(cr, uid, ids, ['display_type'])[0])
if data['form']['display_type']: if data['form']['display_type']:
return { return {
'type': 'ir.actions.report.xml', 'type': 'ir.actions.report.xml',
@ -77,4 +86,4 @@ class account_bs_report(osv.osv_memory):
account_bs_report() account_bs_report()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -9,14 +9,20 @@
<field name="inherit_id" ref="account.account_common_report_view" /> <field name="inherit_id" ref="account.account_common_report_view" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//field[@name='chart_account_id']" position="replace">
<field name="chart_account_id" widget="selection" on_change="onchange_chart_id(chart_account_id)"/>
</xpath>
<xpath expr="//field[@name='journal_ids']" position="replace">
<field name="journal_ids" colspan="4" nolabel="1" required="0" readonly="1"/>
</xpath>
<xpath expr="/form/label[@string='']" position="replace"> <xpath expr="/form/label[@string='']" position="replace">
<separator string="Balance Sheet" colspan="4"/> <separator string="Balance Sheet" colspan="4"/>
<label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/> <label nolabel="1" colspan="4" string="This report allows you to print or generate a pdf of your trial balance allowing you to quickly check the balance of each of your accounts in a single report"/>
</xpath> </xpath>
<xpath expr="//field[@name='target_move']" position="after"> <xpath expr="//field[@name='target_move']" position="after">
<field name="display_account"/> <field name="display_account"/>
<field name="reserve_account_id" required="1"/>
<field name="display_type"/> <field name="display_type"/>
<field name="reserve_account_id" required="0" invisible="1"/>
<newline/> <newline/>
</xpath> </xpath>
</data> </data>

View File

@ -86,7 +86,7 @@ class account_common_report(osv.osv_memory):
return res return res
def _get_account(self, cr, uid, context=None): def _get_account(self, cr, uid, context=None):
accounts = self.pool.get('account.account').search(cr, uid, [], limit=1) accounts = self.pool.get('account.account').search(cr, uid, [('parent_id', '=', False)], limit=1)
return accounts and accounts[0] or False return accounts and accounts[0] or False
def _get_fiscalyear(self, cr, uid, context=None): def _get_fiscalyear(self, cr, uid, context=None):

View File

@ -40,21 +40,6 @@ class account_pl_report(osv.osv_memory):
'target_move': False 'target_move': False
} }
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
mod_obj = self.pool.get('ir.model.data')
res = super(account_pl_report, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
doc = etree.XML(res['arch'])
nodes = doc.xpath("//field[@name='journal_ids']")
for node in nodes:
node.set('readonly', '1')
node.set('required', '0')
nodes = doc.xpath("//field[@name='target_move']")
for node in nodes:
node.set('readonly', '1')
node.set('required', '0')
res['arch'] = etree.tostring(doc)
return res
def _print_report(self, cr, uid, ids, data, context=None): def _print_report(self, cr, uid, ids, data, context=None):
if context is None: if context is None:
context = {} context = {}

View File

@ -9,6 +9,12 @@
<field name="inherit_id" ref="account.account_common_report_view" /> <field name="inherit_id" ref="account.account_common_report_view" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//field[@name='target_move']" position="replace">
<field name="target_move" required="0" readonly="1"/>
</xpath>
<xpath expr="//field[@name='journal_ids']" position="replace">
<field name="journal_ids" required="0" colspan="4" nolabel="1" readonly="1"/>
</xpath>
<xpath expr="/form/label[@string='']" position="replace"> <xpath expr="/form/label[@string='']" position="replace">
<separator string="Profit And Loss" colspan="4"/> <separator string="Profit And Loss" colspan="4"/>
<label nolabel="1" colspan="4" string="The Profit and Loss report gives you an overview of your company profit and loss in a single document"/> <label nolabel="1" colspan="4" string="The Profit and Loss report gives you an overview of your company profit and loss in a single document"/>

View File

@ -37,7 +37,7 @@ class account_state_open(osv.osv_memory):
raise osv.except_osv(_('Warning'), _('Invoice is already reconciled')) raise osv.except_osv(_('Warning'), _('Invoice is already reconciled'))
wf_service = netsvc.LocalService("workflow") wf_service = netsvc.LocalService("workflow")
res = wf_service.trg_validate(uid, 'account.invoice', context['active_ids'][0], 'open_test', cr) res = wf_service.trg_validate(uid, 'account.invoice', context['active_ids'][0], 'open_test', cr)
return {} return {'type': 'ir.actions.act_window_close'}
account_state_open() account_state_open()

Some files were not shown because too many files have changed in this diff Show More