[MERGE] trunk

bzr revid: al@openerp.com-20121218140311-1rw9bqc1nwztfobb
This commit is contained in:
Antony Lesuisse 2012-12-18 15:03:11 +01:00
commit 2a10c7b76b
823 changed files with 17276 additions and 6991 deletions

View File

@ -19,19 +19,19 @@
# #
############################################################################## ##############################################################################
import time import logging
from datetime import datetime from datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
from operator import itemgetter from operator import itemgetter
import time
import logging
import pooler
from osv import fields, osv
import decimal_precision as dp
from tools.translate import _
from tools.float_utils import float_round
from openerp import SUPERUSER_ID from openerp import SUPERUSER_ID
import tools from openerp import pooler, tools
from openerp.osv import fields, osv
from openerp.tools.translate import _
from openerp.tools.float_utils import float_round
import openerp.addons.decimal_precision as dp
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)

View File

@ -19,9 +19,9 @@
# #
############################################################################## ##############################################################################
from osv import fields from openerp.osv import fields
from osv import osv from openerp.osv import osv
from tools.translate import _ from openerp.tools.translate import _
class account_analytic_line(osv.osv): class account_analytic_line(osv.osv):
_inherit = 'account.analytic.line' _inherit = 'account.analytic.line'

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from tools.translate import _ from openerp.tools.translate import _
from osv import fields, osv from openerp.osv import fields, osv
class bank(osv.osv): class bank(osv.osv):
_inherit = "res.partner.bank" _inherit = "res.partner.bank"

View File

@ -21,9 +21,9 @@
import time import time
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
import decimal_precision as dp import openerp.addons.decimal_precision as dp
class account_bank_statement(osv.osv): class account_bank_statement(osv.osv):
def create(self, cr, uid, vals, context=None): def create(self, cr, uid, vals, context=None):

View File

@ -22,9 +22,9 @@
import time import time
from osv import osv, fields from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
import decimal_precision as dp import openerp.addons.decimal_precision as dp
class account_cashbox_line(osv.osv): class account_cashbox_line(osv.osv):

View File

@ -24,11 +24,11 @@ from datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
from operator import itemgetter from operator import itemgetter
import netsvc from openerp import netsvc
import pooler from openerp import pooler
from osv import fields, osv from openerp.osv import fields, osv
import decimal_precision as dp import openerp.addons.decimal_precision as dp
from tools.translate import _ from openerp.tools.translate import _
# --------------------------------------------------------- # ---------------------------------------------------------
# Account Financial Report # Account Financial Report

View File

@ -21,12 +21,12 @@
import time import time
from lxml import etree from lxml import etree
import decimal_precision as dp import openerp.addons.decimal_precision as dp
import netsvc from openerp import netsvc
import pooler from openerp import pooler
from osv import fields, osv, orm from openerp.osv import fields, osv, orm
from tools.translate import _ from openerp.tools.translate import _
class account_invoice(osv.osv): class account_invoice(osv.osv):
def _amount_all(self, cr, uid, ids, name, args, context=None): def _amount_all(self, cr, uid, ids, name, args, context=None):

View File

@ -26,11 +26,11 @@ from operator import itemgetter
from lxml import etree from lxml import etree
import netsvc from openerp import netsvc
from osv import fields, osv, orm from openerp.osv import fields, osv, orm
from tools.translate import _ from openerp.tools.translate import _
import decimal_precision as dp import openerp.addons.decimal_precision as dp
import tools from openerp import tools
class account_move_line(osv.osv): class account_move_line(osv.osv):
_name = "account.move.line" _name = "account.move.line"

View File

@ -1137,7 +1137,7 @@
<separator/> <separator/>
<filter string="Next Partner to Reconcile" help="Next Partner Entries to reconcile" name="next_partner" context="{'next_partner_only': 1}" icon="terp-gtk-jump-to-ltr" domain="[('account_id.reconcile','=',True),('reconcile_id','=',False)]"/> <filter string="Next Partner to Reconcile" help="Next Partner Entries to reconcile" name="next_partner" context="{'next_partner_only': 1}" icon="terp-gtk-jump-to-ltr" domain="[('account_id.reconcile','=',True),('reconcile_id','=',False)]"/>
<field name="move_id" string="Number (Move)"/> <field name="move_id" string="Number (Move)"/>
<field name="account_id" filter_domain="['|', ('name', 'ilike', self), ('code', 'ilike', self)]"/> <field name="account_id"/>
<field name="partner_id"/> <field name="partner_id"/>
<field name="journal_id" context="{'journal_id':self}" widget="selection"/> <!-- it's important to keep widget='selection' in this filter viewbecause without that the value passed in the context is not the ID but the textual value (name) of the selected journal --> <field name="journal_id" context="{'journal_id':self}" widget="selection"/> <!-- it's important to keep widget='selection' in this filter viewbecause without that the value passed in the context is not the ID but the textual value (name) of the selected journal -->
<field name="period_id" context="{'period_id':self}" widget="selection"/> <!-- it's important to keep the widget='selection' in this field, for the same reason as explained above --> <field name="period_id" context="{'period_id':self}" widget="selection"/> <!-- it's important to keep the widget='selection' in this field, for the same reason as explained above -->
@ -2243,8 +2243,8 @@
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</header> </header>
<sheet string="Statement"> <sheet string="Statement">
<label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/> <label for="name" class="oe_edit_only"/>
<h1><field name="name" class="oe_inline" attrs="{'invisible':[('name','=','/')]}"/></h1> <h1><field name="name" class="oe_inline"/></h1>
<group> <group>
<group> <group>
<field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection" domain="[('type', '=', 'cash')]" /> <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection" domain="[('type', '=', 'cash')]" />

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class res_company(osv.osv): class res_company(osv.osv):
_inherit = "res.company" _inherit = "res.company"

View File

@ -18,9 +18,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
from openerp.osv import osv, fields
from openerp.addons.edi import EDIMixin
from openerp.osv import osv from urllib import urlencode
from edi import EDIMixin
INVOICE_LINE_EDI_STRUCT = { INVOICE_LINE_EDI_STRUCT = {
'name': True, 'name': True,
@ -258,6 +259,28 @@ class account_invoice(osv.osv, EDIMixin):
pass pass
return action return action
def _edi_paypal_url(self, cr, uid, ids, field, arg, context=None):
res = dict.fromkeys(ids, False)
for inv in self.browse(cr, uid, ids, context=context):
if inv.type == 'out_invoice' and inv.company_id.paypal_account:
params = {
"cmd": "_xclick",
"business": inv.company_id.paypal_account,
"item_name": inv.company_id.name + " Invoice " + inv.number,
"invoice": inv.number,
"amount": inv.residual,
"currency_code": inv.currency_id.name,
"button_subtype": "services",
"no_note": "1",
"bn": "OpenERP_Invoice_PayNow_" + inv.currency_id.name,
}
res[inv.id] = "https://www.paypal.com/cgi-bin/webscr?" + urlencode(params)
return res
_columns = {
'paypal_url': fields.function(_edi_paypal_url, type='char', string='Paypal Url'),
}
class account_invoice_line(osv.osv, EDIMixin): class account_invoice_line(osv.osv, EDIMixin):
_inherit='account.invoice.line' _inherit='account.invoice.line'

View File

@ -23,7 +23,7 @@
<record id="email_template_edi_invoice" model="email.template"> <record id="email_template_edi_invoice" model="email.template">
<field name="name">Invoice - Send by Email</field> <field name="name">Invoice - Send by Email</field>
<field name="email_from">${object.user_id.email or object.company_id.email or 'noreply@localhost'}</field> <field name="email_from">${object.user_id.email or object.company_id.email or 'noreply@localhost'}</field>
<field name="subject">${object.company_id.name} Invoice (Ref ${object.number or 'n/a' })</field> <field name="subject">${object.company_id.name} Invoice (Ref ${object.number or 'n/a'})</field>
<field name="email_recipients">${object.partner_id.id}</field> <field name="email_recipients">${object.partner_id.id}</field>
<field name="model_id" ref="account.model_account_invoice"/> <field name="model_id" ref="account.model_account_invoice"/>
<field name="auto_delete" eval="True"/> <field name="auto_delete" eval="True"/>
@ -33,7 +33,7 @@
<field name="body_html"><![CDATA[ <field name="body_html"><![CDATA[
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p>Hello${object.partner_id.name and ' ' or ''}${object.partner_id.name or ''},</p> <p>Hello ${object.partner_id.name},</p>
<p>A new invoice is available for you: </p> <p>A new invoice is available for you: </p>
@ -50,20 +50,10 @@
% endif % endif
</p> </p>
% if object.company_id.paypal_account and object.type in ('out_invoice'): % if object.paypal_url:
<%
comp_name = quote(object.company_id.name)
inv_number = quote(object.number)
paypal_account = quote(object.company_id.paypal_account)
inv_amount = quote(str(object.residual))
cur_name = quote(object.currency_id.name)
paypal_url = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=%s&amp;item_name=%s%%20Invoice%%20%s&amp;" \
"invoice=%s&amp;amount=%s&amp;currency_code=%s&amp;button_subtype=services&amp;no_note=1&amp;bn=OpenERP_Invoice_PayNow_%s" % \
(paypal_account,comp_name,inv_number,inv_number,inv_amount,cur_name,cur_name)
%>
<br/> <br/>
<p>It is also possible to directly pay with Paypal:</p> <p>It is also possible to directly pay with Paypal:</p>
<a style="margin-left: 120px;" href="${paypal_url}"> <a style="margin-left: 120px;" href="${object.paypal_url}">
<img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/>
</a> </a>
% endif % endif

View File

@ -13,7 +13,7 @@ msgstr ""
"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: 2012-12-16 04:46+0000\n" "X-Launchpad-Export-Date: 2012-12-17 04:45+0000\n"
"X-Generator: Launchpad (build 16372)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account #. module: account

File diff suppressed because it is too large Load Diff

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: 2012-12-03 16:02+0000\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n"
"PO-Revision-Date: 2012-12-15 22:32+0000\n" "PO-Revision-Date: 2012-12-16 15:28+0000\n"
"Last-Translator: Sergio Corato <Unknown>\n" "Last-Translator: Sergio Corato <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: 2012-12-16 04:47+0000\n" "X-Launchpad-Export-Date: 2012-12-17 04:46+0000\n"
"X-Generator: Launchpad (build 16372)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account #. module: account
@ -5438,7 +5438,7 @@ msgstr "Permette di impostare fatture nello stato proforma."
#. module: account #. module: account
#: view:account.journal:0 #: view:account.journal:0
msgid "Unit Of Currency Definition" msgid "Unit Of Currency Definition"
msgstr "Definizione dell'Unita della Valuta" msgstr "Definizione della Pezzatura della Valuta"
#. module: account #. module: account
#: view:account.tax.template:0 #: view:account.tax.template:0
@ -5923,7 +5923,7 @@ msgstr ""
#: view:account.bank.statement:0 #: view:account.bank.statement:0
#: help:account.cashbox.line,number_opening:0 #: help:account.cashbox.line,number_opening:0
msgid "Opening Unit Numbers" msgid "Opening Unit Numbers"
msgstr "Numeri Apertura" msgstr "Numero Pezzi in Apertura"
#. module: account #. module: account
#: field:account.subscription,period_type:0 #: field:account.subscription,period_type:0
@ -10017,7 +10017,7 @@ msgstr "Periodo da"
#. module: account #. module: account
#: field:account.cashbox.line,pieces:0 #: field:account.cashbox.line,pieces:0
msgid "Unit of Currency" msgid "Unit of Currency"
msgstr "Unità di Valuta" msgstr "Pezzatura Valuta"
#. module: account #. module: account
#: code:addons/account/account.py:3137 #: code:addons/account/account.py:3137

View File

@ -8,14 +8,14 @@ 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: 2012-12-03 16:02+0000\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n"
"PO-Revision-Date: 2012-05-10 17:16+0000\n" "PO-Revision-Date: 2012-12-17 13:50+0000\n"
"Last-Translator: Raphael Collet (OpenERP) <Unknown>\n" "Last-Translator: Normunds (Alistek) <Unknown>\n"
"Language-Team: Latvian <lv@li.org>\n" "Language-Team: Latvian <lv@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: 2012-12-04 05:23+0000\n" "X-Launchpad-Export-Date: 2012-12-18 05:00+0000\n"
"X-Generator: Launchpad (build 16335)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account #. module: account
#: model:process.transition,name:account.process_transition_supplierreconcilepaid0 #: model:process.transition,name:account.process_transition_supplierreconcilepaid0
@ -460,7 +460,7 @@ msgstr ""
#: field:account.tax.template,chart_template_id:0 #: field:account.tax.template,chart_template_id:0
#: field:wizard.multi.charts.accounts,chart_template_id:0 #: field:wizard.multi.charts.accounts,chart_template_id:0
msgid "Chart Template" msgid "Chart Template"
msgstr "Grafika Sagatave" msgstr "Kontu Plāna Sagatave"
#. module: account #. module: account
#: help:account.config.settings,tax_calculation_rounding_method:0 #: help:account.config.settings,tax_calculation_rounding_method:0

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: 2012-12-03 16:02+0000\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n"
"PO-Revision-Date: 2012-12-15 10:47+0000\n" "PO-Revision-Date: 2012-12-17 14:28+0000\n"
"Last-Translator: Harjan Talen <harjantalen@gmail.com>\n" "Last-Translator: Harjan Talen <harjantalen@gmail.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: 2012-12-16 04:47+0000\n" "X-Launchpad-Export-Date: 2012-12-18 05:00+0000\n"
"X-Generator: Launchpad (build 16372)\n" "X-Generator: Launchpad (build 16372)\n"
#, python-format #, python-format
@ -808,6 +808,9 @@ msgid ""
"lines for refunds. Leave empty if you don't want to use an analytic account " "lines for refunds. Leave empty if you don't want to use an analytic account "
"on the invoice tax lines by default." "on the invoice tax lines by default."
msgstr "" msgstr ""
"Selecteer de kostenplaats rekening welke standaard gebruikt wordt voor "
"belastingregels op creditfacturen. Laat deze leeg wanneer geen gebruikt "
"gemaakt wordt van kostenplaatsen."
#. module: account #. module: account
#: view:account.account:0 #: view:account.account:0
@ -1227,6 +1230,17 @@ msgid ""
" </p>\n" " </p>\n"
" " " "
msgstr "" msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Klik om een grootboekkaar toe te voegen.\n"
" </p><p>\n"
" Bij transacties in meerdere valuta kan een valutaresultaat "
"tot\n"
" stand komen. Dit menu geeft het actuele valutaresultaat aan\n"
" tegen de huidige koers. Dit wordt alleen aangegeven bij "
"groot-\n"
" boekkaarten waar meerdere valuta aan gekoppeld zijn.\n"
" </p>\n"
" "
#. module: account #. module: account
#: field:account.bank.accounts.wizard,acc_name:0 #: field:account.bank.accounts.wizard,acc_name:0
@ -1236,7 +1250,7 @@ msgstr "Rekeningnaam."
#. module: account #. module: account
#: field:account.journal,with_last_closing_balance:0 #: field:account.journal,with_last_closing_balance:0
msgid "Opening With Last Closing Balance" msgid "Opening With Last Closing Balance"
msgstr "" msgstr "Openen met het laatst afgesloten saldo."
#. module: account #. module: account
#: help:account.tax.code,notprintable:0 #: help:account.tax.code,notprintable:0
@ -1646,6 +1660,8 @@ msgid ""
"There is no default debit account defined \n" "There is no default debit account defined \n"
"on journal \"%s\"." "on journal \"%s\"."
msgstr "" msgstr ""
"Er is geen standaard debet grootboekrekening gedefinieerd in dit dagboek: "
"\"%s\"."
#. module: account #. module: account
#: view:account.tax:0 #: view:account.tax:0
@ -1680,6 +1696,8 @@ msgid ""
"There is nothing to reconcile. All invoices and payments\n" "There is nothing to reconcile. All invoices and payments\n"
" have been reconciled, your partner balance is clean." " have been reconciled, your partner balance is clean."
msgstr "" msgstr ""
"Er zijn geen facturen om af te letteren. Alle facturen en betalingen zijn "
"afgeletterd."
#. module: account #. module: account
#: field:account.chart.template,code_digits:0 #: field:account.chart.template,code_digits:0
@ -13651,9 +13669,6 @@ msgstr ""
#~ "U kunt het bedrijf niet meer veranderen in dit dagboek omdat er inmiddels al " #~ "U kunt het bedrijf niet meer veranderen in dit dagboek omdat er inmiddels al "
#~ "gerelateerde transacties op zijn geboekt." #~ "gerelateerde transacties op zijn geboekt."
#~ msgid "Reference UoM"
#~ msgstr "Referentie meeteenheid"
#~ msgid "Unreconciliate transactions" #~ msgid "Unreconciliate transactions"
#~ msgstr "Afletteren transactief ongedaan maken" #~ msgstr "Afletteren transactief ongedaan maken"
@ -15278,3 +15293,6 @@ msgstr ""
#~ "OpenERP geeft u de mogelijkheid om, vanuit dit menu, een belastingweergave " #~ "OpenERP geeft u de mogelijkheid om, vanuit dit menu, een belastingweergave "
#~ "te beheren. Het is mogelijk om numerieke en alfanumerieke belastingrubrieken " #~ "te beheren. Het is mogelijk om numerieke en alfanumerieke belastingrubrieken "
#~ "te gebruiken." #~ "te gebruiken."
#~ msgid "Reference UoM"
#~ msgstr "Referentie maateenheid"

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: 2012-12-03 16:02+0000\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n"
"PO-Revision-Date: 2012-12-15 20:08+0000\n" "PO-Revision-Date: 2012-12-16 21:03+0000\n"
"Last-Translator: Grzegorz Grzelak (OpenGLOBE.pl) <grzegorz@openglobe.pl>\n" "Last-Translator: Grzegorz Grzelak (OpenGLOBE.pl) <grzegorz@openglobe.pl>\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: 2012-12-16 04:47+0000\n" "X-Launchpad-Export-Date: 2012-12-17 04:46+0000\n"
"X-Generator: Launchpad (build 16372)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account #. module: account
@ -187,7 +187,7 @@ msgstr ""
#: field:account.fiscal.position.account,account_src_id:0 #: field:account.fiscal.position.account,account_src_id:0
#: field:account.fiscal.position.account.template,account_src_id:0 #: field:account.fiscal.position.account.template,account_src_id:0
msgid "Account Source" msgid "Account Source"
msgstr "Źródło konta" msgstr "Konto źródłowe"
#. module: account #. module: account
#: model:ir.actions.act_window,help:account.action_account_period #: model:ir.actions.act_window,help:account.action_account_period
@ -921,7 +921,7 @@ msgstr "Dziennik kont analitycznych"
#. module: account #. module: account
#: view:account.invoice:0 #: view:account.invoice:0
msgid "Send by Email" msgid "Send by Email"
msgstr "Wysłano jako mail" msgstr "Wyślij mailem"
#. module: account #. module: account
#: help:account.central.journal,amount_currency:0 #: help:account.central.journal,amount_currency:0
@ -2835,7 +2835,7 @@ msgstr "Filtry"
#: selection:account.period,state:0 #: selection:account.period,state:0
#: selection:report.invoice.created,state:0 #: selection:report.invoice.created,state:0
msgid "Open" msgid "Open"
msgstr "Otwarty" msgstr "Otwarte"
#. module: account #. module: account
#: model:process.node,note:account.process_node_draftinvoices0 #: model:process.node,note:account.process_node_draftinvoices0
@ -6178,7 +6178,7 @@ msgstr "Proejkt korekty"
#: view:account.chart:0 #: view:account.chart:0
#: view:account.tax.chart:0 #: view:account.tax.chart:0
msgid "Open Charts" msgid "Open Charts"
msgstr "Otwórz plany kont" msgstr "Otwórz plan kont"
#. module: account #. module: account
#: field:account.central.journal,amount_currency:0 #: field:account.central.journal,amount_currency:0
@ -9451,6 +9451,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 ""
"Podaj współczynnik, który będzie zastosowany do doliczenia wartości tego "
"rejestru do rejestru nadrzędnego. Podaj 1 jeśli chcesz dodać do innych "
"wartości w nadrzędnym rejestrze lub -1, jeśli chcesz odjąć."
#. module: account #. module: account
#: view:account.invoice:0 #: view:account.invoice:0
@ -11222,6 +11225,8 @@ msgid ""
"be with same name as statement name. This allows the statement entries to " "be with same name as statement name. This allows the statement entries to "
"have the same references than the statement itself" "have the same references than the statement itself"
msgstr "" msgstr ""
"Jeśli nadasz nazwę (numer) inną niż /, to zapis księgowy będzie miał ten sam "
"numer (nazwę) co wyciąg. To pozwala mieć te same numery wyciągów i zapisów."
#. module: account #. module: account
#: view:account.bank.statement:0 #: view:account.bank.statement:0

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: 2012-12-03 16:02+0000\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n"
"PO-Revision-Date: 2012-12-16 00:45+0000\n" "PO-Revision-Date: 2012-12-17 16:09+0000\n"
"Last-Translator: Dusan Laznik <laznik@mentis.si>\n" "Last-Translator: Dusan Laznik <laznik@mentis.si>\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: 2012-12-16 04:48+0000\n" "X-Launchpad-Export-Date: 2012-12-18 05:01+0000\n"
"X-Generator: Launchpad (build 16372)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account #. module: account
@ -179,7 +179,7 @@ msgid ""
"You have to set the 'End of Year Entries Journal' for this Fiscal Year " "You have to set the 'End of Year Entries Journal' for this Fiscal Year "
"which is set after generating opening entries from 'Generate Opening " "which is set after generating opening entries from 'Generate Opening "
"Entries'." "Entries'."
msgstr "" msgstr "Nastavite morate dnevnik za zaključek leta."
#. module: account #. module: account
#: field:account.fiscal.position.account,account_src_id:0 #: field:account.fiscal.position.account,account_src_id:0
@ -323,6 +323,10 @@ msgid ""
" </p>\n" " </p>\n"
" " " "
msgstr "" msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Tu lahko kreirate dobropise kupcem\n"
" </p><p>\n"
" "
#. module: account #. module: account
#: help:account.installer,charts:0 #: help:account.installer,charts:0
@ -339,7 +343,7 @@ msgstr "Neusklajen konto"
#. module: account #. module: account
#: field:account.config.settings,module_account_budget:0 #: field:account.config.settings,module_account_budget:0
msgid "Budget management" msgid "Budget management"
msgstr "" msgstr "Upravljanje proračuna"
#. module: account #. module: account
#: view:product.template:0 #: view:product.template:0
@ -381,7 +385,7 @@ msgstr "Junij"
#: code:addons/account/wizard/account_automatic_reconcile.py:148 #: code:addons/account/wizard/account_automatic_reconcile.py:148
#, python-format #, python-format
msgid "You must select accounts to reconcile." msgid "You must select accounts to reconcile."
msgstr "" msgstr "Izbrati morate konte za usklajevnaje"
#. module: account #. module: account
#: help:account.config.settings,group_analytic_accounting:0 #: help:account.config.settings,group_analytic_accounting:0
@ -453,7 +457,7 @@ msgid ""
" This installs the module account_asset. If you do not check " " This installs the module account_asset. If you do not check "
"this box, you will be able to do invoicing & payments,\n" "this box, you will be able to do invoicing & payments,\n"
" but not accounting (Journal Items, Chart of Accounts, ...)" " but not accounting (Journal Items, Chart of Accounts, ...)"
msgstr "" msgstr "Vodenje osnovnih sredstev"
#. module: account #. module: account
#. openerp-web #. openerp-web
@ -482,6 +486,8 @@ msgid ""
"should choose 'Round per line' because you certainly want the sum of your " "should choose 'Round per line' because you certainly want the sum of your "
"tax-included line subtotals to be equal to the total amount with taxes." "tax-included line subtotals to be equal to the total amount with taxes."
msgstr "" msgstr ""
"Če imate davek vključen v prodajno ceno , morate izbrati zaokroževanje na "
"vrstico."
#. module: account #. module: account
#: model:ir.model,name:account.model_wizard_multi_charts_accounts #: model:ir.model,name:account.model_wizard_multi_charts_accounts
@ -549,7 +555,7 @@ msgstr "Nadrejeni element"
#. module: account #. module: account
#: help:account.invoice.line,sequence:0 #: help:account.invoice.line,sequence:0
msgid "Gives the sequence of this line when displaying the invoice." msgid "Gives the sequence of this line when displaying the invoice."
msgstr "" msgstr "Prikaz zaporednih številk pozicij na računu."
#. module: account #. module: account
#: field:account.bank.statement,account_id:0 #: field:account.bank.statement,account_id:0
@ -709,7 +715,7 @@ msgstr "SAJ"
#: code:addons/account/account.py:1546 #: code:addons/account/account.py:1546
#, python-format #, python-format
msgid "Cannot create move with currency different from .." msgid "Cannot create move with currency different from .."
msgstr "" msgstr "Valuta se razlikuje od .."
#. module: account #. module: account
#: model:email.template,report_name:account.email_template_edi_invoice #: model:email.template,report_name:account.email_template_edi_invoice
@ -753,7 +759,7 @@ msgid ""
"Set the analytic account that will be used by default on the invoice tax " "Set the analytic account that will be used by default on the invoice tax "
"lines for refunds. Leave empty if you don't want to use an analytic account " "lines for refunds. Leave empty if you don't want to use an analytic account "
"on the invoice tax lines by default." "on the invoice tax lines by default."
msgstr "" msgstr "Tu lahko nastavite privzeti konto za davek na dobropisih kupcem."
#. module: account #. module: account
#: view:account.account:0 #: view:account.account:0
@ -806,7 +812,7 @@ msgstr "Izpis računa"
msgid "" msgid ""
"Cannot %s invoice which is already reconciled, invoice should be " "Cannot %s invoice which is already reconciled, invoice should be "
"unreconciled first. You can only refund this invoice." "unreconciled first. You can only refund this invoice."
msgstr "" msgstr "Ni možno %s račun , ki je že zaprt."
#. module: account #. module: account
#: selection:account.financial.report,display_detail:0 #: selection:account.financial.report,display_detail:0
@ -962,6 +968,10 @@ msgid ""
" </p>\n" " </p>\n"
" " " "
msgstr "" msgstr ""
"<p>\n"
" Ni postavk.\n"
" </p>\n"
" "
#. module: account #. module: account
#: code:addons/account/account.py:1632 #: code:addons/account/account.py:1632
@ -971,6 +981,8 @@ msgid ""
" opening/closing fiscal " " opening/closing fiscal "
"year process." "year process."
msgstr "" msgstr ""
"Ne morete odpreti postavk, ki so bile ustvarjene ob avtomatskem "
"zaključevanju/odpiranju poslovnega leta."
#. module: account #. module: account
#: model:ir.actions.act_window,name:account.action_subscription_form_new #: model:ir.actions.act_window,name:account.action_subscription_form_new
@ -1015,7 +1027,7 @@ msgstr "Dnevnik nabav"
msgid "" msgid ""
"You cannot validate this journal entry because account \"%s\" does not " "You cannot validate this journal entry because account \"%s\" does not "
"belong to chart of accounts \"%s\"." "belong to chart of accounts \"%s\"."
msgstr "" msgstr "Konto \"%s\" ne pripada kontnemu načrtu \"%s\"."
#. module: account #. module: account
#: view:validate.account.move:0 #: view:validate.account.move:0
@ -1033,7 +1045,7 @@ msgstr "Skupni znesek"
#. module: account #. module: account
#: help:account.invoice,supplier_invoice_number:0 #: help:account.invoice,supplier_invoice_number:0
msgid "The reference of this invoice as provided by the supplier." msgid "The reference of this invoice as provided by the supplier."
msgstr "" msgstr "Dobaviteljeva številka računa."
#. module: account #. module: account
#: selection:account.account,type:0 #: selection:account.account,type:0

View File

@ -19,17 +19,17 @@
# #
############################################################################## ##############################################################################
import logging
import time
import datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
import logging
from operator import itemgetter from operator import itemgetter
from os.path import join as opj from os.path import join as opj
import time
from openerp import netsvc, tools
from openerp.tools.translate import _
from openerp.osv import fields, osv
from tools.translate import _
from osv import fields, osv
import netsvc
import tools
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
class account_installer(osv.osv_memory): class account_installer(osv.osv_memory):

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class ir_sequence_fiscalyear(osv.osv): class ir_sequence_fiscalyear(osv.osv):
_name = 'account.sequence.fiscalyear' _name = 'account.sequence.fiscalyear'

View File

@ -20,9 +20,10 @@
############################################################################## ##############################################################################
from operator import itemgetter from operator import itemgetter
from osv import fields, osv
import time import time
from openerp.osv import fields, osv
class account_fiscal_position(osv.osv): class account_fiscal_position(osv.osv):
_name = 'account.fiscal.position' _name = 'account.fiscal.position'
_description = 'Fiscal Position' _description = 'Fiscal Position'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class product_category(osv.osv): class product_category(osv.osv):
_inherit = "product.category" _inherit = "product.category"

View File

@ -19,8 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields from openerp.osv import fields, osv
from osv import osv
class account_analytic_journal(osv.osv): class account_analytic_journal(osv.osv):
_name = 'account.analytic.journal' _name = 'account.analytic.journal'

View File

@ -21,7 +21,7 @@
import time import time
from report import report_sxw from openerp.report import report_sxw
# #
# Use period and Journal for selection or resources # Use period and Journal for selection or resources

View File

@ -20,7 +20,8 @@
############################################################################## ##############################################################################
import time import time
from report import report_sxw
from openerp.report import report_sxw
class account_analytic_balance(report_sxw.rml_parse): class account_analytic_balance(report_sxw.rml_parse):

View File

@ -20,8 +20,9 @@
############################################################################## ##############################################################################
import time import time
import pooler
from report import report_sxw from openerp import pooler
from openerp.report import report_sxw
# #
# Use period and Journal for selection or resources # Use period and Journal for selection or resources

View File

@ -19,9 +19,10 @@
# #
############################################################################## ##############################################################################
import pooler
import time import time
from report import report_sxw
from openerp import pooler
from openerp.report import report_sxw
class account_analytic_cost_ledger(report_sxw.rml_parse): class account_analytic_cost_ledger(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context): def __init__(self, cr, uid, name, context):

View File

@ -19,9 +19,10 @@
# #
############################################################################## ##############################################################################
import pooler
import time import time
from report import report_sxw
from openerp import pooler
from openerp.report import report_sxw
class account_inverted_analytic_balance(report_sxw.rml_parse): class account_inverted_analytic_balance(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context): def __init__(self, cr, uid, name, context):

View File

@ -20,8 +20,8 @@
############################################################################## ##############################################################################
import time import time
import pooler from openerp import pooler
from report import report_sxw from openerp.report import report_sxw
class account_analytic_quantity_cost_ledger(report_sxw.rml_parse): class account_analytic_quantity_cost_ledger(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context): def __init__(self, cr, uid, name, context):

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from osv import osv, fields from openerp.osv import fields, osv
class account_analytic_balance(osv.osv_memory): class account_analytic_balance(osv.osv_memory):
_name = 'account.analytic.balance' _name = 'account.analytic.balance'

View File

@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_analytic_chart(osv.osv_memory): class account_analytic_chart(osv.osv_memory):
_name = 'account.analytic.chart' _name = 'account.analytic.chart'

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from osv import osv, fields from openerp.osv import fields, osv
class account_analytic_cost_ledger_journal_report(osv.osv_memory): class account_analytic_cost_ledger_journal_report(osv.osv_memory):
_name = 'account.analytic.cost.ledger.journal.report' _name = 'account.analytic.cost.ledger.journal.report'

View File

@ -18,9 +18,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
import time import time
from osv import osv, fields from openerp.osv import osv, fields
class account_analytic_cost_ledger(osv.osv_memory): class account_analytic_cost_ledger(osv.osv_memory):
_name = 'account.analytic.cost.ledger' _name = 'account.analytic.cost.ledger'

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from osv import osv, fields from openerp.osv import fields, osv
class account_analytic_inverted_balance(osv.osv_memory): class account_analytic_inverted_balance(osv.osv_memory):
_name = 'account.analytic.inverted.balance' _name = 'account.analytic.inverted.balance'

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from osv import osv, fields from openerp.osv import fields, osv
class account_analytic_journal_report(osv.osv_memory): class account_analytic_journal_report(osv.osv_memory):
_name = 'account.analytic.journal.report' _name = 'account.analytic.journal.report'

View File

@ -18,8 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class project_account_analytic_line(osv.osv_memory): class project_account_analytic_line(osv.osv_memory):
_name = "project.account.analytic.line" _name = "project.account.analytic.line"

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
class aged_trial_report(report_sxw.rml_parse, common_report_header): class aged_trial_report(report_sxw.rml_parse, common_report_header):

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
import tools from openerp import tools
from osv import fields,osv from openerp.osv import fields,osv
class analytic_entries_report(osv.osv): class analytic_entries_report(osv.osv):
_name = "analytic.entries.report" _name = "analytic.entries.report"

View File

@ -21,7 +21,7 @@
import time import time
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
class account_balance(report_sxw.rml_parse, common_report_header): class account_balance(report_sxw.rml_parse, common_report_header):

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
# #
# Use period and Journal for selection or resources # Use period and Journal for selection or resources

View File

@ -19,9 +19,9 @@
# #
############################################################################## ##############################################################################
import tools from openerp import tools
from osv import fields,osv from openerp.osv import fields,osv
import decimal_precision as dp import openerp.addons.decimal_precision as dp
class account_entries_report(osv.osv): class account_entries_report(osv.osv):
_name = "account.entries.report" _name = "account.entries.report"

View File

@ -20,9 +20,9 @@
import time import time
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
from tools.translate import _ from openerp.tools.translate import _
class report_account_common(report_sxw.rml_parse, common_report_header): class report_account_common(report_sxw.rml_parse, common_report_header):

View File

@ -21,7 +21,7 @@
import time import time
from common_report_header import common_report_header from common_report_header import common_report_header
from report import report_sxw from openerp.report import report_sxw
class journal_print(report_sxw.rml_parse, common_report_header): class journal_print(report_sxw.rml_parse, common_report_header):

View File

@ -28,7 +28,7 @@
############################################################################## ##############################################################################
import time import time
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
class general_ledger(report_sxw.rml_parse, common_report_header): class general_ledger(report_sxw.rml_parse, common_report_header):

View File

@ -19,9 +19,9 @@
# #
############################################################################## ##############################################################################
import tools from openerp import tools
import decimal_precision as dp import openerp.addons.decimal_precision as dp
from osv import fields,osv from openerp.osv import fields,osv
class account_invoice_report(osv.osv): class account_invoice_report(osv.osv):
_name = "account.invoice.report" _name = "account.invoice.report"

View File

@ -21,7 +21,7 @@
import time import time
from common_report_header import common_report_header from common_report_header import common_report_header
from report import report_sxw from openerp.report import report_sxw
class journal_print(report_sxw.rml_parse, common_report_header): class journal_print(report_sxw.rml_parse, common_report_header):

View File

@ -21,8 +21,8 @@
import time import time
from tools.translate import _ from openerp.tools.translate import _
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
class partner_balance(report_sxw.rml_parse, common_report_header): class partner_balance(report_sxw.rml_parse, common_report_header):

View File

@ -21,9 +21,9 @@
import time import time
import re import re
from report import report_sxw from openerp.report import report_sxw
from common_report_header import common_report_header from common_report_header import common_report_header
from tools.translate import _ from openerp.tools.translate import _
class third_party_ledger(report_sxw.rml_parse, common_report_header): class third_party_ledger(report_sxw.rml_parse, common_report_header):

View File

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
import time import time
from report import report_sxw from openerp.report import report_sxw
class account_invoice(report_sxw.rml_parse): class account_invoice(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context): def __init__(self, cr, uid, name, context):

View File

@ -21,8 +21,8 @@
import time import time
from report import report_sxw from openerp.report import report_sxw
import pooler from openerp import pooler
class Overdue(report_sxw.rml_parse): class Overdue(report_sxw.rml_parse):
def __init__(self, cr, uid, name, context): def __init__(self, cr, uid, name, context):

View File

@ -23,9 +23,9 @@ import time
from datetime import datetime from datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
import pooler from openerp import pooler
import tools from openerp import tools
from osv import fields,osv from openerp.osv import fields,osv
def _code_get(self, cr, uid, context=None): def _code_get(self, cr, uid, context=None):
acc_type_obj = self.pool.get('account.account.type') acc_type_obj = self.pool.get('account.account.type')

View File

@ -22,7 +22,7 @@
import time import time
from common_report_header import common_report_header from common_report_header import common_report_header
from report import report_sxw from openerp.report import report_sxw
class tax_report(report_sxw.rml_parse, common_report_header): class tax_report(report_sxw.rml_parse, common_report_header):
_name = 'report.account.vat.declaration' _name = 'report.account.vat.declaration'

View File

@ -19,9 +19,9 @@
# #
############################################################################## ##############################################################################
import tools from openerp import tools
from osv import fields,osv from openerp.osv import fields,osv
import decimal_precision as dp import openerp.addons.decimal_precision as dp
class account_treasury_report(osv.osv): class account_treasury_report(osv.osv):
_name = "account.treasury.report" _name = "account.treasury.report"

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
import pooler from openerp import pooler
from tools.translate import _ from openerp.tools.translate import _
class common_report_header(object): class common_report_header(object):

View File

@ -25,9 +25,9 @@ from dateutil.relativedelta import relativedelta
from operator import itemgetter from operator import itemgetter
from os.path import join as opj from os.path import join as opj
from tools.translate import _ from openerp.tools.translate import _
from osv import osv, fields from openerp.osv import fields, osv
import tools from openerp import tools
class account_config_settings(osv.osv_memory): class account_config_settings(osv.osv_memory):
_name = 'account.config.settings' _name = 'account.config.settings'

View File

@ -18,7 +18,7 @@
# #
############################################################################## ##############################################################################
from osv import osv from openerp.osv import osv
"""Inherit res.currency to handle accounting date values when converting currencies""" """Inherit res.currency to handle accounting date values when converting currencies"""

View File

@ -21,8 +21,8 @@
import time import time
from osv import osv, fields from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_automatic_reconcile(osv.osv_memory): class account_automatic_reconcile(osv.osv_memory):
_name = 'account.automatic.reconcile' _name = 'account.automatic.reconcile'

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_change_currency(osv.osv_memory): class account_change_currency(osv.osv_memory):
_name = 'account.change.currency' _name = 'account.change.currency'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class account_chart(osv.osv_memory): class account_chart(osv.osv_memory):
""" """

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class accounting_report(osv.osv_memory): class accounting_report(osv.osv_memory):
_name = "accounting.report" _name = "accounting.report"

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_fiscalyear_close(osv.osv_memory): class account_fiscalyear_close(osv.osv_memory):
""" """

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_fiscalyear_close_state(osv.osv_memory): class account_fiscalyear_close_state(osv.osv_memory):
""" """

View File

@ -21,9 +21,9 @@
import time import time
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
import netsvc from openerp import netsvc
class account_invoice_refund(osv.osv_memory): class account_invoice_refund(osv.osv_memory):

View File

@ -19,10 +19,10 @@
# #
############################################################################## ##############################################################################
from osv import osv from openerp.osv import osv
from tools.translate import _ from openerp.tools.translate import _
import netsvc from openerp import netsvc
import pooler from openerp import pooler
class account_invoice_confirm(osv.osv_memory): class account_invoice_confirm(osv.osv_memory):
""" """

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv from openerp.osv import osv
class account_journal_select(osv.osv_memory): class account_journal_select(osv.osv_memory):
""" """

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_move_bank_reconcile(osv.osv_memory): class account_move_bank_reconcile(osv.osv_memory):
""" """

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_move_line_reconcile_select(osv.osv_memory): class account_move_line_reconcile_select(osv.osv_memory):
_name = "account.move.line.reconcile.select" _name = "account.move.line.reconcile.select"

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv from openerp.osv import osv
class account_move_line_select(osv.osv_memory): class account_move_line_select(osv.osv_memory):
""" """

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class account_move_line_unreconcile_select(osv.osv_memory): class account_move_line_unreconcile_select(osv.osv_memory):
_name = "account.move.line.unreconcile.select" _name = "account.move.line.unreconcile.select"

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_open_closed_fiscalyear(osv.osv_memory): class account_open_closed_fiscalyear(osv.osv_memory):
_name = "account.open.closed.fiscalyear" _name = "account.open.closed.fiscalyear"

View File

@ -19,8 +19,8 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_period_close(osv.osv_memory): class account_period_close(osv.osv_memory):
""" """

View File

@ -21,9 +21,9 @@
import time import time
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
import decimal_precision as dp import openerp.addons.decimal_precision as dp
class account_move_line_reconcile(osv.osv_memory): class account_move_line_reconcile(osv.osv_memory):
""" """

View File

@ -21,7 +21,7 @@
import time import time
from osv import osv, fields from openerp.osv import fields, osv
class account_partner_reconcile_process(osv.osv_memory): class account_partner_reconcile_process(osv.osv_memory):
_name = 'account.partner.reconcile.process' _name = 'account.partner.reconcile.process'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_balance_report(osv.osv_memory): class account_balance_report(osv.osv_memory):
_inherit = "account.common.account.report" _inherit = "account.common.account.report"

View File

@ -22,8 +22,8 @@
import time import time
from datetime import datetime from datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
from osv import osv, fields from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_aged_trial_balance(osv.osv_memory): class account_aged_trial_balance(osv.osv_memory):
_inherit = 'account.common.partner.report' _inherit = 'account.common.partner.report'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_central_journal(osv.osv_memory): class account_central_journal(osv.osv_memory):
_name = 'account.central.journal' _name = 'account.central.journal'

View File

@ -22,9 +22,9 @@
import time import time
from lxml import etree from lxml import etree
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _
from openerp.osv.orm import setup_modifiers from openerp.osv.orm import setup_modifiers
from openerp.tools.translate import _
class account_common_report(osv.osv_memory): class account_common_report(osv.osv_memory):
_name = "account.common.report" _name = "account.common.report"

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_common_account_report(osv.osv_memory): class account_common_account_report(osv.osv_memory):
_name = 'account.common.account.report' _name = 'account.common.account.report'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_common_journal_report(osv.osv_memory): class account_common_journal_report(osv.osv_memory):
_name = 'account.common.journal.report' _name = 'account.common.journal.report'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_common_partner_report(osv.osv_memory): class account_common_partner_report(osv.osv_memory):
_name = 'account.common.partner.report' _name = 'account.common.partner.report'

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_general_journal(osv.osv_memory): class account_general_journal(osv.osv_memory):
_inherit = "account.common.journal.report" _inherit = "account.common.journal.report"

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class account_report_general_ledger(osv.osv_memory): class account_report_general_ledger(osv.osv_memory):
_inherit = "account.common.account.report" _inherit = "account.common.account.report"

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class account_partner_balance(osv.osv_memory): class account_partner_balance(osv.osv_memory):
""" """

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class account_partner_ledger(osv.osv_memory): class account_partner_ledger(osv.osv_memory):
""" """

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
from lxml import etree from lxml import etree
class account_print_journal(osv.osv_memory): class account_print_journal(osv.osv_memory):

View File

@ -18,10 +18,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
from osv import osv from openerp.osv import osv
import netsvc from openerp import netsvc
from tools.translate import _ from openerp.tools.translate import _
class account_state_open(osv.osv_memory): class account_state_open(osv.osv_memory):
_name = 'account.state.open' _name = 'account.state.open'

View File

@ -21,7 +21,7 @@
import time import time
from osv import fields, osv from openerp.osv import fields, osv
class account_subscription_generate(osv.osv_memory): class account_subscription_generate(osv.osv_memory):

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class account_tax_chart(osv.osv_memory): class account_tax_chart(osv.osv_memory):
""" """

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv from openerp.osv import osv
class account_unreconcile(osv.osv_memory): class account_unreconcile(osv.osv_memory):
_name = "account.unreconcile" _name = "account.unreconcile"

View File

@ -20,8 +20,8 @@
############################################################################## ##############################################################################
import time import time
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class account_use_model(osv.osv_memory): class account_use_model(osv.osv_memory):

View File

@ -18,8 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
from tools.translate import _ from openerp.tools.translate import _
class validate_account_move(osv.osv_memory): class validate_account_move(osv.osv_memory):
_name = "validate.account.move" _name = "validate.account.move"

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import fields, osv
class account_vat_declaration(osv.osv_memory): class account_vat_declaration(osv.osv_memory):
_name = 'account.vat.declaration' _name = 'account.vat.declaration'

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
from osv import osv, fields from openerp.osv import fields, osv
import decimal_precision as dp import openerp.addons.decimal_precision as dp
from tools.translate import _ from openerp.tools.translate import _
class CashBox(osv.osv_memory): class CashBox(osv.osv_memory):
_register = False _register = False

View File

@ -8,19 +8,20 @@ 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: 2012-11-24 02:51+0000\n" "POT-Creation-Date: 2012-11-24 02:51+0000\n"
"PO-Revision-Date: 2012-12-10 13:15+0000\n" "PO-Revision-Date: 2012-12-16 22:40+0000\n"
"Last-Translator: Projetaty Soluções OpenSource <Unknown>\n" "Last-Translator: Fábio Martinelli - http://zupy.com.br "
"<webmaster@guaru.net>\n"
"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" "Language-Team: Brazilian Portuguese <pt_BR@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: 2012-12-11 04:49+0000\n" "X-Launchpad-Export-Date: 2012-12-17 04:47+0000\n"
"X-Generator: Launchpad (build 16356)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account_accountant #. module: account_accountant
#: model:ir.actions.client,name:account_accountant.action_client_account_menu #: model:ir.actions.client,name:account_accountant.action_client_account_menu
msgid "Open Accounting Menu" msgid "Open Accounting Menu"
msgstr "Menu Contabilidade em Aberto" msgstr "Abrir Menu de Contabilidade"
#~ msgid "Accountant" #~ msgid "Accountant"
#~ msgstr "Contador" #~ msgstr "Contador"

View File

@ -14,7 +14,7 @@ msgstr ""
"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: 2012-12-16 04:48+0000\n" "X-Launchpad-Export-Date: 2012-12-17 04:47+0000\n"
"X-Generator: Launchpad (build 16372)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account_accountant #. module: account_accountant

View File

@ -19,11 +19,12 @@
# #
############################################################################## ##############################################################################
from osv import osv, fields from openerp.osv import osv, fields
from osv.orm import intersect, except_orm from openerp.osv.orm import intersect, except_orm
import tools.sql import openerp.tools
from tools.translate import _ from openerp.tools.translate import _
from decimal_precision import decimal_precision as dp
from openerp.addons.decimal_precision import decimal_precision as dp
class account_analytic_account(osv.osv): class account_analytic_account(osv.osv):
@ -518,7 +519,7 @@ class account_analytic_account_summary_user(osv.osv):
} }
def init(self, cr): def init(self, cr):
tools.sql.drop_view_if_exists(cr, 'account_analytic_analysis_summary_user') openerp.tools.sql.drop_view_if_exists(cr, 'account_analytic_analysis_summary_user')
cr.execute('''CREATE OR REPLACE VIEW account_analytic_analysis_summary_user AS ( cr.execute('''CREATE OR REPLACE VIEW account_analytic_analysis_summary_user AS (
with mu as with mu as
(select max(id) as max_user from res_users) (select max(id) as max_user from res_users)
@ -553,7 +554,7 @@ class account_analytic_account_summary_month(osv.osv):
} }
def init(self, cr): def init(self, cr):
tools.sql.drop_view_if_exists(cr, 'account_analytic_analysis_summary_month') openerp.tools.sql.drop_view_if_exists(cr, 'account_analytic_analysis_summary_month')
cr.execute('CREATE VIEW account_analytic_analysis_summary_month AS (' \ cr.execute('CREATE VIEW account_analytic_analysis_summary_month AS (' \
'SELECT ' \ 'SELECT ' \
'(TO_NUMBER(TO_CHAR(d.month, \'YYYYMM\'), \'999999\') + (d.account_id * 1000000::bigint))::bigint AS id, ' \ '(TO_NUMBER(TO_CHAR(d.month, \'YYYYMM\'), \'999999\') + (d.account_id * 1000000::bigint))::bigint AS id, ' \

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python
from osv import osv
from mako.template import Template from mako.template import Template
import time import time
try: try:
@ -7,7 +6,8 @@ try:
except ImportError: except ImportError:
import StringIO import StringIO
import tools from openerp import tools
from openerp.osv import osv
MAKO_TEMPLATE = u"""Hello ${user.name}, MAKO_TEMPLATE = u"""Hello ${user.name},

View File

@ -7,20 +7,20 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev_rc3\n" "Project-Id-Version: OpenERP Server 6.0dev_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n" "Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2012-12-03 16:02+0000\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n"
"PO-Revision-Date: 2012-12-06 21:29+0000\n" "PO-Revision-Date: 2012-12-17 21:42+0000\n"
"Last-Translator: Thorsten Vocks (OpenBig.org) <thorsten.vocks@big-" "Last-Translator: Thorsten Vocks (OpenBig.org) <thorsten.vocks@big-"
"consulting.net>\n" "consulting.net>\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: 2012-12-07 04:35+0000\n" "X-Launchpad-Export-Date: 2012-12-18 05:01+0000\n"
"X-Generator: Launchpad (build 16341)\n" "X-Generator: Launchpad (build 16372)\n"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
msgid "No order to invoice, create" msgid "No order to invoice, create"
msgstr "" msgstr "Kein Auftrag abzurechnen, erstelle"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
@ -30,7 +30,7 @@ msgstr "Gruppierung ..."
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
msgid "To Invoice" msgid "To Invoice"
msgstr "Abrechenbar" msgstr "Abrechnen"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
@ -47,14 +47,12 @@ msgstr "Verträge in Bearbeitung"
msgid "" msgid ""
"If invoice from the costs, this is the date of the latest work or cost that " "If invoice from the costs, this is the date of the latest work or cost that "
"have been invoiced." "have been invoiced."
msgstr "" msgstr "Datum der letzten Weiterberechnung von Kosten"
"Falls eine Berechnung auf Basis der Produktionskosten erfolgt, ist dieses "
"das Datum der letzten Weiter - Berechnung."
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: field:account.analytic.account,last_worked_date:0 #: field:account.analytic.account,last_worked_date:0
msgid "Date of Last Cost/Work" msgid "Date of Last Cost/Work"
msgstr "vorheriger Arbeitstag" msgstr "Letzte Aufwandserfassung"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: field:account.analytic.account,ca_to_invoice:0 #: field:account.analytic.account,ca_to_invoice:0
@ -167,8 +165,8 @@ msgid ""
"Number of time (hours/days) (from journal of type 'general') that can be " "Number of time (hours/days) (from journal of type 'general') that can be "
"invoiced if you invoice based on analytic account." "invoiced if you invoice based on analytic account."
msgstr "" msgstr ""
"verrechenbare Zeiten (Stunden/Tage) vom Journal 'General', wenn die " "Abrechenbare Zeit (Stunden/Tage) vom Journaltyp 'Sonstige', wenn Abrechnung "
"Verrechnung auf Analyse Konten beruht" "über die Kostenstelle erfolgt."
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: help:account.analytic.account,remaining_hours_to_invoice:0 #: help:account.analytic.account,remaining_hours_to_invoice:0
@ -178,7 +176,7 @@ msgstr "Berechnungsformel: Maximale Zeit - Abgerechnete Zeit"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
msgid "Expected" msgid "Expected"
msgstr "Geplant" msgstr "Erwartet"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
@ -186,7 +184,7 @@ msgstr "Geplant"
#: field:account_analytic_analysis.summary.user,account_id:0 #: field:account_analytic_analysis.summary.user,account_id:0
#: model:ir.model,name:account_analytic_analysis.model_account_analytic_account #: model:ir.model,name:account_analytic_analysis.model_account_analytic_account
msgid "Analytic Account" msgid "Analytic Account"
msgstr "Analytisches Konto" msgstr "Kostenstelle"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: help:account.analytic.account,theorical_margin:0 #: help:account.analytic.account,theorical_margin:0
@ -329,7 +327,7 @@ msgstr "Stundenzettel"
#: code:addons/account_analytic_analysis/account_analytic_analysis.py:461 #: code:addons/account_analytic_analysis/account_analytic_analysis.py:461
#, python-format #, python-format
msgid "Sale Order Lines of %s" msgid "Sale Order Lines of %s"
msgstr "" msgstr "Auftragszeilen von %s"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: view:account.analytic.account:0 #: view:account.analytic.account:0
@ -437,13 +435,13 @@ msgid ""
"Number of time (hours/days) that can be invoiced plus those that already " "Number of time (hours/days) that can be invoiced plus those that already "
"have been invoiced." "have been invoiced."
msgstr "" msgstr ""
"Anzahl von Stunden oder Tagen, die verrechnet werden können, inklusiver der " "Anzahl von Stunden oder Tagen, die zur Abrechnung anstehen inklusive bereits "
"bereits verrechneten" "abgerechneter Stunden"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: field:account.analytic.account,revenue_per_hour:0 #: field:account.analytic.account,revenue_per_hour:0
msgid "Revenue per Time (real)" msgid "Revenue per Time (real)"
msgstr "Erträge je Zeiteinheit (real)" msgstr "Umsatz pro Stunde"
#. module: account_analytic_analysis #. module: account_analytic_analysis
#: model:ir.actions.act_window,help:account_analytic_analysis.action_account_analytic_overdue_all #: model:ir.actions.act_window,help:account_analytic_analysis.action_account_analytic_overdue_all

View File

@ -19,7 +19,7 @@
# #
############################################################################## ##############################################################################
from osv import fields, osv from openerp.osv import fields, osv
class sale_configuration(osv.osv_memory): class sale_configuration(osv.osv_memory):
_inherit = 'sale.config.settings' _inherit = 'sale.config.settings'

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