diff --git a/addons/.bzrignore b/addons/.bzrignore index 8d98f9debde..8c348710117 100644 --- a/addons/.bzrignore +++ b/addons/.bzrignore @@ -1 +1,2 @@ .* +**/node_modules diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 87e6a66740c..bf1da5cb71b 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -561,10 +561,14 @@ class account_invoice(osv.osv): def onchange_payment_term_date_invoice(self, cr, uid, ids, payment_term_id, date_invoice): res = {} + if isinstance(ids, (int, long)): + ids = [ids] if not date_invoice: date_invoice = time.strftime('%Y-%m-%d') if not payment_term_id: - return {'value':{'date_due': date_invoice}} #To make sure the invoice has a due date when no payment term + inv = self.browse(cr, uid, ids[0]) + #To make sure the invoice due date should contain due date which is entered by user when there is no payment term defined + return {'value':{'date_due': inv.date_due and inv.date_due or date_invoice}} pterm_list = self.pool.get('account.payment.term').compute(cr, uid, payment_term_id, value=1, date_ref=date_invoice) if pterm_list: pterm_list = [line[0] for line in pterm_list] diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index 314e3423996..7f5fa9707c1 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -800,7 +800,7 @@ class account_move_line(osv.osv): r_id = move_rec_obj.create(cr, uid, { 'type': type, 'line_partial_ids': map(lambda x: (4,x,False), merges+unmerge) - }) + }, context=context) move_rec_obj.reconcile_partial_check(cr, uid, [r_id] + merges_rec, context=context) return True diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 758385d66cb..91c6d6608fd 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -612,6 +612,13 @@ + + + + +
diff --git a/addons/account/edi/invoice.py b/addons/account/edi/invoice.py index 91913920bac..2c2a754de3b 100644 --- a/addons/account/edi/invoice.py +++ b/addons/account/edi/invoice.py @@ -266,7 +266,7 @@ class account_invoice(osv.osv, EDIMixin): params = { "cmd": "_xclick", "business": inv.company_id.paypal_account, - "item_name": inv.company_id.name + " Invoice " + inv.number, + "item_name": "%s Invoice %s" % (inv.company_id.name, inv.number or ''), "invoice": inv.number, "amount": inv.residual, "currency_code": inv.currency_id.name, diff --git a/addons/account/res_config.py b/addons/account/res_config.py index 89d238b16e9..8ab93c2fcbb 100644 --- a/addons/account/res_config.py +++ b/addons/account/res_config.py @@ -25,7 +25,7 @@ from dateutil.relativedelta import relativedelta from operator import itemgetter from os.path import join as opj -from openerp.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT as DF +from openerp.tools import DEFAULT_SERVER_DATE_FORMAT as DF from openerp.tools.translate import _ from openerp.osv import fields, osv from openerp import tools diff --git a/addons/account/test/account_bank_statement.yml b/addons/account/test/account_bank_statement.yml index 3711cff4d56..28828e0e3ea 100644 --- a/addons/account/test/account_bank_statement.yml +++ b/addons/account/test/account_bank_statement.yml @@ -67,9 +67,10 @@ Then I cancel Bank Statements and verifies that it raises a warning - !python {model: account.bank.statement}: | + from openerp.osv import osv try: self.button_cancel(cr, uid, [ref("account_bank_statement_0")]) assert False, "An exception should have been raised, the journal should not let us cancel moves!" - except Exception: + except osv.except_osv: # exception was raised as expected, as the journal does not allow cancelling moves pass diff --git a/addons/account/test/account_supplier_invoice.yml b/addons/account/test/account_supplier_invoice.yml index 02c3d367050..2232b8dc00e 100644 --- a/addons/account/test/account_supplier_invoice.yml +++ b/addons/account/test/account_supplier_invoice.yml @@ -73,14 +73,16 @@ I cancel the account move which is in posted state and verifies that it gives warning message - !python {model: account.move}: | + from openerp.osv import osv inv_obj = self.pool.get('account.invoice') inv = inv_obj.browse(cr, uid, ref('account_invoice_supplier0')) try: mov_cancel = self.button_cancel(cr, uid, [inv.move_id.id], {'lang': u'en_US', 'tz': False, 'active_model': 'ir.ui.menu', 'journal_type': 'purchase', 'active_ids': [ref('menu_action_invoice_tree2')], 'type': 'in_invoice', 'active_id': ref('menu_action_invoice_tree2')}) - except Exception, e: - assert e, 'Warning message has not been raised' + assert False, "This should never happen!" + except osv.except_osv: + pass - I verify that 'Period Sum' and 'Year sum' of the tax code are the expected values - diff --git a/addons/account/wizard/account_report_aged_partner_balance_view.xml b/addons/account/wizard/account_report_aged_partner_balance_view.xml index 77ebf02570f..be1d710c09d 100644 --- a/addons/account/wizard/account_report_aged_partner_balance_view.xml +++ b/addons/account/wizard/account_report_aged_partner_balance_view.xml @@ -11,7 +11,8 @@
@@ -173,20 +169,24 @@ - - - - - - - - - + + + + + + + + + + + + + @@ -216,7 +216,7 @@ Leads crm.lead - + @@ -228,7 +228,7 @@ - + @@ -258,7 +258,6 @@ crm.lead - @@ -331,16 +330,17 @@ - - - - + - + help="Leads that are assigned to any sales teams I am member of"/> +
-
-
@@ -408,7 +407,7 @@ @@ -430,7 +429,8 @@ @@ -481,7 +481,6 @@ - @@ -511,7 +510,7 @@ Opportunities Tree crm.lead - + @@ -529,7 +528,8 @@ - + + @@ -546,15 +546,19 @@ + + - - - - - - + + + + + diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py index 0d7004e005b..1e67c50a2c3 100644 --- a/addons/crm/crm_phonecall.py +++ b/addons/crm/crm_phonecall.py @@ -19,21 +19,19 @@ # ############################################################################## -from openerp.addons.base_status.base_state import base_state import crm from datetime import datetime from openerp.osv import fields, osv from openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT from openerp.tools.translate import _ -class crm_phonecall(base_state, osv.osv): +class crm_phonecall(osv.osv): """ Model for CRM phonecalls """ _name = "crm.phonecall" _description = "Phonecall" _order = "id desc" _inherit = ['mail.thread'] _columns = { - # base_state required fields 'date_action_last': fields.datetime('Last Action', readonly=1), 'date_action_next': fields.datetime('Next Action', readonly=1), 'create_date': fields.datetime('Creation Date' , readonly=True), @@ -43,22 +41,21 @@ class crm_phonecall(base_state, osv.osv): 'partner_id': fields.many2one('res.partner', 'Contact'), 'company_id': fields.many2one('res.company', 'Company'), 'description': fields.text('Description'), - 'state': fields.selection([ ('draft', 'Draft'), - ('open', 'Confirmed'), - ('pending', 'Not Held'), - ('cancel', 'Cancelled'), - ('done', 'Held'),], - string='Status', size=16, readonly=True, track_visibility='onchange', - help='The status is set to \'Todo\', when a case is created.\ - If the case is in progress the status is set to \'Open\'.\ - When the call is over, the status is set to \'Held\'.\ - If the call needs to be done then the status is set to \'Not Held\'.'), + 'state': fields.selection( + [('open', 'Confirmed'), + ('cancel', 'Cancelled'), + ('pending', 'Pending'), + ('done', 'Held') + ], string='Status', readonly=True, track_visibility='onchange', + help='The status is set to Confirmed, when a case is created.\n' + 'When the call is over, the status is set to Held.\n' + 'If the callis not applicable anymore, the status can be set to Cancelled.'), 'email_from': fields.char('Email', size=128, help="These people will receive email."), 'date_open': fields.datetime('Opened', readonly=True), # phonecall fields 'name': fields.char('Call Summary', size=64, required=True), 'active': fields.boolean('Active', required=False), - 'duration': fields.float('Duration', help="Duration in Minutes"), + 'duration': fields.float('Duration', help='Duration in minutes and seconds.'), 'categ_id': fields.many2one('crm.case.categ', 'Category', \ domain="['|',('section_id','=',section_id),('section_id','=',False),\ ('object_id.model', '=', 'crm.phonecall')]"), @@ -71,7 +68,7 @@ class crm_phonecall(base_state, osv.osv): } def _get_default_state(self, cr, uid, context=None): - if context and context.get('default_state', False): + if context and context.get('default_state'): return context.get('default_state') return 'open' @@ -79,29 +76,38 @@ class crm_phonecall(base_state, osv.osv): 'date': fields.datetime.now, 'priority': crm.AVAILABLE_PRIORITIES[2][0], 'state': _get_default_state, - 'user_id': lambda self,cr,uid,ctx: uid, + 'user_id': lambda self, cr, uid, ctx: uid, 'active': 1 } - def case_close(self, cr, uid, ids, context=None): - """ Overrides close for crm_case for setting duration """ - res = True - for phone in self.browse(cr, uid, ids, context=context): - phone_id = phone.id - data = {} - if phone.duration <=0: - duration = datetime.now() - datetime.strptime(phone.date, DEFAULT_SERVER_DATETIME_FORMAT) - data['duration'] = duration.seconds/float(60) - res = super(crm_phonecall, self).case_close(cr, uid, [phone_id], context=context) - self.write(cr, uid, [phone_id], data, context=context) - return res + def on_change_partner_id(self, cr, uid, ids, partner_id, context=None): + values = {} + if partner_id: + partner = self.pool.get('res.partner').browse(cr, uid, partner_id, context=context) + values = { + 'partner_phone': partner.phone, + 'partner_mobile': partner.mobile, + } + return {'value': values} - def case_reset(self, cr, uid, ids, context=None): - """Resets case as Todo - """ - res = super(crm_phonecall, self).case_reset(cr, uid, ids, context) - self.write(cr, uid, ids, {'duration': 0.0, 'state':'open'}, context=context) - return res + def write(self, cr, uid, ids, values, context=None): + """ Override to add case management: open/close dates """ + if values.get('state'): + if values.get('state') == 'done': + values['date_closed'] = fields.datetime.now() + self.compute_duration(cr, uid, ids, context=context) + elif values.get('state') == 'open': + values['date_open'] = fields.datetime.now() + values['duration'] = 0.0 + return super(crm_phonecall, self).write(cr, uid, ids, values, context=context) + + def compute_duration(self, cr, uid, ids, context=None): + for phonecall in self.browse(cr, uid, ids, context=context): + if phonecall.duration <= 0: + duration = datetime.now() - datetime.strptime(phonecall.date, DEFAULT_SERVER_DATETIME_FORMAT) + values = {'duration': duration.seconds/float(60)} + self.write(cr, uid, [phonecall.id], values, context=context) + return True def schedule_another_phonecall(self, cr, uid, ids, schedule_time, call_summary, \ user_id=False, section_id=False, categ_id=False, action='schedule', context=None): @@ -135,7 +141,7 @@ class crm_phonecall(base_state, osv.osv): } new_id = self.create(cr, uid, vals, context=context) if action == 'log': - self.case_close(cr, uid, [new_id]) + self.write(cr, uid, [new_id], {'state': 'done'}, context=context) phonecall_dict[call.id] = new_id return phonecall_dict @@ -243,12 +249,11 @@ class crm_phonecall(base_state, osv.osv): 'email_from': default_contact and default_contact.email, }) vals = { - 'partner_id': partner_id, - 'opportunity_id' : opportunity_id, + 'partner_id': partner_id, + 'opportunity_id': opportunity_id, + 'state': 'done', } - self.write(cr, uid, [call.id], vals) - self.case_close(cr, uid, [call.id]) - opportunity.case_open(cr, uid, [opportunity_id]) + self.write(cr, uid, [call.id], vals, context=context) opportunity_dict[call.id] = opportunity_id return opportunity_dict diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index 6c1b31180be..41a0eb5f805 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -50,14 +50,6 @@ -
- - -
-

- Higher is the value, higher is the probability for this partner to get more leads. -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
- + + + + + + + + + - -
- -
-
-
-
- - - - -
-
- -
-
-
- -
-
-
-
-
-
\ No newline at end of file diff --git a/addons/im/static/src/xml/im_common.xml b/addons/im/static/src/xml/im_common.xml new file mode 100644 index 00000000000..4286d0c9710 --- /dev/null +++ b/addons/im/static/src/xml/im_common.xml @@ -0,0 +1,36 @@ + + + + +
+ + + + +
+
+ +
+
+
+
+ +
+ + +
+
+ +
+
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/addons/im_livechat/include.html b/addons/im_livechat/include.html index 55de6212361..210bad6984c 100644 --- a/addons/im_livechat/include.html +++ b/addons/im_livechat/include.html @@ -1,2 +1,2 @@ - + \ No newline at end of file diff --git a/addons/im_livechat/loader.js b/addons/im_livechat/loader.js index 669591b410f..d2580ab272a 100644 --- a/addons/im_livechat/loader.js +++ b/addons/im_livechat/loader.js @@ -1,19 +1,40 @@ +(function() { + +var tmpQWeb2 = window.QWeb2; + require.config({ context: "oelivesupport", - baseUrl: {{url | json}} + "/im_livechat/static/ext/static/js", + baseUrl: {{url | json}}, + paths: { + jquery: "im_livechat/static/ext/static/lib/jquery/jquery", + underscore: "im_livechat/static/ext/static/lib/underscore/underscore", + qweb2: "im_livechat/static/ext/static/lib/qweb/qweb2", + openerp: "web/static/src/js/openerpframework", + "jquery.achtung": "im_livechat/static/ext/static/lib/jquery-achtung/src/ui.achtung", + livesupport: "im_livechat/static/ext/static/js/livesupport", + im_common: "im/static/src/js/im_common" + }, shim: { underscore: { init: function() { return _.noConflict(); }, }, + qweb2: { + init: function() { + var QWeb2 = window.QWeb2; + window.QWeb2 = tmpQWeb2; + return QWeb2; + }, + }, "jquery.achtung": { deps: ['jquery'], }, }, })(["livesupport", "jquery"], function(livesupport, jQuery) { jQuery.noConflict(); + console.log("loaded live support"); livesupport.main({{url | json}}, {{db | json}}, "anonymous", "anonymous", {{channel | json}}, { buttonText: {{buttonText | json}}, inputPlaceholder: {{inputPlaceholder | json}}, @@ -22,3 +43,5 @@ require.config({ userName: {{userName | json}} || undefined, }); }); + +})(); diff --git a/addons/im_livechat/static/ext/.bowerrc b/addons/im_livechat/static/ext/.bowerrc new file mode 100644 index 00000000000..187c8f0abc4 --- /dev/null +++ b/addons/im_livechat/static/ext/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "static/lib/" +} diff --git a/addons/im_livechat/static/ext/Gruntfile.js b/addons/im_livechat/static/ext/Gruntfile.js new file mode 100644 index 00000000000..3d4a7f5aa50 --- /dev/null +++ b/addons/im_livechat/static/ext/Gruntfile.js @@ -0,0 +1,20 @@ +module.exports = function(grunt) { + + grunt.initConfig({ + jshint: { + src: ['static/js/*.js'], + options: { + sub: true, //[] instead of . + evil: true, //eval + laxbreak: true, //unsafe line breaks + }, + }, + }); + + grunt.loadNpmTasks('grunt-contrib-jshint'); + + grunt.registerTask('test', []); + + grunt.registerTask('default', ['jshint']); + +}; \ No newline at end of file diff --git a/addons/im_livechat/static/ext/bower.json b/addons/im_livechat/static/ext/bower.json new file mode 100644 index 00000000000..f10d0de7b9c --- /dev/null +++ b/addons/im_livechat/static/ext/bower.json @@ -0,0 +1,18 @@ +{ + "name": "im_livechat", + "version": "0.0.0", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ], + "dependencies": { + "jquery": "1.8.3", + "underscore": "1.3.1", + "qweb": "git@github.com:OpenERP/qweb.git#~1.0.0", + "jquery-achtung": "git://github.com/joshvarner/jquery-achtung.git", + "requirejs": "~2.1.8" + } +} diff --git a/addons/im_livechat/static/ext/package.json b/addons/im_livechat/static/ext/package.json new file mode 100644 index 00000000000..3ce6500a077 --- /dev/null +++ b/addons/im_livechat/static/ext/package.json @@ -0,0 +1,6 @@ +{ + "devDependencies": { + "grunt": "*", + "grunt-contrib-jshint": "*" + } +} diff --git a/addons/im_livechat/static/ext/static/audio/Ting.mp3 b/addons/im_livechat/static/ext/static/audio/Ting.mp3 deleted file mode 100644 index ffbb77144b2..00000000000 Binary files a/addons/im_livechat/static/ext/static/audio/Ting.mp3 and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/audio/Ting.ogg b/addons/im_livechat/static/ext/static/audio/Ting.ogg deleted file mode 100644 index 74ee13a4e5a..00000000000 Binary files a/addons/im_livechat/static/ext/static/audio/Ting.ogg and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/avatar/avatar.jpeg b/addons/im_livechat/static/ext/static/img/avatar/avatar.jpeg deleted file mode 100644 index 7168794022e..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/avatar/avatar.jpeg and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/button-gloss.png b/addons/im_livechat/static/ext/static/img/button-gloss.png deleted file mode 100755 index 6f3957702fe..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/button-gloss.png and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/glyphicons-halflings-white.png b/addons/im_livechat/static/ext/static/img/glyphicons-halflings-white.png deleted file mode 100755 index 3bf6484a29d..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/glyphicons-halflings-white.png and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/glyphicons-halflings.png b/addons/im_livechat/static/ext/static/img/glyphicons-halflings.png deleted file mode 100755 index a9969993201..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/glyphicons-halflings.png and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/green.png b/addons/im_livechat/static/ext/static/img/green.png deleted file mode 100644 index 01fb373c251..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/green.png and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/logo.png b/addons/im_livechat/static/ext/static/img/logo.png deleted file mode 100644 index aca5f4c60d8..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/logo.png and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/img/wood.png b/addons/im_livechat/static/ext/static/img/wood.png deleted file mode 100644 index 22f2450d3ad..00000000000 Binary files a/addons/im_livechat/static/ext/static/img/wood.png and /dev/null differ diff --git a/addons/im_livechat/static/ext/static/js/jquery.achtung.js b/addons/im_livechat/static/ext/static/js/jquery.achtung.js deleted file mode 100644 index 1aa69469c1d..00000000000 --- a/addons/im_livechat/static/ext/static/js/jquery.achtung.js +++ /dev/null @@ -1,273 +0,0 @@ -/** - * achtung 0.3.0 - * - * Growl-like notifications for jQuery - * - * Copyright (c) 2009 Josh Varner - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - * @license http://www.opensource.org/licenses/mit-license.php - * @author Josh Varner - */ - -/*globals jQuery,clearTimeout,document,navigator,setTimeout -*/ -(function($) { - -/** - * This is based on the jQuery UI $.widget code. I would have just made this - * a $.widget but I didn't want the jQuery UI dependency. - */ -$.fn.achtung = function(options) -{ - var isMethodCall = (typeof options === 'string'), - args = Array.prototype.slice.call(arguments, 0), - name = 'achtung'; - - // handle initialization and non-getter methods - return this.each(function() { - var instance = $.data(this, name); - - // prevent calls to internal methods - if (isMethodCall && options.substring(0, 1) === '_') { - return this; - } - - // constructor - (!instance && !isMethodCall && - $.data(this, name, new $.achtung(this))._init(args)); - - // method call - (instance && isMethodCall && $.isFunction(instance[options]) && - instance[options].apply(instance, args.slice(1))); - }); -}; - -$.achtung = function(element) -{ - var args = Array.prototype.slice.call(arguments, 0), $el; - - if (!element || !element.nodeType) { - $el = $('
'); - return $el.achtung.apply($el, args); - } - - this.$container = $(element); -}; - - -/** - * Static members - **/ -$.extend($.achtung, { - version: '0.3.0', - $overlay: false, - defaults: { - timeout: 10, - disableClose: false, - icon: false, - className: '', - animateClassSwitch: false, - showEffects: {'opacity':'toggle','height':'toggle'}, - hideEffects: {'opacity':'toggle','height':'toggle'}, - showEffectDuration: 500, - hideEffectDuration: 700 - } -}); - -/** - * Non-static members - **/ -$.extend($.achtung.prototype, { - $container: false, - closeTimer: false, - options: {}, - - _init: function(args) - { - var o, self = this; - - args = $.isArray(args) ? args : []; - - - args.unshift($.achtung.defaults); - args.unshift({}); - - o = this.options = $.extend.apply($, args); - - if (!$.achtung.$overlay) { - $.achtung.$overlay = $('
').appendTo(document.body); - } - - if (!o.disableClose) { - $('') - .click(function () { self.close(); }) - .hover(function () { $(this).addClass('achtung-close-button-hover'); }, - function () { $(this).removeClass('achtung-close-button-hover'); }) - .prependTo(this.$container); - } - - this.changeIcon(o.icon, true); - - if (o.message) { - this.$container.append($('' + o.message + '')); - } - - (o.className && this.$container.addClass(o.className)); - (o.css && this.$container.css(o.css)); - - this.$container - .addClass('achtung') - .appendTo($.achtung.$overlay); - - if (o.showEffects) { - this.$container.toggle(); - } else { - this.$container.show(); - } - - if (o.timeout > 0) { - this.timeout(o.timeout); - } - }, - - timeout: function(timeout) - { - var self = this; - - if (this.closeTimer) { - clearTimeout(this.closeTimer); - } - - this.closeTimer = setTimeout(function() { self.close(); }, timeout * 1000); - this.options.timeout = timeout; - }, - - /** - * Change the CSS class associated with this message, using - * a transition if available (not availble in Safari/Webkit). - * If no transition is available, the switch is immediate. - * - * #LATER Check if this has been corrected in Webkit or jQuery UI - * #TODO Make transition time configurable - * @param newClass string Name of new class to associate - */ - changeClass: function(newClass) - { - var self = this; - - if (this.options.className === newClass) { - return; - } - - this.$container.queue(function() { - if (!self.options.animateClassSwitch || - /webkit/.test(navigator.userAgent.toLowerCase()) || - !$.isFunction($.fn.switchClass)) { - self.$container.removeClass(self.options.className); - self.$container.addClass(newClass); - } else { - self.$container.switchClass(self.options.className, newClass, 500); - } - - self.options.className = newClass; - self.$container.dequeue(); - }); - }, - - changeIcon: function(newIcon, force) - { - var self = this; - - if ((force !== true || newIcon === false) && this.options.icon === newIcon) { - return; - } - - if (force || this.options.icon === false) { - this.$container.prepend($('')); - this.options.icon = newIcon; - return; - } else if (newIcon === false) { - this.$container.find('.achtung-message-icon').remove(); - this.options.icon = false; - return; - } - - this.$container.queue(function() { - var $span = $('.achtung-message-icon', self.$container); - - if (!self.options.animateClassSwitch || - /webkit/.test(navigator.userAgent.toLowerCase()) || - !$.isFunction($.fn.switchClass)) { - $span.removeClass(self.options.icon); - $span.addClass(newIcon); - } else { - $span.switchClass(self.options.icon, newIcon, 500); - } - - self.options.icon = newIcon; - self.$container.dequeue(); - }); - }, - - - changeMessage: function(newMessage) - { - this.$container.queue(function() { - $('.achtung-message', $(this)).html(newMessage); - $(this).dequeue(); - }); - }, - - - update: function(options) - { - (options.className && this.changeClass(options.className)); - (options.css && this.$container.css(options.css)); - (typeof(options.icon) !== 'undefined' && this.changeIcon(options.icon)); - (options.message && this.changeMessage(options.message)); - (options.timeout && this.timeout(options.timeout)); - }, - - close: function() - { - var o = this.options, $container = this.$container; - - if (o.hideEffects) { - this.$container.animate(o.hideEffects, o.hideEffectDuration); - } else { - this.$container.hide(); - } - - $container.queue(function() { - $container.removeData('achtung'); - $container.remove(); - - if ($.achtung.$overlay && $.achtung.$overlay.is(':empty')) { - $.achtung.$overlay.remove(); - $.achtung.$overlay = false; - } - - $container.dequeue(); - }); - } -}); - -})(jQuery); \ No newline at end of file diff --git a/addons/im_livechat/static/ext/static/js/jquery.js b/addons/im_livechat/static/ext/static/js/jquery.js deleted file mode 100644 index ded03845983..00000000000 --- a/addons/im_livechat/static/ext/static/js/jquery.js +++ /dev/null @@ -1,9555 +0,0 @@ -/*! - * jQuery JavaScript Library v1.9.0 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-1-14 - */ -(function( window, undefined ) { -"use strict"; -var - // A central reference to the root jQuery(document) - rootjQuery, - - // The deferred used on DOM ready - readyList, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - location = window.location, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.9.0", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler and self cleanup method - DOMContentLoaded = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - jQuery.ready(); - } else if ( document.readyState === "complete" ) { - // we're here because readyState === "complete" in oldIE - // which is good enough for us to call the dom ready! - document.detachEvent( "onreadystatechange", DOMContentLoaded ); - jQuery.ready(); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var tmp, args, proxy; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", jQuery.ready, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", DOMContentLoaded ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", jQuery.ready ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // Flag to know if list is currently firing - firing, - // First callback to fire (used internally by add and fireWith) - firingStart, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Control if a given callback is in the list - has: function( fn ) { - return jQuery.inArray( fn, list ) > -1; - }, - // Remove all callbacks from the list - empty: function() { - list = []; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( list && ( !fired || stack ) ) { - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function() { - - var support, all, a, select, opt, input, fragment, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = "
a"; - - // Support tests won't run in some limited or non-browser environments - all = div.getElementsByTagName("*"); - a = div.getElementsByTagName("a")[ 0 ]; - if ( !all || !a || !all.length ) { - return {}; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - support = { - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: div.firstChild.nodeType === 3, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: a.getAttribute("href") === "/a", - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.5/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - checkOn: !!input.value, - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Tests for enctype support on a form (#6743) - enctype: !!document.createElement("form").enctype, - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", - - // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode - boxModel: document.compatMode === "CSS1Compat", - - // Will be defined later - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true, - boxSizingReliable: true, - pixelPosition: false - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "
t
"; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior - div.innerHTML = ""; - div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; - support.boxSizing = ( div.offsetWidth === 4 ); - support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== "undefined" ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "
"; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - body.style.zoom = 1; - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})(); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, ret, - internalKey = jQuery.expando, - getByName = typeof name === "string", - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // Avoids exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( getByName ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt /* For internal use only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, i, l, - - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - for ( i = 0, l = name.length; i < l; i++ ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data, false ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name, false ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - elem = this[0], - i = 0, - data = null; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( !name.indexOf( "data-" ) ) { - name = jQuery.camelCase( name.substring(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return jQuery.access( this, function( value ) { - - if ( value === undefined ) { - // Try to fetch any internally stored data first - return elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - } - - this.each(function() { - jQuery.data( this, key, value ); - }); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - hooks.cur = fn; - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - rboolean = /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - // Toggle whole class name - } else if ( type === "undefined" || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var hooks, ret, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val, - self = jQuery(this); - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( notxml ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && notxml && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && notxml && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - // In IE9+, Flash objects don't have .getAttribute (#12945) - // Support: IE9+ - if ( typeof elem.getAttribute !== "undefined" ) { - ret = elem.getAttribute( name ); - } - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( rboolean.test( name ) ) { - // Set corresponding property to false for boolean attributes - // Also clear defaultChecked/defaultSelected (if appropriate) for IE<8 - if ( !getSetAttribute && ruseDefault.test( name ) ) { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } else { - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - propFix: { - tabindex: "tabIndex", - readonly: "readOnly", - "for": "htmlFor", - "class": "className", - maxlength: "maxLength", - cellspacing: "cellSpacing", - cellpadding: "cellPadding", - rowspan: "rowSpan", - colspan: "colSpan", - usemap: "useMap", - frameborder: "frameBorder", - contenteditable: "contentEditable" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return ( elem[ name ] = value ); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabindex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - } - } -}); - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - var - // Use .prop to determine if this attribute is understood as boolean - prop = jQuery.prop( elem, name ), - - // Fetch it accordingly - attr = typeof prop === "boolean" && elem.getAttribute( name ), - detail = typeof prop === "boolean" ? - - getSetInput && getSetAttribute ? - attr != null : - // oldIE fabricates an empty string for missing boolean attributes - // and conflates checked/selected into attroperties - ruseDefault.test( name ) ? - elem[ jQuery.camelCase( "default-" + name ) ] : - !!attr : - - // fetch an attribute node for properties not recognized as boolean - elem.getAttributeNode( name ); - - return detail && detail.value !== false ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; - -// fix oldIE value attroperty -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return jQuery.nodeName( elem, "input" ) ? - - // Ignore the value *property* by using defaultValue - elem.defaultValue : - - ret && ret.specified ? ret.value : undefined; - }, - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ( name === "id" || name === "name" || name === "coords" ? ret.value !== "" : ret.specified ) ? - ret.value : - undefined; - }, - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - get: nodeHook.get, - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret == null ? undefined : ret; - } - }); - }); - - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }); -} - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }); -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - // Don't attach events to noData or text/comment nodes (but allow plain objects) - elemData = elem.nodeType !== 3 && elem.nodeType !== 8 && jQuery._data( elem ); - - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - - var i, cur, tmp, bubbleType, ontype, handle, special, - eventPath = [ elem || document ], - type = event.type || event, - namespaces = event.namespace ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - event.isTrigger = true; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, j, ret, matched, handleObj, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var i, matches, sel, handleObj, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - for ( ; cur != this; cur = cur.parentNode || this ) { - - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.disabled !== true || event.type !== "click" ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, - originalEvent = event, - fixHook = jQuery.event.fixHooks[ event.type ] || {}, - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var eventDoc, doc, body, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - } - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== document.activeElement && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === document.activeElement && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === "undefined" ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - }, - - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - } -}); - -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; - - if ( rkeyEvent.test( name ) ) { - jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks; - } - - if ( rmouseEvent.test( name ) ) { - jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks; - } -}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license - * http://sizzlejs.com/ - */ -(function( window, undefined ) { - -var i, - cachedruns, - Expr, - getText, - isXML, - compile, - hasDuplicate, - outermostContext, - - // Local document vars - setDocument, - document, - docElem, - documentIsXML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - sortOrder, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - support = {}, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Array methods - arr = [], - pop = arr.pop, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - operators = "([*^$|!~]?=)", - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rsibling = /[\x20\t\r\n\f]*[+~]/, - - rnative = /\{\s*\[native code\]\s*\}/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g, - funescape = function( _, escaped ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - return high !== high ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Use a stripped-down slice if we can't use a native one -try { - slice.call( docElem.childNodes, 0 )[0].nodeType; -} catch ( e ) { - slice = function( i ) { - var elem, - results = []; - for ( ; (elem = this[i]); i++ ) { - results.push( elem ); - } - return results; - }; -} - -/** - * For feature detection - * @param {Function} fn The function to test for native support - */ -function isNative( fn ) { - return rnative.test( fn + "" ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var cache, - keys = []; - - return (cache = function( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - }); -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return fn( div ); - } catch (e) { - return false; - } finally { - // release memory in IE - div = null; - } -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( !documentIsXML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getByClassName && context.getElementsByClassName ) { - push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); - return results; - } - } - - // QSA path - if ( support.qsa && !rbuggyQSA.test(selector) ) { - old = true; - nid = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, slice.call( newContext.querySelectorAll( - newSelector - ), 0 ) ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsXML = isXML( doc ); - - // Check if getElementsByTagName("*") returns only elements - support.tagNameNoComments = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if attributes should be retrieved by attribute nodes - support.attributes = assert(function( div ) { - div.innerHTML = ""; - var type = typeof div.lastChild.getAttribute("multiple"); - // IE8 returns a string for some attributes even when not present - return type !== "boolean" && type !== "string"; - }); - - // Check if getElementsByClassName can be trusted - support.getByClassName = assert(function( div ) { - // Opera can't find a second classname (in 9.6) - div.innerHTML = ""; - if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { - return false; - } - - // Safari 3.2 caches class attributes and doesn't catch changes - div.lastChild.className = "e"; - return div.getElementsByClassName("e").length === 2; - }); - - // Check if getElementById returns elements by name - // Check if getElementsByName privileges form controls or returns elements by ID - support.getByName = assert(function( div ) { - // Inject content - div.id = expando + 0; - div.innerHTML = "
"; - docElem.insertBefore( div, docElem.firstChild ); - - // Test - var pass = doc.getElementsByName && - // buggy browsers will return fewer than the correct 2 - doc.getElementsByName( expando ).length === 2 + - // buggy browsers will return more than the correct 0 - doc.getElementsByName( expando + 0 ).length; - support.getIdNotName = !doc.getElementById( expando ); - - // Cleanup - docElem.removeChild( div ); - - return pass; - }); - - // IE6/7 return modified attributes - Expr.attrHandle = assert(function( div ) { - div.innerHTML = ""; - return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && - div.firstChild.getAttribute("href") === "#"; - }) ? - {} : - { - "href": function( elem ) { - return elem.getAttribute( "href", 2 ); - }, - "type": function( elem ) { - return elem.getAttribute("type"); - } - }; - - // ID find and filter - if ( support.getIdNotName ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - - return m ? - m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? - [m] : - undefined : - []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.tagNameNoComments ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - for ( ; (elem = results[i]); i++ ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Name - Expr.find["NAME"] = support.getByName && function( tag, context ) { - if ( typeof context.getElementsByName !== strundefined ) { - return context.getElementsByName( name ); - } - }; - - // Class - Expr.find["CLASS"] = support.getByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && !documentIsXML ) { - return context.getElementsByClassName( className ); - } - }; - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21), - // no need to also add to buggyMatches since matches checks buggyQSA - // A support test would require too much code (would include document ready) - rbuggyQSA = [ ":focus" ]; - - if ( (support.qsa = isNative(doc.querySelectorAll)) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explictly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = ""; - - // IE8 - Some boolean attributes are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Opera 10-12/IE8 - ^= $= *= and empty values - // Should not select anything - div.innerHTML = ""; - if ( div.querySelectorAll("[i^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector || - docElem.mozMatchesSelector || - docElem.webkitMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = isNative(docElem.contains) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - var compare; - - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b )) ) { - if ( compare & 1 || a.parentNode && a.parentNode.nodeType === 11 ) { - if ( a === doc || contains( preferredDoc, a ) ) { - return -1; - } - if ( b === doc || contains( preferredDoc, b ) ) { - return 1; - } - return 0; - } - return compare & 4 ? -1 : 1; - } - - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // The nodes are identical, we can exit early - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Fallback to using sourceIndex (in IE) if it's available on both nodes - } else if ( a.sourceIndex && b.sourceIndex ) { - return ( ~b.sourceIndex || MAX_NEGATIVE ) - ( contains( preferredDoc, a ) && ~a.sourceIndex || MAX_NEGATIVE ); - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - // Always assume the presence of duplicates if sort doesn't - // pass them to our comparison function (as in Google Chrome). - hasDuplicate = false; - [0, 0].sort( sortOrder ); - support.detectDuplicates = hasDuplicate; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - // rbuggyQSA always contains :focus, so no need for an existence check - if ( support.matchesSelector && !documentIsXML && (!rbuggyMatches || !rbuggyMatches.test(expr)) && !rbuggyQSA.test(expr) ) { - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - var val; - - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - if ( !documentIsXML ) { - name = name.toLowerCase(); - } - if ( (val = Expr.attrHandle[ name ]) ) { - return val( elem ); - } - if ( documentIsXML || support.attributes ) { - return elem.getAttribute( name ); - } - return ( (val = elem.getAttributeNode( name )) || elem.getAttribute( name ) ) && elem[ name ] === true ? - name : - val && val.specified ? val.value : null; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -// Document sorting and removing duplicates -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - i = 1, - j = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( ; (elem = results[i]); i++ ) { - if ( elem === results[ i - 1 ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -function siblingCheck( a, b ) { - var cur = a && b && a.nextSibling; - - for ( ; cur; cur = cur.nextSibling ) { - if ( cur === b ) { - return -1; - } - } - - return a ? 1 : -1; -} - -// Returns a function to use in pseudos for input types -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -// Returns a function to use in pseudos for buttons -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -// Returns a function to use in pseudos for positionals -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[4] ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeName ) { - if ( nodeName === "*" ) { - return function() { return true; }; - } - - nodeName = nodeName.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.substr( result.length - check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.substr( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifider - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsXML ? - elem.getAttribute("xml:lang") || elem.getAttribute("lang") : - elem.lang) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push( { - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && combinator.dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( tokens.slice( 0, i - 1 ) ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Nested matchers should use non-integer dirruns - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.E); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - for ( j = 0; (matcher = elementMatchers[j]); j++ ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - // `i` starts as a string, so matchedCount would equal "00" if there are no elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - for ( j = 0; (matcher = setMatchers[j]); j++ ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && !documentIsXML && - Expr.relative[ tokens[1].type ] ) { - - context = Expr.find["ID"]( token.matches[0].replace( runescape, funescape ), context )[0]; - if ( !context ) { - return results; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - for ( i = matchExpr["needsContext"].test( selector ) ? -1 : tokens.length - 1; i >= 0; i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, slice.call( seed, 0 ) ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - documentIsXML, - results, - rsibling.test( selector ) - ); - return results; -} - -// Deprecated -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Easy API for creating new setFilters -function setFilters() {} -Expr.filters = setFilters.prototype = Expr.pseudos; -Expr.setFilters = new setFilters(); - -// Initialize with the default document -setDocument(); - -// Override sizzle attribute retrieval -Sizzle.attr = jQuery.attr; -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -var runtil = /Until$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - isSimple = /^.[^:#\[\.,]*$/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, ret, self; - - if ( typeof selector !== "string" ) { - self = this; - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < self.length; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - ret = []; - for ( i = 0; i < this.length; i++ ) { - jQuery.find( selector, this[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( jQuery.unique( ret ) ); - ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true) ); - }, - - is: function( selector ) { - return !!selector && ( - typeof selector === "string" ? - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - rneedsContext.test( selector ) ? - jQuery( selector, this.context ).index( this[0] ) >= 0 : - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - cur = this[i]; - - while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - } - cur = cur.parentNode; - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -jQuery.fn.andSelf = jQuery.fn.addBack; - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( this.length > 1 && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem ) { - return ( elem === qualifier ) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "" ], - legend: [ 1, "
", "
" ], - area: [ 1, "", "" ], - param: [ 1, "", "" ], - thead: [ 1, "", "
" ], - tr: [ 2, "", "
" ], - col: [ 2, "", "
" ], - td: [ 3, "", "
" ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
", "
" ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - }, - - append: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.insertBefore( elem, this.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - if ( !selector || jQuery.filter( selector, [ elem ] ).length > 0 ) { - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function( value ) { - var isFunc = jQuery.isFunction( value ); - - // Make sure that the elements are removed from the DOM before they are inserted - // this can help fix replacing a parent with child elements - if ( !isFunc && typeof value !== "string" ) { - value = jQuery( value ).not( this ).detach(); - } - - return this.domManip( [ value ], true, function( elem ) { - var next = this.nextSibling, - parent = this.parentNode; - - if ( parent && this.nodeType === 1 || this.nodeType === 11 ) { - - jQuery( this ).remove(); - - if ( next ) { - next.parentNode.insertBefore( elem, next ); - } else { - parent.appendChild( elem ); - } - } - }); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, table, callback ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, table ? self.html() : undefined ); - } - self.domManip( args, table, callback ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - table = table && jQuery.nodeName( first, "tr" ); - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( - table && jQuery.nodeName( this[i], "table" ) ? - findOrAppend( this[i], "tbody" ) : - this[i], - node, - i - ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery.ajax({ - url: node.src, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -function findOrAppend( elem, tag ) { - return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - var attr = elem.getAttributeNode("type"); - elem.type = ( attr && attr.specified ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, data, e; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== "undefined" ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== "undefined" ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, srcElements, node, i, clone, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var contains, elem, tag, tmp, wrap, tbody, j, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted from table fragments - if ( !jQuery.support.tbody ) { - - // String was a , *may* have spurious - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare or - wrap[1] === "
" && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var data, id, elem, type, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== "undefined" ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - } -}); -var curCSS, getStyles, iframe, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var elem, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - values[ index ] = jQuery._data( elem, "olddisplay" ); - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && elem.style.display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else if ( !values[ index ] && !isHidden( elem ) ) { - jQuery._data( elem, "olddisplay", jQuery.css( elem, "display" ) ); - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var styles, len, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - var bool = typeof state === "boolean"; - - return this.each(function() { - if ( bool ? state : isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Exclude the following css properties to add px - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var val, num, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery(" diff --git a/addons/l10n_be/__openerp__.py b/addons/l10n_be/__openerp__.py index a956ea7ebe0..cd822045e64 100644 --- a/addons/l10n_be/__openerp__.py +++ b/addons/l10n_be/__openerp__.py @@ -58,6 +58,7 @@ Wizards provided by this module: 'base_iban', 'account_chart', 'l10n_be_coda', + 'l10n_multilang', ], 'data': [ 'account_financial_report.xml', @@ -68,11 +69,11 @@ Wizards provided by this module: 'wizard/l10n_be_account_vat_declaration_view.xml', 'wizard/l10n_be_vat_intra_view.xml', 'wizard/l10n_be_partner_vat_listing.xml', + 'wizard/account_wizard.xml', 'l10n_be_sequence.xml', 'fiscal_templates.xml', 'account_fiscal_position_tax_template.xml', 'security/ir.model.access.csv', - 'l10n_be_wizard.yml' ], 'demo': [], 'installable': True, diff --git a/addons/l10n_be/account_chart_template.xml b/addons/l10n_be/account_chart_template.xml index 5c803ac3df3..55726fdc335 100644 --- a/addons/l10n_be/account_chart_template.xml +++ b/addons/l10n_be/account_chart_template.xml @@ -12,6 +12,7 @@ + diff --git a/addons/l10n_be/i18n_extra/nl_BE.po b/addons/l10n_be/i18n_extra/nl_BE.po new file mode 100644 index 00000000000..7b60578713d --- /dev/null +++ b/addons/l10n_be/i18n_extra/nl_BE.po @@ -0,0 +1,5104 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * l10n_be +# Geert , 2013. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-02-14 13:31+0000\n" +"PO-Revision-Date: 2013-03-14 16:41+0100\n" +"Last-Translator: Geert Janssens \n" +"Language-Team: \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.5.4\n" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1 +msgid "CLASSE 1" +msgstr "" +"KLASSE 1 - EIGEN VERMOGEN, VOORZIENINGEN VOOR RISICO'S EN KOSTEN EN SCHULDEN " +"OP MEER DAN ÉÉN JAAR" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a10 +msgid "CAPITAL" +msgstr "KAPITAAL" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a100 +msgid "Capital souscrit ou capital personnel" +msgstr "Geplaatst of persoonlijk kapitaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1000 +msgid "Capital non amorti" +msgstr "Niet-afgeschreven kapitaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1001 +msgid "Capital amorti" +msgstr "Afgeschreven kapitaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a101 +msgid "Capital non appelé" +msgstr "Niet-opgevraagd kapitaal (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a109 +msgid "Compte de l'exploitant" +msgstr "Rekening van de uitbater" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1090 +msgid "Opérations courantes" +msgstr "Lopende rekeningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1091 +msgid "Impôts personnels" +msgstr "Persoonlijke belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1092 +msgid "Rémunérations et autres avantages" +msgstr "Vergoedingen en andere voordelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a11 +msgid "PRIMES D'EMISSION" +msgstr "Uitgiftepremies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a12 +msgid "PLUS-VALUES DE REEVALUATION" +msgstr "Vergoedingen en andere voordelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a120 +msgid "Plus-values de réévaluation sur immobilisations incorporelles" +msgstr "Herwaarderingsmeerwaarden op immateriële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1200 +#: model:account.account.template,name:l10n_be.a1210 +#: model:account.account.template,name:l10n_be.a1220 +msgid "Plus-values de réévaluation" +msgstr "Vergoedingen en andere voordelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1201 +#: model:account.account.template,name:l10n_be.a1211 +#: model:account.account.template,name:l10n_be.a1221 +msgid "Reprises de réductions de valeur" +msgstr "Terugneming van waardeverminderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a121 +msgid "Plus-values de réévaluation sur immobilisations corporelles" +msgstr "Herwaarderingsmeerwaarden op materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a122 +msgid "Plus-values de réévaluation sur immobilisations financières" +msgstr "Herwaarderingsmeerwaarden op financiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a123 +msgid "Plus-values de réévaluation sur stocks" +msgstr "Herwaarderingsmeerwaarden op voorraden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a124 +msgid "Reprises de réductions de valeur sur placements de trésorerie" +msgstr "Terugneming van waardeverminderingen op geldbeleggingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a13 +msgid "RESERVES" +msgstr "Reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a130 +msgid "Réserve légale" +msgstr "Wettelijke reserve" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a131 +msgid "Réserves indisponibles" +msgstr "Onbeschikbare reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1310 +msgid "Réserve pour actions propres" +msgstr "Reserve voor eigen aandelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1311 +msgid "Autres réserves indisponibles" +msgstr "Andere onbeschikbare reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a132 +msgid "Réserves immunisées" +msgstr "Belastingvrije reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a133 +msgid "Réserves disponibles" +msgstr "Beschikbare reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1330 +msgid "Réserve pour régularisation de dividendes" +msgstr "Reserve voor regularisering van dividenden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1331 +msgid "Réserve pour renouvellement des immobilisations" +msgstr "Reserve voor de vernieuwing van vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1332 +msgid "Réserve pour installations en faveur du personnel 1333 Réserves libres" +msgstr "" +"Reserve voor installaties ten behoeve van het personeel 1333 Vrije reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a14 +msgid "BENEFICE (PERTE) REPORTE(E)" +msgstr "Overgedragen winst (of Overgedragen verlies (-) )" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a140 +msgid "Bénéfice reporté" +msgstr "Overgedragen winst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a141 +msgid "Perte reportée" +msgstr "Overgedragen verlies (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a15 +msgid "SUBSIDES EN CAPITAL" +msgstr "Kapitaalsubsidies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a150 +msgid "Montants obtenus" +msgstr "Ontvangen bedragen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a151 +msgid "Montants transférés aux résultats" +msgstr "Bedragen komende van het resultaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a16 +msgid "PROVISIONS POUR RISQUES ET CHARGES" +msgstr "Voorzieningen en uitgestelde belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a160 +#: model:account.account.template,name:l10n_be.a635 +msgid "Provisions pour pensions et obligations similaires" +msgstr "Voorzieningen voor pensioenen en soortgelijke verplichtingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a161 +msgid "Provisions pour charges fiscales" +msgstr "Voorzieningen voor belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a162 +#: model:account.account.template,name:l10n_be.a636 +msgid "Provisions pour grosses réparations et gros entretiens" +msgstr "Voorzieningen voor grote herstellingswerken en grote onderhoudswerken" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a163 +#: model:account.account.template,name:l10n_be.a169 +#: model:account.account.template,name:l10n_be.a637 +msgid "Provisions pour autres risques et charges" +msgstr "Voorzieningen voor overige risico's en kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a164 +msgid "" +"Provisions pour sûretés personnelles ou réelles constituées à l'appui de " +"dettes et d'engagements de tiers" +msgstr "" +"Voorzieningen voor persoonlijke of zakelijke zekerheden om de schuld " +"en verplichtingen van derden te ondersteunen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a165 +msgid "" +"Provisions pour engagements relatifs à l'acquisition ou à la cession " +"d'immobilisations" +msgstr "" +"Voorzieningen voor engagementen met betrekking tot de aankoop of verkoop van " +"vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a166 +msgid "Provisions pour exécution de commandes passées ou reçues" +msgstr "Voorzieningen voor uitvoering van geplaatste of ontvangen bestellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a167 +msgid "" +"Provisions pour positions et marchés à terme en devises ou positions et " +"marchés à terme en marchandises" +msgstr "Voorzieningen voor posities en futures in valuta of handelsgoederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a168 +msgid "" +"Provisions pour garanties techniques attachées aux ventes et prestations " +"déjà effectuées par l'entreprise" +msgstr "" +"Voorzieningen voor technische garanties gekoppeld aan verkopen en reeds " +"geleverde prestaties door de firma" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1690 +msgid "Pour litiges en cours" +msgstr "Voor hangende geschillen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1691 +msgid "Pour amendes, doubles droits, pénalités" +msgstr "Voor boetes en dubbele rechten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1692 +msgid "Pour propre assureur" +msgstr "Voor eigen verzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1693 +msgid "Pour risques inhérents aux opérations de crédits à moyen ou long terme" +msgstr "" +"Voor risico's die inherent zijn aan krediettransacties op de middellange of " +"lange termijn" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1695 +msgid "Provision pour charge de liquidation" +msgstr "Voorziening voor kosten van vereffening" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1696 +msgid "Provision pour départ de personnel" +msgstr "Voorziening voor ontslag personeel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1699 +msgid "Pour risques divers " +msgstr "Voor diverse risico's" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a17 +msgid "DETTES A PLUS D'UN AN" +msgstr "Schulden op meer dan één jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a170 +#: model:account.account.template,name:l10n_be.a420 +msgid "Emprunts subordonnés" +msgstr "Achtergestelde leningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1700 +#: model:account.account.template,name:l10n_be.a1710 +#: model:account.account.template,name:l10n_be.a4200 +#: model:account.account.template,name:l10n_be.a4210 +msgid "Convertibles" +msgstr "Converteerbaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1701 +#: model:account.account.template,name:l10n_be.a1711 +#: model:account.account.template,name:l10n_be.a4201 +#: model:account.account.template,name:l10n_be.a4211 +msgid "Non convertibles" +msgstr "Niet converteerbaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a171 +#: model:account.account.template,name:l10n_be.a421 +msgid "Emprunts obligataires non subordonnés" +msgstr "Niet-achtergestelde obligatieleningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a172 +msgid "Dettes de location-financement et assimilés" +msgstr "Leasingschulden en soortgelijke" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1720 +msgid "Dettes de location-financement de biens immobiliers" +msgstr "Leasingschulden van onroerende goederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1721 +msgid "Dettes de location-financement de biens mobiliers" +msgstr "Leasingschulden van roerende goederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1722 +msgid "Dettes sur droits réels sur immeubles" +msgstr "Schulden op zakelijke rechten op gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a173 +#: model:account.account.template,name:l10n_be.a423 +msgid "Etablissements de crédit" +msgstr "Kredietinstellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1730 +#: model:account.account.template,name:l10n_be.a4230 +msgid "Dettes en compte" +msgstr "Schulden op rekeningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a17300 +#: model:account.account.template,name:l10n_be.a17310 +#: model:account.account.template,name:l10n_be.a17320 +msgid "Banque A" +msgstr "Bank A" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a17301 +#: model:account.account.template,name:l10n_be.a17311 +#: model:account.account.template,name:l10n_be.a17321 +msgid "Banque B" +msgstr "Bank B" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1731 +#: model:account.account.template,name:l10n_be.a4231 +msgid "Promesses" +msgstr "Promessen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1732 +#: model:account.account.template,name:l10n_be.a4232 +msgid "Crédits d'acceptation" +msgstr "Acceptkredieten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a174 +#: model:account.account.template,name:l10n_be.a424 +#: model:account.account.template,name:l10n_be.a439 +msgid "Autres emprunts" +msgstr "Overige leningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a175 +#: model:account.account.template,name:l10n_be.a425 +msgid "Dettes commerciales" +msgstr "Handelsschulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1750 +msgid "Fournisseurs : dettes en compte" +msgstr "Leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a17500 +#: model:account.account.template,name:l10n_be.a17510 +#: model:account.account.template,name:l10n_be.a4400 +#: model:account.account.template,name:l10n_be.a4410 +msgid "Entreprises apparentées" +msgstr "Aanverwante bedrijven" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a175000 +#: model:account.account.template,name:l10n_be.a175100 +#: model:account.account.template,name:l10n_be.a1790 +#: model:account.account.template,name:l10n_be.a4020 +#: model:account.account.template,name:l10n_be.a4030 +#: model:account.account.template,name:l10n_be.a4290 +#: model:account.account.template,name:l10n_be.a44100 +#: model:account.account.template,name:l10n_be.a_pay +msgid "Entreprises liées" +msgstr "Aanverwante bedrijven" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a175001 +#: model:account.account.template,name:l10n_be.a175101 +#: model:account.account.template,name:l10n_be.a4291 +#: model:account.account.template,name:l10n_be.a44001 +#: model:account.account.template,name:l10n_be.a44101 +msgid "Entreprises avec lesquelles il existe un lien de participation" +msgstr "Bedrijven waarin een participatie is" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a17501 +#: model:account.account.template,name:l10n_be.a17511 +#: model:account.account.template,name:l10n_be.a4401 +#: model:account.account.template,name:l10n_be.a4411 +msgid "Fournisseurs ordinaires" +msgstr "Vaste leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a175010 +#: model:account.account.template,name:l10n_be.a175110 +#: model:account.account.template,name:l10n_be.a44010 +#: model:account.account.template,name:l10n_be.a44110 +msgid "Fournisseurs belges" +msgstr "Belgische leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a175011 +#: model:account.account.template,name:l10n_be.a175111 +msgid "Fournisseurs C.E.E." +msgstr "EEG leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a175012 +#: model:account.account.template,name:l10n_be.a175112 +#: model:account.account.template,name:l10n_be.a44012 +#: model:account.account.template,name:l10n_be.a44112 +msgid "Fournisseurs importation" +msgstr "Import leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1751 +#: model:account.account.template,name:l10n_be.a4251 +#: model:account.account.template,name:l10n_be.a441 +msgid "Effets à payer" +msgstr "Te betalen wissels" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a176 +msgid "Acomptes reçus sur commandes" +msgstr "Ontvangen vooruitbetalingen op bestellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a178 +#: model:account.account.template,name:l10n_be.a426 +#: model:account.account.template,name:l10n_be.a488 +msgid "Cautionnements reçus en numéraires" +msgstr "Borgtochten ontvangen in contanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a179 +#: model:account.account.template,name:l10n_be.a429 +msgid "Dettes diverses" +msgstr "Overige schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1791 +#: model:account.account.template,name:l10n_be.a4021 +#: model:account.account.template,name:l10n_be.a4031 +msgid "Autres entreprises avec lesquelles il existe un lien de participation" +msgstr "Overige bedrijven waarin een participatie is" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1792 +#: model:account.account.template,name:l10n_be.a4292 +msgid "Administrateurs, gérants, associés" +msgstr "Bestuurders, zaakvoerders, partners" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1794 +msgid "Rentes viagères capitalisées" +msgstr "Geactiveerde lijfrenten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1798 +msgid "" +"Dettes envers les coparticipants des associations momentanées et en " +"participation" +msgstr "Schulden aan deelnemers van tijdelijke verenigingen en participaties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a1799 +#: model:account.account.template,name:l10n_be.a489 +msgid "Autres dettes diverses" +msgstr "Overige diverse schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a18 +msgid "COMPTES DE LIAISON DES ETABLISSEMENTS ET SUCCURSALES" +msgstr "VESTIGINGEN EN FILIALEN" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2 +msgid "" +"CLASSE 2. FRAIS D'ETABLISSEMENT. ACTIFS IMMOBILISES ET CREANCES A PLUS D'UN " +"AN" +msgstr "" +"KLASSE 2. OPRICHTINGSKOSTEN, VASTE ACTIVA EN VORDERINGEN OP MEER DAN ÉÉN JAAR" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a20 +msgid "FRAIS D'ETABLISSEMENT" +msgstr "Oprichtingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a200 +#: model:account.account.template,name:l10n_be.a2000 +msgid "Frais de constitution et d'augmentation de capital" +msgstr "Oprichtingskosten en kapitaalverhoging" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2009 +msgid "Amortissements sur frais de constitution et d'augmentation de capital" +msgstr "Afschrijvingen op oprichtingskosten en kapitaalverhoging" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a201 +msgid "Frais d'émission d'emprunts et primes de remboursement" +msgstr "Kosten bij uitgifte van leningen en terugbetalingspremies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2010 +msgid "Agios sur emprunts et frais d'émission d'emprunts" +msgstr "Premies op leningen en kosten op uitgifte van leningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2019 +msgid "Amortissements sur agios sur emprunts et frais d'émission d'emprunts" +msgstr "" +"Afschrijving van premies op leningen en kosten op uitgifte van leningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a202 +#: model:account.account.template,name:l10n_be.a2020 +msgid "Autres frais d'établissement" +msgstr "Overige oprichtingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2029 +msgid "Amortissements sur autres frais d'établissement" +msgstr "Afschrijvingen op overige oprichtingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a203 +#: model:account.account.template,name:l10n_be.a2030 +msgid "Intérêts intercalaires" +msgstr "Bouwrente" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2039 +msgid "Amortissements sur intérêts intercalaires" +msgstr "Afschrijving van bouwrente" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a204 +msgid "Frais de restructuration" +msgstr "Herstructureringskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2040 +msgid "Coût des frais de restructuration" +msgstr "Kosten op herstructureringskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2049 +msgid "Amortissements sur frais de restructuration" +msgstr "Afschrijving op herstructureringskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a21 +msgid "IMMOBILISATIONS INCORPORELLES" +msgstr "Immateriële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a210 +msgid "Frais de recherche et de développement" +msgstr "Kosten van onderzoek en ontwikkeling" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2100 +msgid "Frais de recherche et de mise au point" +msgstr "Kosten van onderzoek en ontwikkeling" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2108 +msgid "Plus-values actées sur frais de recherche et de mise au point" +msgstr "Gerealiseerde meerwaarden op onderzoek en ontwikkeling" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2109 +msgid "Amortissements sur frais de recherche et de mise au point" +msgstr "Afschrijving van kosten van onderzoek en ontwikkeling" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a211 +msgid "" +"Concessions, brevets, licences, savoir-faire, marques et droits similaires" +msgstr "" +"Concessies, octrooien, licenties, know-how, merken en soortgelijke rechten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2110 +msgid "Concessions, brevets, licences, savoir-faire, marques, etc..." +msgstr "Consessies, octrooien, licenties, ..." + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2118 +msgid "Plus-values actées sur concessions, brevets, etc..." +msgstr "Gerealiseerde meerwaarden op consessies, octrooien, licenties, ..." + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2119 +msgid "Amortissements sur concessions, brevets, etc..." +msgstr "Afschrijvingen op consessies, octrooien, licenties, ..." + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a212 +msgid "Goodwill" +msgstr "Goodwill" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2120 +msgid "Coût d'acquisition" +msgstr "Overnameprijs" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2128 +#: model:account.account.template,name:l10n_be.a2218 +#: model:account.account.template,name:l10n_be.a2228 +#: model:account.account.template,name:l10n_be.a2238 +#: model:account.account.template,name:l10n_be.a238 +#: model:account.account.template,name:l10n_be.a2408 +#: model:account.account.template,name:l10n_be.a2808 +#: model:account.account.template,name:l10n_be.a2828 +#: model:account.account.template,name:l10n_be.a2848 +msgid "Plus-values actées" +msgstr "Gerealiseerde meerwaarden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2129 +msgid "Amortissements sur goodwill" +msgstr "Afschrijvingen op goodwill" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a213 +#: model:account.account.template,name:l10n_be.a2906 +#: model:account.account.template,name:l10n_be.a360 +#: model:account.account.template,name:l10n_be.a406 +msgid "Acomptes versés" +msgstr "Vooruitbetalingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22 +msgid "TERRAINS ET CONSTRUCTIONS" +msgstr "Terreinen en gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a220 +#: model:account.account.template,name:l10n_be.a2200 +#: model:account.account.template,name:l10n_be.a2500 +msgid "Terrains" +msgstr "Terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2201 +msgid "Frais d'acquisition sur terrains" +msgstr "Verwervingskosten van terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2208 +msgid "Plus-values actées sur terrains" +msgstr "Gerealiseerde meerwaarden op terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2209 +msgid "Amortissements et réductions de valeur" +msgstr "Afschrijvingen & waardeverminderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22090 +msgid "Amortissements sur frais d'acquisition" +msgstr "Afschrijvingen op verwervingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22091 +msgid "Réductions de valeur sur terrains" +msgstr "Waardevermindering van terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a221 +#: model:account.account.template,name:l10n_be.a2501 +#: model:account.account.template,name:l10n_be.a2700 +msgid "Constructions" +msgstr "Gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2210 +#: model:account.account.template,name:l10n_be.a22200 +msgid "Bâtiments industriels" +msgstr "Industriële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2211 +#: model:account.account.template,name:l10n_be.a22201 +msgid "Bâtiments administratifs et commerciaux" +msgstr "Administratieve en commerciële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2212 +#: model:account.account.template,name:l10n_be.a22202 +msgid "Autres bâtiments d'exploitation" +msgstr "Andere uitbatingsgebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2213 +#: model:account.account.template,name:l10n_be.a22203 +msgid "Voies de transport et ouvrages d'art" +msgstr "Transportwegen en kunstwerken" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2215 +msgid "Constructions sur sol d'autrui" +msgstr "Gebouwen in buitenland" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2216 +msgid "Frais d'acquisition sur constructions" +msgstr "Verwervingskosten van gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22180 +#: model:account.account.template,name:l10n_be.a22190 +#: model:account.account.template,name:l10n_be.a22280 +#: model:account.account.template,name:l10n_be.a22290 +msgid "Sur bâtiments industriels" +msgstr "Op industriële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22181 +#: model:account.account.template,name:l10n_be.a22191 +#: model:account.account.template,name:l10n_be.a22281 +#: model:account.account.template,name:l10n_be.a22291 +msgid "Sur bâtiments administratifs et commerciaux" +msgstr "Op administratieve en commerciële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22182 +#: model:account.account.template,name:l10n_be.a22192 +#: model:account.account.template,name:l10n_be.a22282 +#: model:account.account.template,name:l10n_be.a22292 +msgid "Sur autres bâtiments d'exploitation" +msgstr "Op andere uitbatingsgebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22184 +#: model:account.account.template,name:l10n_be.a22194 +#: model:account.account.template,name:l10n_be.a22283 +#: model:account.account.template,name:l10n_be.a22293 +msgid "Sur voies de transport et ouvrages d'art" +msgstr "Op transportwegen en kunstwerken" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2219 +msgid "Amortissements sur constructions" +msgstr "Afschrijvingen op gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22195 +msgid "Sur constructions sur sol d'autrui" +msgstr "Op gebouwen in het buitenland" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22196 +msgid "Sur frais d'acquisition sur constructions" +msgstr "Op verwervingskosten van gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a222 +msgid "Terrains bâtis" +msgstr "Bebouwde terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2220 +#: model:account.account.template,name:l10n_be.a2230 +#: model:account.account.template,name:l10n_be.a2800 +#: model:account.account.template,name:l10n_be.a2820 +#: model:account.account.template,name:l10n_be.a2840 +#: model:account.account.template,name:l10n_be.a300 +#: model:account.account.template,name:l10n_be.a310 +#: model:account.account.template,name:l10n_be.a320 +#: model:account.account.template,name:l10n_be.a330 +#: model:account.account.template,name:l10n_be.a340 +#: model:account.account.template,name:l10n_be.a350 +#: model:account.account.template,name:l10n_be.a370 +#: model:account.account.template,name:l10n_be.a510 +#: model:account.account.template,name:l10n_be.a520 +msgid "Valeur d'acquisition" +msgstr "Aanschaffingswaarde" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22204 +msgid "Frais d'acquisition des terrains à bâtir" +msgstr "Verwervingskosten van bouwgronden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2229 +msgid "Amortissements sur terrains bâtis" +msgstr "Afschrijvingen op bebouwde terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a22294 +msgid "Sur frais d'acquisition des terrains bâtis" +msgstr "Op verwervingskosten van bebouwde terreinen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a223 +msgid "Autres droits réels sur des immeubles" +msgstr "Overige zakelijke rechten op onroerende goederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2239 +#: model:account.account.template,name:l10n_be.a239 +#: model:account.account.template,name:l10n_be.a2409 +msgid "Amortissements" +msgstr "Afschijvingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a23 +msgid "INSTALLATIONS, MACHINES ET OUTILLAGE" +msgstr "Installaties, machines en uitrusting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a230 +#: model:account.account.template,name:l10n_be.a2510 +msgid "Installations" +msgstr "Installaties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2300 +msgid "Installation d'eau" +msgstr "Waterinstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2301 +msgid "Installation d'électricité" +msgstr "Electriciteitsinstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2302 +msgid "Installation de vapeur" +msgstr "Stoominstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2303 +msgid "Installation de gaz" +msgstr "Gasinstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2304 +msgid "Installation de chauffage" +msgstr "Verwarmingsinstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2305 +msgid "Installation de conditionnement d'air" +msgstr "Luchtverversingsinstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2306 +msgid "Installation de chargement" +msgstr "Oplaadinstallatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a231 +#: model:account.account.template,name:l10n_be.a2511 +msgid "Machines" +msgstr "Machines" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2310 +#: model:account.account.template,name:l10n_be.a2370 +msgid "Division A" +msgstr "Divisie A" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2311 +#: model:account.account.template,name:l10n_be.a2371 +msgid "Division B" +msgstr "Divisie B" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a237 +#: model:account.account.template,name:l10n_be.a2512 +msgid "Outillage" +msgstr "Uitrusting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2380 +#: model:account.account.template,name:l10n_be.a2390 +msgid "Sur installations" +msgstr "Op installaties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2381 +#: model:account.account.template,name:l10n_be.a2391 +msgid "Sur machines" +msgstr "Op machines" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2382 +#: model:account.account.template,name:l10n_be.a2392 +msgid "Sur outillage" +msgstr "Op uitrusting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24 +msgid "MOBILIER ET MATERIEL ROULANT" +msgstr "Meubilair en rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a240 +#: model:account.account.template,name:l10n_be.a2400 +#: model:account.account.template,name:l10n_be.a2520 +msgid "Mobilier" +msgstr "Meubilair" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24000 +msgid "Mobilier des bâtiments industriels" +msgstr "Van industriële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24001 +msgid "Mobilier des bâtiments administratifs et commerciaux" +msgstr "Van administratieve en commerciële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24002 +msgid "Mobilier des autres bâtiments d'exploitation" +msgstr "Van andere uitbatingsgebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24003 +msgid "Mobilier oeuvres sociales" +msgstr "Van sociale werkplaatsen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2401 +msgid "Matériel de bureau et de service social" +msgstr "Kantoormateriaal en materiaal van sociale dienst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24010 +msgid "Des bâtiments industriels" +msgstr "Van industriële gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24011 +msgid "Des bâtiments administratifs et commerciaux" +msgstr "" +"Van administratieve en commerciële gebouwenDes bâtiments administratifs et " +"commerciaux" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24012 +msgid "Des autres bâtiments d'exploitation" +msgstr "Van andere uitbatingsgebouwenDes autres bâtiments d'exploitation" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24013 +msgid "Des oeuvres sociales" +msgstr "Van sociale werkplaatsenDes oeuvres sociales" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24080 +msgid "Plus-values actées sur mobilier" +msgstr "Gerealiseerde meerwaarden op meubilair" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24081 +msgid "Plus-values actées sur matériel de bureau et service social" +msgstr "" +"Gerealiseerde meerwaarden op kantoormateriaal en materiaal van sociale dienst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24090 +msgid "Amortissements sur mobilier" +msgstr "Afschrijvingen op meubilair" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24091 +msgid "Amortissements sur matériel de bureau et service social" +msgstr "Afschrijvingen op kantoormateriaal en materiaal van sociale dienst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a241 +#: model:account.account.template,name:l10n_be.a2521 +msgid "Matériel roulant" +msgstr "Rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2410 +msgid "Matériel automobile" +msgstr "Wagens" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24100 +msgid "Voitures" +msgstr "Wagens" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24105 +msgid "Camions" +msgstr "Vrachtwagens" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2411 +msgid "Matériel ferroviaire" +msgstr "Spoorwegmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2412 +msgid "Matériel fluvial" +msgstr "Binnenscheepvaartmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2413 +msgid "Matériel naval" +msgstr "Scheepvaartmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2414 +msgid "Matériel aérien" +msgstr "Luchtvaartmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2418 +msgid "Plus-values sur matériel roulant" +msgstr "Gerealiseerde meerwaarden op rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24180 +msgid "Plus-values sur matériel automobile" +msgstr "Gerealiseerde meerwaarden op wagenuitrusting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24181 +#: model:account.account.template,name:l10n_be.a24191 +msgid "Idem sur matériel ferroviaire" +msgstr "Idem op spoorwegmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24182 +#: model:account.account.template,name:l10n_be.a24192 +msgid "Idem sur matériel fluvial" +msgstr "Idem op binnenscheepvaartmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24183 +#: model:account.account.template,name:l10n_be.a24193 +msgid "Idem sur matériel naval" +msgstr "Idem op scheepvaartmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24184 +#: model:account.account.template,name:l10n_be.a24194 +msgid "Idem sur matériel aérien" +msgstr "Idem op luchtvaartmaterieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2419 +msgid "Amortissements sur matériel roulant" +msgstr "Afschrijvingen op rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a24190 +msgid "Amortissements sur matériel automobile" +msgstr "Afschrijvingen op wagenuitrusting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a25 +msgid "IMMOBILISATION DETENUES EN LOCATION-FINANCEMENT ET DROITS SIMILAIRES" +msgstr "Vaste activa in leasing of op grond van een soortgelijk recht" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a250 +msgid "Terrains et constructions" +msgstr "Terreinen en gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2508 +msgid "" +"Plus-values sur emphytéose, leasing et droits similaires : terrains et " +"constructions" +msgstr "" +"Winsten op erfpacht, leasing en soortgelijke rechten: terreinen en gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2509 +msgid "" +"Amortissements et réductions de valeur sur terrains et constructions en " +"leasing" +msgstr "" +"Afschrijvingen en waardeverminderingen op terreinen en gehuurde gebouwen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a251 +#: model:account.account.template,name:l10n_be.a2701 +msgid "Installations, machines et outillage" +msgstr "Installaties, machines en uitrusting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2518 +msgid "" +"Plus-values actées sur installations, machines et outillage pris en leasing" +msgstr "" +"Gerealiseerde meerwaarden op geleasde installaties, machines en gereeddschap" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2519 +msgid "Amortissements sur installations, machines et outillage pris en leasing" +msgstr "Afschrijvingen op geleasde installaties, machines en gereeddschap" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a252 +#: model:account.account.template,name:l10n_be.a2702 +msgid "Mobilier et matériel roulant" +msgstr "Meubilair en rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2528 +msgid "Plus-values actées sur mobilier et matériel roulant en leasing" +msgstr "Gerealiseerde meerwaarden op geleasd rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2529 +msgid "Amortissements sur mobilier et matériel roulant en leasing" +msgstr "Afschrijvingen op geleasd rollend materieel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a26 +msgid "AUTRES IMMOBILISATIONS CORPORELLES" +msgstr "Andere materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a260 +msgid "Frais d'aménagements de locaux pris en location" +msgstr "Inrichtingskosten gehuurde lokalen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a261 +msgid "Maison d'habitation" +msgstr "Woonhuis" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a262 +msgid "Réserve immobilière" +msgstr "Vastgoed reserve" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a263 +msgid "Matériel d'emballage" +msgstr "Verpakkingsmateriaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a264 +#: model:account.account.template,name:l10n_be.a31061 +msgid "Emballages récupérables" +msgstr "Herbruikbare verpakkingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a268 +msgid "Plus-values actées sur autres immobilisations corporelles" +msgstr "Gerealiseerde meerwaarden op overige vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a269 +msgid "Amortissements sur autres immobilisations corporelles" +msgstr "Afschrijvingen overige vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2690 +msgid "Amortissements sur frais d'aménagement des locaux pris en location" +msgstr "Op inrichtingskosten gehuurde lokalen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2691 +msgid "Amortissements sur maison d'habitation" +msgstr "Op woonhuis" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2692 +msgid "Amortissements sur réserve immobilière" +msgstr "Op vastgoed reserve" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2693 +msgid "Amortissements sur matériel d'emballage" +msgstr "Op verpakkingsmateriaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2694 +msgid "Amortissements sur emballages récupérables" +msgstr "Op Herbruikbare verpakkingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a27 +msgid "IMMOBILISATIONS CORPORELLES EN COURS ET ACOMPTES VERSES" +msgstr "Vaste activa in aanbouw en vooruitbetalingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a270 +msgid "Immobilisations en cours" +msgstr "Gebouwen in aanbouw" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2703 +msgid "Autres immobilisations corporelles" +msgstr "Overige vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a271 +msgid "Avances et acomptes versés sur immobilisations en cours" +msgstr "Voorschotten en vooruitbetalingen bestemd voor gebouwen in aanbouw" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a28 +msgid "IMMOBILISATIONS FINANCIERES" +msgstr "Financiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a280 +msgid "Participations dans des entreprises liées" +msgstr "Deelnemingen in verbonden ondernemingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2801 +#: model:account.account.template,name:l10n_be.a2821 +#: model:account.account.template,name:l10n_be.a2841 +#: model:account.account.template,name:l10n_be.a511 +msgid "Montants non appelés" +msgstr "Nog te storten bedragen (-) " + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2809 +#: model:account.account.template,name:l10n_be.a2819 +#: model:account.account.template,name:l10n_be.a2829 +#: model:account.account.template,name:l10n_be.a2839 +#: model:account.account.template,name:l10n_be.a359 +msgid "Réductions de valeurs actées" +msgstr "Geboekte waardeverminderingen (-) " + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a281 +msgid "Créances sur des entreprises liées" +msgstr "Vorderingen op verbonden ondernemingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2810 +#: model:account.account.template,name:l10n_be.a2830 +#: model:account.account.template,name:l10n_be.a2850 +#: model:account.account.template,name:l10n_be.a2910 +msgid "Créances en compte" +msgstr "Vorderingen op rekening" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2811 +#: model:account.account.template,name:l10n_be.a2831 +#: model:account.account.template,name:l10n_be.a2851 +#: model:account.account.template,name:l10n_be.a2901 +#: model:account.account.template,name:l10n_be.a2911 +#: model:account.account.template,name:l10n_be.a401 +#: model:account.account.template,name:l10n_be.a4010 +msgid "Effets à recevoir" +msgstr "Te innen wissels" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2812 +msgid "Titres à revenu fixes" +msgstr "Vastrentende effecten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2817 +#: model:account.account.template,name:l10n_be.a2837 +#: model:account.account.template,name:l10n_be.a2857 +#: model:account.account.template,name:l10n_be.a2907 +#: model:account.account.template,name:l10n_be.a2917 +#: model:account.account.template,name:l10n_be.a407 +#: model:account.account.template,name:l10n_be.a417 +msgid "Créances douteuses" +msgstr "Dubieuze debiteuren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a282 +msgid "" +"Participations dans des entreprises avec lesquelles il existe un lien de " +"participation" +msgstr "" +"Deelnemingen in ondernemingen waarmee een deelnemingsverhouding bestaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a283 +msgid "" +"Créances sur des entreprises avec lesquelles il existe un lien de " +"participation" +msgstr "Vorderingen op ondernemingen waarmee een deelnemingsverhouding bestaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2832 +#: model:account.account.template,name:l10n_be.a2852 +msgid "Titres à revenu fixe" +msgstr "Vastrentende effecten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a284 +msgid "Autres actions et parts" +msgstr "Andere aandelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2849 +#: model:account.account.template,name:l10n_be.a2859 +#: model:account.account.template,name:l10n_be.a2909 +#: model:account.account.template,name:l10n_be.a2919 +#: model:account.account.template,name:l10n_be.a309 +#: model:account.account.template,name:l10n_be.a319 +#: model:account.account.template,name:l10n_be.a329 +#: model:account.account.template,name:l10n_be.a339 +#: model:account.account.template,name:l10n_be.a349 +#: model:account.account.template,name:l10n_be.a369 +#: model:account.account.template,name:l10n_be.a379 +#: model:account.account.template,name:l10n_be.a409 +#: model:account.account.template,name:l10n_be.a419 +#: model:account.account.template,name:l10n_be.a519 +#: model:account.account.template,name:l10n_be.a529 +#: model:account.account.template,name:l10n_be.a539 +msgid "Réductions de valeur actées" +msgstr "Geboekte waardeverminderingen (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a285 +#: model:account.account.template,name:l10n_be.a291 +#: model:account.account.template,name:l10n_be.a41671 +msgid "Autres créances" +msgstr "Overige vorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a288 +#: model:account.account.template,name:l10n_be.a418 +msgid "Cautionnements versés en numéraires" +msgstr "Borgtochten betaald in contanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2880 +msgid "Téléphone, télefax, télex" +msgstr "Telefoon, fax, telex" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2881 +#: model:account.account.template,name:l10n_be.a61201 +msgid "Gaz" +msgstr "Gas" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2882 +#: model:account.account.template,name:l10n_be.a61200 +msgid "Eau" +msgstr "Water" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2883 +#: model:account.account.template,name:l10n_be.a61202 +msgid "Electricité" +msgstr "Elektriciteit" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2887 +msgid "Autres cautionnements versés en numéraires" +msgstr "Andere borgtochten betaald in contanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29 +msgid "CREANCES A PLUS D'UN AN" +msgstr "Vorderingen op meer dan één jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a290 +msgid "Créances commerciales" +msgstr "Handelsvorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2900 +#: model:account.account.template,name:l10n_be.a400 +#: model:account.account.template,name:l10n_be.a_recv +msgid "Clients" +msgstr "Klanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29000 +msgid "Créances en compte sur entreprises liées" +msgstr "Vorderingen voor rekening van verbonden ondernemingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29001 +#: model:account.account.template,name:l10n_be.a29011 +#: model:account.account.template,name:l10n_be.a29111 +msgid "Sur entreprises avec lesquelles il existe un lien de participation" +msgstr "Op bedrijven waarin een deelneming bestaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29002 +#: model:account.account.template,name:l10n_be.a29012 +msgid "Sur clients Belgique" +msgstr "Op Belgische klanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29003 +#: model:account.account.template,name:l10n_be.a29013 +msgid "Sur clients C.E.E." +msgstr "Op klanten binnen de EEG" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29004 +#: model:account.account.template,name:l10n_be.a29014 +msgid "Sur clients exportation hors C.E.E." +msgstr "Op exportklanten buiten de EEG" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29005 +msgid "Créances sur les coparticipants" +msgstr "Op co-participanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29010 +#: model:account.account.template,name:l10n_be.a29110 +msgid "Sur entreprises liées" +msgstr "Op verbonden ondernemingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2905 +msgid "Retenues sur garanties" +msgstr "Inhoudingen op garanties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29100 +msgid "Créances entreprises liées" +msgstr "Lening aan verbonden ondernemingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29101 +msgid "Créances entreprises avec lesquelles il existe un lien de participation" +msgstr "Op bedrijven waarin een deelneming bestaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29102 +msgid "Créances autres débiteurs" +msgstr "Lening aan andere debiteuren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a29112 +msgid "Sur autres débiteurs" +msgstr "Op andere debiteuren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a2912 +msgid "Créances résultant de la cession d'immobilisations données en leasing" +msgstr "Vorderingen als gevolg van de verkoop van geleased vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3 +msgid "CLASSE 3. STOCK ET COMMANDES EN COURS D'EXECUTION" +msgstr "KLASSE 3 - VOORRADEN EN BESTELLINGEN IN UITVOERING" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a30 +msgid "APPROVISIONNEMENTS - MATIERES PREMIERES" +msgstr "Grondstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a31 +msgid "APPROVISIONNEMENTS ET FOURNITURES" +msgstr "Hulpstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3100 +msgid "Matières d'approvisionnement" +msgstr "Aan te leveren materiaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3101 +msgid "Energie, charbon, coke, Mazout, essence, propane" +msgstr "Energie, steenkool, cokes, stookolie, benzine, propaan" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3102 +msgid "Produits d'entretien" +msgstr "Onderhoudsproducten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3103 +msgid "Fournitures diverses et petit outillage" +msgstr "Diverse benodigdheden en klein gereedschap" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3104 +#: model:account.account.template,name:l10n_be.a6123 +msgid "Imprimés et fournitures de bureau" +msgstr "Printers en kantoorbenodigdheden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3105 +msgid "Fournitures de services sociaux" +msgstr "Sociale diensten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3106 +msgid "Emballages commerciaux" +msgstr "Commerciele verpakking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a31060 +msgid "Emballages perdus" +msgstr "Verloren verpakking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a32 +msgid "EN COURS DE FABRICATION" +msgstr "Goederen in bewerking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3200 +msgid "Produits semi-ouvrés" +msgstr "Halffabrikaten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3201 +msgid "Produits en cours de fabrication" +msgstr "Goederen in productie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3202 +msgid "Travaux en cours" +msgstr "Werken in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3205 +msgid "Déchets" +msgstr "Afval" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3206 +msgid "Rebuts" +msgstr "Restmateriaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3209 +msgid "Travaux en association momentanée" +msgstr "Werken in joint-venture" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a33 +msgid "PRODUITS FINIS" +msgstr "Gereed product" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3300 +msgid "Produits finis" +msgstr "Gereed product" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a34 +msgid "MARCHANDISES" +msgstr "Handelsgoederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3400 +msgid "Groupe A" +msgstr "Groep A" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3401 +msgid "Groupe B" +msgstr "Groep B" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a35 +msgid "IMMEUBLES DESTINES A LA VENTE" +msgstr "Onroerende goederen bestemd voor verkoop" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3500 +#: model:account.account.template,name:l10n_be.a3510 +msgid "Immeuble A" +msgstr "Onroerend goed A" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a3501 +#: model:account.account.template,name:l10n_be.a3511 +msgid "Immeuble B" +msgstr "Onroerend goed B" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a351 +msgid "Immeubles construits en vue de leur revente" +msgstr "Vastgoed gebouwd om te verkopen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a36 +msgid "ACOMPTES VERSES SUR ACHATS POUR STOCKS" +msgstr "Vooruitbetalingen op voorraadinkopen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a37 +msgid "COMMANDES EN COURS D'EXECUTION" +msgstr "Bestellingen in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a371 +msgid "Bénéfice pris en compte" +msgstr "Toegerekende winst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4 +msgid "CLASSE 4. CREANCES ET DETTES A UN AN AU PLUS" +msgstr "KLASSE 4 - VORDERINGEN EN SCHULDEN OP TEN HOOGSTE EEN JAAR" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a40 +msgid "CREANCES COMMERCIALES" +msgstr "Handelsvorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4007 +msgid "" +"Rabais, remises, ristournes à accorder et autres notes de crédit à établir" +msgstr "Kortingen, rabatten en andere op te maken creditnota's" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4008 +msgid "Créances résultant de livraisons de biens" +msgstr "Vorderingen op geleverde goederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4013 +msgid "Effets à l'encaissement" +msgstr "Wissels aan toonder" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4015 +msgid "Effets à l'escompte" +msgstr "Wissels op rekening" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a402 +msgid "" +"Clients, créances courantes, entreprises apparentées, administrateurs et " +"gérants" +msgstr "" +"Klanten, vorderingen, gerelateerde bedrijven, bestuurders en zaakvoerders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4022 +msgid "Administrateurs et gérants d'entreprise" +msgstr "Bestuurders en zaakvoerders van de onderneming" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a403 +msgid "" +"Effets à recevoir sur entreprises apparentées et administrateurs et gérants" +msgstr "" +"Te ontvangen wissels van gerelateerde bedrijven, bestuurders en zaakvoerders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4032 +msgid "Administrateurs et gérants de l'entreprise" +msgstr "Bestuurders en zaakvoerders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a404 +#: model:account.account.template,name:l10n_be.a414 +msgid "Produits à recevoir" +msgstr "Te innen opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a405 +msgid "Clients : retenues sur garanties" +msgstr "Klanten : inhouding op garanties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a408 +msgid "Compensation clients" +msgstr "Klanten compensatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a41 +msgid "AUTRES CREANCES" +msgstr "Overige vorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a410 +msgid "Capital appelé, non versé" +msgstr "Opgevraagd, niet-gestort kapitaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4100 +msgid "Appels de fonds" +msgstr "Opvraging fondsen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4101 +msgid "Actionnaires défaillants" +msgstr "Falende aandeelhouders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a411 +msgid "T.V.A. à récupérer" +msgstr "Terug te vorderen BTW" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a411059 +msgid "T.V.A Déductible" +msgstr "Aftrekbare BTW" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4112 +#: model:account.account.template,name:l10n_be.a4512 +msgid "Compte courant administration T.V.A." +msgstr "Rekening Courant BTW-Administratie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4118 +#: model:account.account.template,name:l10n_be.a4518 +msgid "Taxe d'égalisation due" +msgstr "Verschuldigde egalisatiebelasting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a412 +msgid "Impôts et versements fiscaux à récupérer" +msgstr "Terug te vorderen belastingen en voorheffingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4120 +msgid "à 4124 Impôts belges sur le résultat" +msgstr "tot 4124 Belgische winstbelastingen " + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4125 +msgid "à 4127 Autres impôts belges" +msgstr "tot 4127 Andere Belgische belastingen " + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4128 +msgid "Impôts étrangers" +msgstr "Buitenlandse belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a416 +msgid "Créances diverses" +msgstr "Diverse vorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4160 +msgid "Associés" +msgstr "Vennoten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4161 +msgid "Avances et prêts au personnel" +msgstr "Voorschotten en leningen aan het personeel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4162 +msgid "Compte courant des associés en S.P.R.L." +msgstr "Rekening courant vennoten in B.V.B.A" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4163 +msgid "Compte courant des administrateurs et gérants" +msgstr "Rekening courant bestuurders en zaakvoerders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4164 +msgid "Créances sur sociétés apparentées" +msgstr "Vorderingen op gerelateerde bedrijven" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4166 +msgid "Emballages et matériel à rendre" +msgstr "Terug te geven materiaal en verpakkingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4167 +msgid "Etat et établissements publics" +msgstr "Overheid en openbare instellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a41670 +msgid "Subsides à recevoir" +msgstr "Te ontvangen subsidies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4168 +msgid "Rabais, ristournes, remises à obtenir et autres avoirs non encore reçus" +msgstr "Kortingen, rabatten en andere nog te ontvangen tegoeden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a42 +msgid "DETTES A PLUS D'UN AN ECHEANT DANS L'ANNEE" +msgstr "Schulden op meer dan één jaar die binnen het jaar vervallen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a422 +msgid "Dettes de location-financement et assimilées" +msgstr "Leasingschulden en soortgelijke" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4220 +msgid "Financement de biens immobiliers" +msgstr "Financiering vastgoed" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4221 +msgid "Financement de biens mobiliers" +msgstr "Financiering roerend goed" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4250 +#: model:account.account.template,name:l10n_be.a440 +msgid "Fournisseurs" +msgstr "Leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4299 +msgid "Autres dettes" +msgstr "Overige schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a43 +msgid "DETTES FINANCIERES" +msgstr "Financiële schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a430 +msgid "Etablissements de crédit. Emprunts en compte à terme fixe" +msgstr "Kredietinstellingen - Leningen op rekeningen met vaste termijn" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a431 +msgid "Etablissements de crédit. Promesses" +msgstr "Kredietinstellingen - Promessen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a432 +msgid "Etablissements de crédit. Crédits d'acceptation" +msgstr "Kredietinstellingen - Acceptkredieten " + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a433 +msgid "Etablissements de crédit. Dettes en compte courant" +msgstr "Kredietinstellingen - Schulden in rekening courant" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a44 +msgid "DETTES COMMERCIALES" +msgstr "Handelsschulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a44011 +#: model:account.account.template,name:l10n_be.a44111 +msgid "Fournisseurs CEE" +msgstr "Leveranciers EEG" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4402 +msgid "Dettes envers les coparticipants" +msgstr "Schulden aan mede participanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4403 +msgid "Fournisseurs - retenues de garanties" +msgstr "Levernaciers - inhoudingen op garanties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a444 +msgid "Factures à recevoir" +msgstr "Te ontvangen facturen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a446 +msgid "Acomptes reçus" +msgstr "Ontvangen voorschotten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a448 +msgid "Compensations fournisseurs" +msgstr "Compensaties leveranciers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45 +msgid "DETTES FISCALES, SALARIALES ET SOCIALES" +msgstr "" +"Schulden met betrekking tot belastingen, bezoldigingen en sociale lasten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a450 +msgid "Dettes fiscales estimées" +msgstr "Geraamd bedrag der belastingschulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4501 +msgid "à 4504 Impôts sur le résultat" +msgstr "tot 4504 Belgische winstbelastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4505 +msgid "à 4507 Autres impôts en Belgique" +msgstr "tot 4507 Andere Belgische belastingen en taksen " + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4508 +msgid "Impôts à l'étranger" +msgstr "Buitenlandse belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a451 +#: model:account.account.template,name:l10n_be.a451054 +msgid "T.V.A. à payer" +msgstr "Te betalen BTW" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a451055 +msgid "T.V.A. à payer - Intra-communautaire" +msgstr "Te betalen BTW - Intracommunautair" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a451056 +msgid "T.V.A. à payer - Cocontractant" +msgstr "Te betalen BTW - Medecontractant" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a451057 +msgid "T.V.A. à payer - Import" +msgstr "Te betalen BTW - Import" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a452 +msgid "Impôts et taxes à payer" +msgstr "Te betalen belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4520 +msgid "Autres impôts sur le résultat" +msgstr "Andere Belgische winstbelastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4525 +msgid "Autres impôts et taxes en Belgique" +msgstr "Andere Belgische belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45250 +msgid "Précompte immobilier" +msgstr "Onroerende voorheffing" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45251 +msgid "Impôts communaux à payer" +msgstr "Te betalen gemeentebelasting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45252 +msgid "Impôts provinciaux à payer" +msgstr "Te betalen provinciale belasting" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45253 +msgid "Autres impôts et taxes à payer" +msgstr "Andere te betalen belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4528 +msgid "Impôts et taxes à l'étranger" +msgstr "Buitenlandse belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a453 +msgid "Précomptes retenus" +msgstr "Ingehouden voorheffingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4530 +msgid "Précompte professionnel retenu sur rémunérations" +msgstr "Bedrijfsvoorheffing ingehouden op bezoldigingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4531 +msgid "Précompte professionnel retenu sur tantièmes" +msgstr "Bedrijfsvoorheffing ingehouden op tantièmes" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4532 +msgid "Précompte mobilier retenu sur dividendes attribués" +msgstr "Roerende voorheffing ingehouden op uitgekeerde dividenden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4533 +msgid "Précompte mobilier retenu sur intérêts payés" +msgstr "Roerende voorheffing ingehouden op betaalde intresten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4538 +msgid "Autres précomptes retenus" +msgstr "Andere ingehouden voorheffingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a454 +msgid "Office National de la Sécurité Sociale" +msgstr "Rijksdienst voor Sociale Zekerheid" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4540 +msgid "Arriérés" +msgstr "Achterstallen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4541 +msgid "1er trimestre" +msgstr "1e kwartaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4542 +msgid "2ème trimestre" +msgstr "2e kwartaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4543 +msgid "3ème trimestre" +msgstr "3e kwartaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4544 +msgid "4ème trimestre" +msgstr "4e kwartaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a455 +msgid "Rémunérations" +msgstr "Bezoldigingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4550 +msgid "Administrateurs, gérants et commissaires" +msgstr "Bestuurders, zaakvoerders en commissarissen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4551 +#: model:account.account.template,name:l10n_be.a4560 +msgid "Direction" +msgstr "Directiepersoneel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4552 +#: model:account.account.template,name:l10n_be.a4561 +#: model:account.account.template,name:l10n_be.a6202 +msgid "Employés" +msgstr "Bedienden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4553 +#: model:account.account.template,name:l10n_be.a4562 +#: model:account.account.template,name:l10n_be.a6203 +msgid "Ouvriers" +msgstr "Arbeiders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a456 +msgid "Pécules de vacances" +msgstr "Vakantiegeld" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a459 +msgid "Autres dettes sociales" +msgstr "Andere sociale schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4590 +msgid "Provision pour gratifications de fin d'année" +msgstr "Voorziening voor eindejaarspremie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4591 +msgid "Départs de personnel" +msgstr "Ontslag personeel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4592 +msgid "Oppositions sur rémunérations" +msgstr "Loonbeslag" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4593 +msgid "Assurances relatives au personnel" +msgstr "Personeelsverzekeringen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45930 +msgid "Assurance loi" +msgstr "Wetsverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45931 +msgid "Assurance salaire garanti " +msgstr "Verzekering gewaarborgd inkomen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45932 +msgid "Assurance groupe " +msgstr "Groepsverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a45933 +#: model:account.account.template,name:l10n_be.a62302 +msgid "Assurances individuelles" +msgstr "Individuele verzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4594 +msgid "Caisse d'assurances sociales pour travailleurs indépendants" +msgstr "Sociale kas voor zelfstandigen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4597 +msgid "Dettes et provisions sociales diverses" +msgstr "Diverse sociale schulden en provisies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a46 +msgid "ACOMPTES RECUS SUR COMMANDES" +msgstr "Ontvangen vooruitbetalingen op bestellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a47 +msgid "DETTES DECOULANT DE L'AFFECTATION DES RESULTATS" +msgstr "Schulden uit de bestemming van het resultaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a470 +msgid "Dividendes et tantièmes d'exercices antérieurs" +msgstr "Dividenden en tantièmes over vorige boekjaren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a471 +msgid "Dividendes de l'exercice" +msgstr "Dividenden over het boekjaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a472 +msgid "Tantièmes de l'exercice" +msgstr "Tantièmes over het boekjaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a473 +#: model:account.account.template,name:l10n_be.a696 +msgid "Autres allocataires" +msgstr "Andere rechthebbenden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a48 +msgid "DETTES DIVERSES" +msgstr "Diverse schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a480 +msgid "Obligations et coupons échus" +msgstr "Vervallen obligaties en coupons" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a481 +msgid "Actionnaires - capital à rembourser" +msgstr "Aandeelhouders : terug te betalen kapitaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a482 +msgid "Participation du personnel à payer" +msgstr "Personeelsparticipatie te betalen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a483 +msgid "Acomptes reçus d'autres tiers à moins d'un an" +msgstr "Ontvangen voorschotten van derden minder dan 1 jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a486 +msgid "Emballages et matériel consignés" +msgstr "Verpakkingen en materiaal in consignatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a49 +msgid "COMPTES DE REGULARISATION ET COMPTES D'ATTENTE" +msgstr "Overlopende rekeningen en wachtrekeningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a490 +msgid "Charges à reporter" +msgstr "Over te dragen kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a491 +msgid "Produits acquis" +msgstr "Verkregen opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4910 +msgid "Produits d'exploitation" +msgstr "Bedrijfsopbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a49100 +msgid "Ristournes, rabais à obtenir" +msgstr "Te ontvangen kortingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a49101 +msgid "Commissions à obtenir" +msgstr "Te ontvangen commissies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a49102 +msgid "Autres produits d'exploitation" +msgstr "Andere bedrijfsopbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4911 +msgid "Produits financiers" +msgstr "Financiële opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a49110 +msgid "Intérêts courus et non échus sur prêts et débits" +msgstr "Oplopende en onbetaalde rente op leningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a49111 +msgid "Autres produits financiers" +msgstr "Overige financiële opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a492 +msgid "Charges à imputer" +msgstr "Toe te rekenen kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a493 +msgid "Produits à reporter" +msgstr "Over te dragen opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4930 +msgid "Produits d'exploitation à reporter" +msgstr "Over te dragen bedrijfsopbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4931 +msgid "Produits financiers à reporter" +msgstr "Over te dragen financiële opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a499 +msgid "Comptes d'attente" +msgstr "Wachtrekeningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4990 +msgid "Compte d'attente" +msgstr "Wachtrekening" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4991 +msgid "Compte de répartition périodique des charges" +msgstr "Staat van periodieke kostenverdeling" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a4999 +msgid "Transferts d'exercice" +msgstr "Fiscale transfers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a5 +msgid "CLASSE 5. PLACEMENTS DE TRESORERIE ET DE VALEURS DISPONIBLES" +msgstr "KLASSE 5 - GELDBELEGGINGEN EN LIQUIDE MIDDELEN" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a50 +msgid "ACTIONS PROPRES" +msgstr "Eigen aandelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a51 +msgid "ACTIONS ET PARTS" +msgstr "Aandelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a52 +msgid "TITRES A REVENUS FIXES" +msgstr "Vastrentende effecten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a53 +msgid "DEPOTS A TERME" +msgstr "Termijndeposito's" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a530 +msgid "De plus d'un an" +msgstr "Op meer dan één jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a531 +msgid "De plus d'un mois et à un an au plus" +msgstr "Op meer dan één maand en op ten hoogste één jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a532 +msgid "D'un mois au plus" +msgstr "Op ten hoogste één maand" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a54 +msgid "VALEURS ECHUES A L'ENCAISSEMENT" +msgstr "Te incasseren vervallen waarden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a540 +msgid "Chèques à encaisser" +msgstr "Te incasseren cheques" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a541 +msgid "Coupons à encaisser" +msgstr "Te incasseren coupons" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a55 +msgid "ETABLISSEMENTS DE CREDIT." +msgstr "Kredietinstellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a550 +msgid "Comptes ouverts auprès des divers établissements" +msgstr " Rekeningen geopend bij verschillende instellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a56 +msgid "OFFICE DES CHEQUES POSTAUX" +msgstr "Postcheque en girodienst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a560 +msgid "Compte courant" +msgstr "Rekening-courant" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a561 +msgid "Chèques émis" +msgstr "Uitgeschreven cheques (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a57 +msgid "CAISSES" +msgstr "Kassen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a570 +msgid "Caisses - espèces" +msgstr "Kassen-contanten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a578 +msgid "Caisses - timbres" +msgstr "Kassen-zegels" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a58 +msgid "VIREMENTS INTERNES" +msgstr "Interne overboekingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6 +msgid "CLASSE 6. - CHARGES" +msgstr "KLASSE 6 - KOSTEN" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a60 +msgid "APPROVISIONNEMENTS ET MARCHANDISES" +msgstr "Handelsgoederen, grond- en hulpstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a601 +msgid "Achats de fournitures" +msgstr "Aankopen van hulpstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a602 +msgid "Achats de services, travaux et études" +msgstr "Aankopen van diensten, werk en studies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a603 +msgid "Sous-traitances générales" +msgstr "Algemene onderaannemingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a604 +msgid "Achats de marchandises" +msgstr "Aankopen van handelsgoederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a605 +msgid "Achats d'immeubles destinés à la revente" +msgstr "Aankopen van onroerende goederen bestemd voor verkoop" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a608 +msgid "Remises, ristournes et rabais obtenus sur achats" +msgstr "Ontvangen kortingen, ristorno's en rabatten (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a609 +msgid "Variations de stocks" +msgstr "Voorraadwijzigingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6090 +msgid "De matières premières" +msgstr "van grondstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6091 +msgid "De fournitures" +msgstr "van hulpstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6094 +msgid "De marchandises" +msgstr "van handelsgoederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6095 +msgid "D'immeubles destinés à la vente" +msgstr "van gekochte onroerende goederen bestemd voor verkoop" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61 +msgid "SERVICES ET BIENS DIVERS" +msgstr "Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a610 +msgid "Loyers et charges locatives" +msgstr "Huur en huurlasten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6100 +msgid "Loyers divers" +msgstr "Diverse huren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6101 +msgid "Charges locatives" +msgstr "Huurlasten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a611 +msgid "Entretien et réparation" +msgstr "Onderhoud en herstellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a612 +msgid "Fournitures faites à l'entreprise" +msgstr "Leveringen aan de onderneming" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6120 +msgid "Eau, gaz, électricité, vapeur" +msgstr "Water, gas, electriciteit, stoom" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61203 +msgid "Vapeur" +msgstr "Stoom" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6121 +msgid "Téléphone, télégrammes, télex, téléfax, frais postaux" +msgstr "Telefoon, telegram, telex, telefax, portkosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61210 +msgid "Téléphone" +msgstr "Telefoon" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61211 +msgid "Télégrammes" +msgstr "Telegram" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61212 +msgid "Télex et téléfax" +msgstr "Telex en telefax" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61213 +msgid "Frais postaux" +msgstr "Portkosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6122 +msgid "Livres, bibliothèque" +msgstr "Boeken en documentatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a613 +msgid "Rétributions de tiers" +msgstr "Vergoedingen aan derden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6130 +msgid "Redevances et royalties" +msgstr "Commissies en auteursrechten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61300 +msgid "Redevances pour brevets, licences, marques, accessoires" +msgstr "Commissies voor brevetten, licencies, merken en accessoires" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61301 +msgid "Autres redevances" +msgstr "Andere commissies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6131 +msgid "Assurances non relatives au personnel" +msgstr "Verzekeringen niet personeelsgerelateerd" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61310 +msgid "Assurance incendie" +msgstr "Brandverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61311 +msgid "Assurance vol" +msgstr "Diefstalverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61312 +msgid "Assurance autos" +msgstr "Autoverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61313 +msgid "Assurance crédit" +msgstr "Kredietverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61314 +msgid "Assurances frais généraux" +msgstr "Kostenverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6132 +#: model:account.account.template,name:l10n_be.a62322 +msgid "Divers" +msgstr "Diversen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61320 +msgid "Commissions aux tiers" +msgstr "Commisie aan derden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61321 +msgid "Honoraires d'avocats, d'experts, etc ..." +msgstr "Erelonen advocaten, experten, ..." + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61322 +msgid "Cotisations aux groupements professionnels" +msgstr "Bijdragen aan beroepsverenigingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61323 +msgid "Dons, libéralités, ..." +msgstr "Giften en schenkingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61324 +msgid "Frais de contentieux" +msgstr "Juridische kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61325 +msgid "Publications légales" +msgstr "Wettelijke publicaties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6133 +msgid "Transports et déplacements" +msgstr "Transport en verplaatsingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61330 +msgid "Transports de personnel" +msgstr "Personeelsverplaatsingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61331 +msgid "Voyages, déplacements, représentations" +msgstr "Reizen, verplaatsingen, vertegenwoordigingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6134 +msgid "Personnel intérimaire" +msgstr "Interim personeel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a614 +msgid "Annonces, publicité, propagande et documentation" +msgstr "Advertenties, publiciteit, propaganda en documentatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6140 +msgid "Annonces et insertions" +msgstr "Advertenties en inlassingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6141 +msgid "Catalogues et imprimés" +msgstr "Catalogi en drukwerken" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6142 +msgid "Echantillons" +msgstr "Stalen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6143 +msgid "Foires et expositions" +msgstr "Beurzen en tentoonstellingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6144 +msgid "Primes" +msgstr "Premies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6145 +msgid "Cadeaux à la clientèle" +msgstr "Relatiegeschenken" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6146 +msgid "Missions et réceptions" +msgstr "Onthaalkosten en recepties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6147 +msgid "Documentation" +msgstr "Documentatie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a615 +msgid "Sous-traitants" +msgstr "Onderaannemers" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6150 +msgid "Sous-traitants pour activités propres" +msgstr "Onderaannemers voor eigen activiteiten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6151 +msgid "Sous-traitants d'associations momentanées" +msgstr "Onderaannemers voor joint-ventures" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6152 +msgid "Quote-part bénéficiaire des coparticipants" +msgstr "Aandeel in het resultaat van de joint-venture" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61700 +msgid "" +"Personnel intérimaire et personnes mises à la disposition de l'entreprise" +msgstr "Uitzendkrachten en personen ter beschikking gesteld van de onderneming" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a61800 +msgid "Rémunérations, primes pour assurances extralégales" +msgstr "" +"Bezoldigingen, premies voor buitenwettelijke verzekeringen, ouderdoms- en " +"overlevingspensioenen van bestuurders, zaakvoerders en werkende vennoten, " +"die niet worden toegekend uit hoofde van een arbeidsovereenkomst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62 +msgid "REMUNERATIONS, CHARGES SOCIALES ET PENSIONS" +msgstr "Bezoldigingen, sociale lasten en pensioenen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a620 +msgid "Rémunérations et avantages sociaux directs" +msgstr "Bezoldigingen en rechtstreekse sociale voordelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6200 +#: model:account.account.template,name:l10n_be.a695 +msgid "Administrateurs ou gérants" +msgstr "Bestuurders of zaakvoerders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6201 +msgid "Personnel de direction" +msgstr "Directiepersoneel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6204 +msgid "Autres membres du personnel" +msgstr "Andere personeelsleden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a621 +msgid "Cotisations patronales d'assurances sociales" +msgstr "Werkgeversbijdragen voor sociale verzekeringen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6210 +msgid "Sur salaires" +msgstr "Op lonen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6211 +msgid "Sur appointements et commissions" +msgstr "Op uitkeringen en commissies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a622 +msgid "Primes patronales pour assurances extralégales" +msgstr "Werkgeverspremies voor bovenwettelijke verzekeringen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a623 +msgid "Autres frais de personnel" +msgstr "Andere personeelskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6230 +msgid "Assurances du personnel" +msgstr "Peronseelsverzekering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62300 +msgid "Assurances loi, responsabilité civile, chemin du travail" +msgstr "Wettelijke verzekeringen, burgerlijke aansprakelijkheid, woon-werk" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62301 +msgid "Assurance salaire garanti" +msgstr "Verzekering gewaarborgd inkomen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6231 +msgid "Charges sociales diverses" +msgstr "Diverse sociale kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62310 +msgid "Jours fériés payés" +msgstr "Betaalde feestdagen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62311 +msgid "Salaire hebdomadaire garanti" +msgstr "Gegarandeerd weekloon" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62312 +msgid "Allocations familiales complémentaires" +msgstr "Extra kinderbijslag" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6232 +msgid "Charges sociales des administrateurs, gérants et commissaires" +msgstr "Sociale kosten voor bestuurders, zaakvoerders en commissarissen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62320 +msgid "Allocations familiales complémentaires pour non salariés" +msgstr "Extra kinderbijslag voor niet-loontrekkenden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a62321 +msgid "Lois sociales pour indépendants" +msgstr "Sociale wetgevingen voor zelfstandigen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a624 +msgid "Pensions de retraite et de survie" +msgstr "Ouderdoms- en overlevingspensioenen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6240 +msgid "Administrateurs et gérants" +msgstr "Bestuurders en zaakvoerders" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6241 +msgid "Personnel" +msgstr "Personeel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a625 +msgid "Provision pour pécule de vacances" +msgstr "Voorziening voor vakantiegeld" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6250 +#: model:account.account.template,name:l10n_be.a6310 +#: model:account.account.template,name:l10n_be.a6320 +#: model:account.account.template,name:l10n_be.a6330 +#: model:account.account.template,name:l10n_be.a6340 +#: model:account.account.template,name:l10n_be.a6350 +#: model:account.account.template,name:l10n_be.a6360 +msgid "Dotations" +msgstr "Waardeverminderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6251 +#: model:account.account.template,name:l10n_be.a6351 +#: model:account.account.template,name:l10n_be.a6361 +#: model:account.account.template,name:l10n_be.a6371 +msgid "Utilisations et reprises" +msgstr "Toewijzingen en terugnames" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a63 +msgid "" +"AMORTISSEMENTS, REDUCTIONS DE VALEUR ET PROVISIONS POUR RISQUES ET CHARGES" +msgstr "" +"Afschrijvingen, waardeverminderingen en voorzieningen voor risico's en kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a630 +msgid "" +"Dotations aux amortissements et aux réductions de valeur sur immobilisations" +msgstr "Afschrijvingen en waardeverminderingen op vaste activa - Toevoeging" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6300 +msgid "Dotations aux amortissements sur frais d'établissement" +msgstr "Afschrijvingen op oprichtingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6301 +msgid "Dotations aux amortissements sur immobilisations incorporelles" +msgstr "Afschrijvingen op immateriële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6302 +msgid "Dotations aux amortissements sur immobilisations corporelles" +msgstr "Afschrijvingen op materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6308 +msgid "Dotations aux réductions de valeur sur immobilisations incorporelles" +msgstr "Waardeverminderingen op immateriële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6309 +msgid "Dotations aux réductions de valeur sur immobilisations corporelles" +msgstr "Waardeverminderingen op materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a631 +msgid "Réductions de valeur sur stocks" +msgstr "Waardeverminderingen op voorraden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6311 +#: model:account.account.template,name:l10n_be.a6321 +#: model:account.account.template,name:l10n_be.a6331 +#: model:account.account.template,name:l10n_be.a6341 +#: model:account.account.template,name:l10n_be.a6511 +msgid "Reprises" +msgstr "Terugneming (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a632 +msgid "Réductions de valeur sur commandes en cours d'exécution" +msgstr "Waardeverminderingen op bestellingen in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a633 +msgid "Réductions de valeur sur créances commerciales à plus d'un an" +msgstr "Waardeverminderingen op handelsvorderingen op meer dan één jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a634 +msgid "Réductions de valeur sur créances commerciales à un an au plus" +msgstr "Waardeverminderingen op handelsvorderingen op ten hoogste één jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6370 +#: model:account.account.template,name:l10n_be.a6510 +msgid "Dotations " +msgstr "Toevoeging" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64 +msgid "AUTRES CHARGES D'EXPLOITATION" +msgstr "Andere bedrijfskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a640 +msgid "Charges fiscales d'exploitation" +msgstr "Bedrijfsbelastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6400 +msgid "Taxes et impôts directs" +msgstr "Directe belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64000 +msgid "Taxes sur autos et camions" +msgstr "Verkeersbelasting bedrijfswagens" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6401 +msgid "Taxes et impôts indirects" +msgstr "Indirecte belastingen en taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64010 +msgid "Timbres fiscaux pris en charge par la firme" +msgstr "Fiscale zegels ten laste van de onderneming" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64011 +msgid "Droits d'enregistrement" +msgstr "Registratierechten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64012 +msgid "T.V.A. non déductible" +msgstr "Niet aftrekbare BTW" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6402 +msgid "Impôts provinciaux et communaux" +msgstr "Provinciale en gemeentelijke belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64020 +msgid "Taxe sur la force motrice" +msgstr "Roerende voorheffing" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a64021 +msgid "Taxe sur le personnel occupé" +msgstr "Taks op tewerkgesteld personeel" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6403 +msgid "Taxes diverses" +msgstr "Diverse taksen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a641 +msgid "Moins-values sur réalisations courantes d'immobilisations corporelles" +msgstr "Minderwaarden op de courante realisatie van vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a642 +msgid "Moins-values sur réalisations de créances commerciales" +msgstr "Minderwaarden op de realisatie van handelsvorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a643 +msgid "à 648 Charges d'exploitations diverses" +msgstr "tot 648 Diverse bedrijfskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a649 +msgid "Charges d'exploitation portées à l'actif au titre de restructuration" +msgstr "Als herstructureringskosten geactiveerde bedrijfskosten (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a65 +msgid "CHARGES FINANCIERES" +msgstr "Financiële kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a650 +msgid "Charges des dettes" +msgstr "Kosten van schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6500 +msgid "Intérêts, commissions et frais afférents aux dettes" +msgstr "Rente, commissies en kosten verbonden aan schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6501 +msgid "Amortissements des agios et frais d'émission d'emprunts" +msgstr "Afschrijving van kosten bij uitgifte van leningen en van disagio" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6502 +msgid "Autres charges de dettes" +msgstr "Andere kosten van schulden" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6503 +msgid "Intérêts intercalaires portés à l'actif" +msgstr "Geactiveerde intercalaire interesten (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a651 +msgid "Réductions de valeur sur actifs circulants" +msgstr "Waardeverminderingen op vlottende activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a652 +msgid "Moins-values sur réalisation d'actifs circulants" +msgstr "Minderwaarden op de realisatie van vlottende activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a653 +msgid "Charges d'escompte de créances" +msgstr "Discontokosten op vorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a654 +#: model:account.account.template,name:l10n_be.a754 +msgid "Différences de change" +msgstr "Wisselresultaten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a655 +#: model:account.account.template,name:l10n_be.a755 +msgid "Ecarts de conversion des devises" +msgstr "Resultaten uit de omrekening van vreemde valuta" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a656 +msgid "Frais de banques, de chèques postaux" +msgstr "Bank en chequekosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a657 +msgid "Commissions sur ouvertures de crédit, cautions, avals" +msgstr "Commissies bij opening van krediet" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a658 +msgid "Frais de vente des titres" +msgstr "Verkoop van effecten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a66 +msgid "CHARGES EXCEPTIONNELLES" +msgstr "Uitzonderlijke kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a660 +msgid "Amortissements et réductions de valeur exceptionnels" +msgstr "Uitzonderlijke afschrijvingen en waardeverminderingen (toevoeging)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6600 +msgid "Sur frais d'établissement" +msgstr "op oprichtingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6601 +#: model:account.account.template,name:l10n_be.a6630 +#: model:account.account.template,name:l10n_be.a7600 +#: model:account.account.template,name:l10n_be.a7630 +msgid "Sur immobilisations incorporelles" +msgstr "op immateriële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6602 +#: model:account.account.template,name:l10n_be.a6631 +#: model:account.account.template,name:l10n_be.a7601 +#: model:account.account.template,name:l10n_be.a7631 +msgid "Sur immobilisations corporelles" +msgstr "op materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a661 +msgid "Réductions de valeur sur immobilisations financières" +msgstr "Waardeverminderingen op financiële vaste activa (toevoeging)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a662 +msgid "Provisions pour risques et charges exceptionnels" +msgstr "Voorzieningen voor uitzonderlijke risico's en kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a663 +msgid "Moins-values sur réalisation d'actifs immobilisés" +msgstr "Minderwaarden op de realisatie van vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6632 +msgid "" +"Sur immobilisations détenues en location-financement et droits similaires" +msgstr "Op financiele leasing en gelijkaardige rechten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6633 +#: model:account.account.template,name:l10n_be.a7632 +msgid "Sur immobilisations financières" +msgstr "Op financiele vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6634 +msgid "Sur immeubles acquis ou construits en vue de la revente" +msgstr "Op onroerende goederen bestemd voor verkoop" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a664 +msgid "Pénalités et amendes diverses" +msgstr "Diverse boetes en straffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a665 +msgid "Différence de charge" +msgstr "Kostenverschillen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a668 +msgid "Autres charges exceptionnelles" +msgstr "Andere uitzonderlijke kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a669 +msgid "" +"Charges exceptionnelles transférées à l'actif en frais de restructuration" +msgstr "" +"Uitzonderlijke kosten als herstructureringskosten opgenomen onder de activa " +"(-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a67 +msgid "IMPOTS SUR LE RESULTAT" +msgstr "Belastingen op het resultaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a670 +msgid "Impôts belges sur le résultat de l'exercice" +msgstr "Belgische belastingen op het resultaat van het boekjaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6700 +msgid "Impôts et précomptes dus ou versés" +msgstr "Verschuldigde of gestorte belastingen en voorheffingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6701 +msgid "Excédent de versements d'impôts et précomptes porté à l'actif" +msgstr "" +"Geactiveerde overschotten van betaalde belastingen en voorheffingen (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6702 +msgid "Charges fiscales estimées" +msgstr "Geraamde belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a671 +msgid "Impôts belges sur le résultat d'exercices antérieurs" +msgstr "Belgische belastingen op het resultaat van vorige boekjaren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6710 +msgid "Suppléments d'impôts dus ou versés" +msgstr "Verschuldigde of gestorte belastingsupplementen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6711 +msgid "Suppléments d'impôts estimés" +msgstr "Geraamde belastingsupplementen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a6712 +msgid "Provisions fiscales constituées" +msgstr "Gevormde fiscale voorzieningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a672 +msgid "Impôts étrangers sur le résultat de l'exercice" +msgstr "Buitenlandse belastingen op het resultaat van het boekjaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a673 +msgid "Impôts étrangers sur le résultat d'exercices antérieurs" +msgstr "Buitenlandse belastingen op het resultaat van vorige boekjaren" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a68 +msgid "TRANSFERTS AUX RESERVES IMMUNISEES" +msgstr "" +"Overboeking naar de uitgestelde belastingen en naar de belastingvrije " +"reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a69 +msgid "AFFECTATION DES RESULTATS" +msgstr "Resultaatverwerking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a690 +msgid "Perte reportée de l'exercice précédent" +msgstr "Overgedragen verlies van het vorige boekjaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a691 +msgid "Dotation à la réserve légale" +msgstr "Toevoeging aan het kapitaal en aan de uitgiftepremie" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a692 +msgid "Dotation aux autres réserves" +msgstr "Toevoeging aan de reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a693 +msgid "Bénéfice à reporter" +msgstr "Over te dragen winst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a694 +msgid "Rémunération du capital" +msgstr "Vergoeding van het kapitaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7 +msgid "CLASSE 7. - PRODUITS" +msgstr "KLASSE 7 - OPBRENGSTEN" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a70 +msgid "CHIFFRE D'AFFAIRES" +msgstr "Omzet" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a700 +msgid "Ventes de marchandises" +msgstr "Verkopen van handelsgoederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7000 +#: model:account.account.template,name:l10n_be.a7020 +#: model:account.account.template,name:l10n_be.a_sale +msgid "Ventes en Belgique" +msgstr "Verkopen in België" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7001 +#: model:account.account.template,name:l10n_be.a7011 +#: model:account.account.template,name:l10n_be.a7021 +msgid "Ventes dans les pays membres de la C.E.E." +msgstr "Verkopen in lidstaten van de E.E.G." + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7002 +#: model:account.account.template,name:l10n_be.a7012 +#: model:account.account.template,name:l10n_be.a7022 +msgid "Ventes à l'exportation" +msgstr "Verkopen buiten de E.E.G. (export)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a701 +msgid "Ventes de produits finis" +msgstr "Verkopen van afgewerkte produkten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a702 +msgid "Ventes de déchets et rebuts" +msgstr "Verkoop van afval en restmateriaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a703 +msgid "Ventes d'emballages récupérables" +msgstr "Verkoop van herbruikbare verpakking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a704 +msgid "Facturations des travaux en cours" +msgstr "Facturatie werk in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a705 +#: model:account.account.template,name:l10n_be.a746 +msgid "Prestations de services" +msgstr "Dienstverlening" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7050 +msgid "Prestations de services en Belgique" +msgstr "Dienstverlening in België" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7051 +msgid "Prestations de services dans les pays membres de la C.E.E." +msgstr "Dienstverlening in lidstaten van de E.E.G." + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7052 +msgid "Prestations de services en vue de l'exportation" +msgstr "Dienstverlening buiten de E.E.G. (export)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a706 +msgid "Pénalités et dédits obtenus par l'entreprise" +msgstr "Boeten en verbeurdverklaringen verkregen door de onderneming" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a708 +msgid "Remises, ristournes et rabais accordés" +msgstr "Toegekende kortingen, ristorno's en rabatten (-)" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7080 +msgid "Sur ventes de marchandises" +msgstr "op handelsgoederen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7081 +msgid "Sur ventes de produits finis" +msgstr "op afgewerkte produkten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7082 +msgid "Sur ventes de déchets et rebuts" +msgstr "op afval en restmateriaal" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7083 +msgid "Sur prestations de services" +msgstr "op dienstverlening" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7084 +msgid "Mali sur travaux facturés aux associations momentanées" +msgstr "Mali op gefactureerde werken in joint-venture" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a71 +msgid "VARIATION DES STOCKS ET DES COMMANDES EN COURS D'EXECUTION" +msgstr "Wijzigingen in de voorraden en in de bestellingen in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a712 +msgid "Des en cours de fabrication" +msgstr "In de voorraad goederen in bewerking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a713 +msgid "Des produits finis" +msgstr "In de voorraad gereed product" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a715 +msgid "Des immeubles construits destinés à la vente" +msgstr "In de voorraad onroerende goederen bestemd voor verkoop" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a717 +msgid "Des commandes en cours d'exécution" +msgstr "In de bestellingen in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7170 +msgid "Commandes en cours - Coût de revient" +msgstr "Aanschafwaarde" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a71700 +msgid "Coût des commandes en cours d'exécution" +msgstr "Kost van bestellingen in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a71701 +msgid "Coût des travaux en cours des associations momentanées" +msgstr "Kost van werken in uitvoering in joint-ventures" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7171 +msgid "Bénéfices portés en compte sur commandes en cours" +msgstr "Toegerekende winst" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a71710 +msgid "Sur commandes en cours d'exécution" +msgstr "Op bestellingen in uitvoering" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a71711 +msgid "Sur travaux en cours des associations momentanées" +msgstr "Op werken in uitvoering in joint-ventures" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a72 +msgid "PRODUCTION IMMOBILISEE" +msgstr "Geproduceerde vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a720 +msgid "En frais d'établissement" +msgstr "In oprichtingskosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a721 +msgid "En immobilisations incorporelles" +msgstr "In immateriële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a722 +msgid "En immobilisations corporelles" +msgstr "In materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a723 +msgid "En immobilisations en cours" +msgstr "In vaste activa in aanbouw" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a74 +msgid "AUTRES PRODUITS D'EXPLOITATION" +msgstr "Andere bedrijfsopbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a740 +msgid "Subsides d'exploitation et montants compensatoires" +msgstr "Bedrijfssubsidies en compenserende bedragen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a741 +msgid "Plus-values sur réalisations courantes d'immobilisations corporelles" +msgstr "Meerwaarden op de courante realisatie van materiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a742 +msgid "Plus-values sur réalisations de créances commerciales" +msgstr "Meerwaarden op de realisatie van handelsvorderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a743 +msgid "Produits de services exploités dans l'intérêt du personnel" +msgstr "Recuperatie personeelskost" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a744 +msgid "Commissions et courtages" +msgstr "Commissies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a745 +msgid "Redevances pour brevets et licences" +msgstr "Commissies voor brevetten en licenties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a747 +msgid "Revenus des immeubles affectés aux activités non professionnelles" +msgstr "Inkomsten uit vastgoed verbonden aan niet-professionele activiteiten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a748 +msgid "Locations diverses à caractère professionnel" +msgstr "Diverse verhuring met professioneel karakter" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a749 +msgid "Produits divers" +msgstr "Diverse opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7490 +msgid "Bonis sur reprises d'emballages consignés" +msgstr "Boni bij terugneming herbruikbare verpakking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7491 +msgid "Bonis sur travaux en associations momentanées" +msgstr "Boni op werken in joint-venture" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a75 +msgid "PRODUITS FINANCIERS" +msgstr "Financiële opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a750 +msgid "Produits des immobilisations financières" +msgstr "Opbrengsten uit financiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7500 +msgid "Revenus des actions" +msgstr "Opbrengsten uit aandelen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7501 +msgid "Revenus des obligations" +msgstr "Opbrengsten uit obligaties" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7502 +msgid "Revenus des créances à plus d'un an" +msgstr "Inkomsten uit schuld > 1 jaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a751 +msgid "Produits des actifs circulants" +msgstr "Opbrengsten uit vlottende activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a752 +msgid "Plus-values sur réalisations d'actifs circulants" +msgstr "Meerwaarden op de realisatie van vlottende activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a753 +msgid "Subsides en capital et en intérêts" +msgstr "Kapitaal- en interestsubsidies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a756 +msgid "Produits des autres créances" +msgstr "Diverse financiële opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a757 +msgid "Escomptes obtenus" +msgstr "Bekomen kortingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a76 +msgid "PRODUITS EXCEPTIONNELS" +msgstr "Uitzonderlijke opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a760 +msgid "Reprises d'amortissements et de réductions de valeur" +msgstr "Terugneming van afschrijvingen en waardeverminderingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a761 +msgid "Reprises de réductions de valeur sur immobilisations financières" +msgstr "Terugneming van waardeverminderingen op financiële vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a762 +msgid "Reprises de provisions pour risques et charges exceptionnelles" +msgstr "Terugneming van voorzieningen voor uitzonderlijke risico's en kosten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a763 +msgid "Plus-values sur réalisation d'actifs immobilisés" +msgstr "Meerwaarden op de realisatie van vaste activa" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a764 +msgid "Autres produits exceptionnels" +msgstr "Andere uitzonderlijke opbrengsten" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a77 +msgid "REGULARISATIONS D'IMPOTS ET REPRISES DE PROVISIONS FISCALES" +msgstr "" +"Regularisering van belastingen en terugneming van fiscale voorzieningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a771 +msgid "Impôts belges sur le résultat" +msgstr "Belgische belastingen op het resultaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7710 +msgid "Régularisations d'impôts dus ou versés" +msgstr "Regularisering van verschuldigde of betaalde belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7711 +msgid "Régularisations d'impôts estimés" +msgstr "Regularisering van geraamde belastingen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a7712 +msgid "Reprises de provisions fiscales" +msgstr "Terugneming van fiscale voorzieningen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a773 +msgid "Impôts étrangers sur le résultat" +msgstr "Buitenlandse belastingen op het resultaat" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a79 +msgid "AFFECTATION AUX RESULTATS" +msgstr "Resultaatverwerking" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a790 +msgid "Bénéfice reporté de l'exercice précédent" +msgstr "Overgedragen winst van het vorige boekjaar" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a791 +msgid "Prélèvement sur le capital et les primes d'émission" +msgstr "Onttrekking aan het kapitaal en aan de uitgiftepremies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a792 +msgid "Prélèvement sur les réserves" +msgstr "Onttrekking aan de reserves" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a793 +msgid "Perte à reporter" +msgstr "Over te dragen verlies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a794 +msgid "Intervention d'associés" +msgstr "Tussenkomst van vennoten (of van de eigenaar) in het verlies" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a_expense +msgid "Achats de matières premières" +msgstr "Aankopen van grondstoffen" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.a_root +msgid "PLAN COMPTABLE MINIMUM NORMALISE" +msgstr "MINIMUM GENORMALISEERD REKENINGSTELSEL" + +#. module: l10n_be +#: model:account.account.template,name:l10n_be.cash +msgid "Caisse principale" +msgstr "Kas" + +#. module: l10n_be +#: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_1 +msgid "Régime National" +msgstr "Nationaal" + +#. module: l10n_be +#: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_2 +msgid "Régime Extra-Communautaire" +msgstr "Export" + +#. module: l10n_be +#: model:account.fiscal.position.template,name:l10n_be.fiscal_position_template_3 +msgid "Régime Intra-Communautaire" +msgstr "Intra-Communautair" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_00 +#: model:account.tax.code.template,name:l10n_be.atctn_IIA +msgid "Opérations soumises à un régime particulier" +msgstr "Handelingen onderworpen aan een bijzondere regeling" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_01 +msgid "Opérations avec TVA à 6%" +msgstr "Aan het tarief van 6%" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_02 +msgid "Opérations avec TVA à 12%" +msgstr "Aan het tarief van 12%" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_03 +msgid "Opérations avec TVA à 21%" +msgstr "Aan het tarief van 21%" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_44 +msgid "Services intra-communautaires" +msgstr "" +"Diensten waarvoor de buitenlandse btw verschuldigd is door de medecontractant" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_45 +#: model:account.tax.code.template,name:l10n_be.atctn_IID +msgid "Opérations avec TVA due par le cocontractant" +msgstr "Handelingen waarvoor de btw verschuldigd is door de medecontractant" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_46 +#: model:account.tax.code.template,name:l10n_be.atctn_IIE +msgid "Livraisons intra-communautaire exemptées" +msgstr "" +"Vrijgestelde intracommunautaire leveringen verricht in België en ABC-verkopen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_46L +msgid "Livraisons biens intra-communautaire exemptées" +msgstr "Vrijgestelde intracommunautaire leveringen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_46T +msgid "ABC intra-communautaires" +msgstr "Vrijgestelde intracommunautaire ABC-verkopen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_47 +#: model:account.tax.code.template,name:l10n_be.atctn_IIF +msgid "Autres opérations exemptées" +msgstr "" +"Andere vrijgestelde handelingen en andere handelingen verricht in het " +"buitenland" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_48 +msgid "Notes de crédit aux opérations grilles [44] et [46]" +msgstr "Met betrekking tot de handelingen ingeschreven in de roosters 44 en 46" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_48s44 +msgid "Notes de crédit aux opérations grille [44]" +msgstr "Met betrekking tot de handelingen ingeschreven in rooster 44" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_48s46L +msgid "Notes de crédit aux opérations grille [46L]" +msgstr "Met betrekking tot de handelingen ingeschreven in rooster 46L" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_48s46T +msgid "Notes de crédit aux opérations grille [46T]" +msgstr "Met betrekking tot de handelingen ingeschreven in rooster 46T" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_49 +msgid "Notes de crédit aux opérations du point II" +msgstr "Met betrekking tot de andere handelingen van kader II" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_54 +msgid "TVA sur opérations des grilles [01], [02], [03]" +msgstr "Btw op de handelingen aangegeven in de roosters 01, 02 en 03" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_55 +msgid "TVA sur opérations des grilles [86] et [88]" +msgstr "Btw op de handelingen aangegeven in de roosters 86 en 88" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_56 +msgid "TVA sur opérations de la grille [87]" +msgstr "" +"Btw op de handelingen aangegeven in rooster 87, met uitzondering van " +"invoeren met verlegging van heffing" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_57 +#: model:account.tax.code.template,name:l10n_be.atctn_IVB +msgid "TVA relatives aux importations" +msgstr "Btw op invoeren met verlegging van heffing" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_59 +#: model:account.tax.code.template,name:l10n_be.atctn_VA +msgid "TVA déductible" +msgstr "Aftrekbare BTW" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_61 +#: model:account.tax.code.template,name:l10n_be.atctn_IVC +msgid "Diverses régularisations en faveur de l'Etat" +msgstr "Diverse btw-regularisaties in het voordeel van de Staat" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_62 +#: model:account.tax.code.template,name:l10n_be.atctn_VB +msgid "Régularisations TVA en faveur du déclarant" +msgstr "Diverse btw-regularisaties in het voordeel van de aangever" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_63 +#: model:account.tax.code.template,name:l10n_be.atctn_IVD +msgid "TVA à reverser sur notes de crédit reçues" +msgstr "Terug te storten btw vermeld op ontvangen creditnota's" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_64 +#: model:account.tax.code.template,name:l10n_be.atctn_VC +msgid "TVA à recuperer sur notes de crédit delivrées" +msgstr "Te recupereren btw vermeld op uitgereikte creditnota's" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_81 +msgid "Marchandises, matières premières et auxiliaires" +msgstr "Handelsgoederen, grond- en hulpstoffen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_82 +msgid "Services et biens divers" +msgstr "Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_83 +msgid "Biens d'investissement" +msgstr "Bedrijfsmiddelen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_84 +msgid "Notes de crédits sur opérations case [86] et [88]" +msgstr "" +"Creditnota's met betrekking tot de handelingen ingeschreven in de roosters " +"86 en 88" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_85 +msgid "Notes de crédits autres opérations" +msgstr "Creditnota's met betrekking tot de andere handelingen van kader III" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_86 +#: model:account.tax.code.template,name:l10n_be.atctn_IIIC +msgid "Acquisition intra-communautaires et ventes ABC" +msgstr "Intracommunautaire verwervingen verricht in België en ABC-verkopen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_87 +msgid "Autres opérations" +msgstr "" +"Andere inkomende handelingen waarvoor de btw verschuldigd is door de aangever" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_88 +msgid "Acquisition services intra-communautaires" +msgstr "Intracommunautaire diensten met verlegging van heffing" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_91 +msgid "TVA due pour la période du 1er au 20 décembre" +msgstr "Werkelijk verschuldigde btw voor de periode van 1 tot 20 december" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_I +msgid "Plan de Taxes Belge" +msgstr "Belgisch BTW stelsel" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_II +msgid "Opérations à la sortie" +msgstr "Uitgaande handelingen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIB +msgid "TVA due par le déclarant" +msgstr "Handelingen waarvoor de btw verschuldigd is door de aangever" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIC +msgid "TVA étrangère due par le cocontractant" +msgstr "" +"Diensten waarvoor de buitenlandse btw verschuldigd is door de medecontractant" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIG +msgid "Notes de crédit délivrées et corrections négatives" +msgstr "Uitgereikte creditnota's en de negatieve verbeteringen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_III +msgid "Opérations a l'entrée" +msgstr "Inkomende handelingen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIIA +msgid "Opérations à l'entrée y compris notes de crédit et corrections" +msgstr "" +"Inkomende handelingen rekening houdend met de ontvangen creditnota's en " +"andere verbeteringen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIIB +msgid "Notes de crédit reçues et corrections négatives" +msgstr "Ontvangen creditnota's en de negatieve verbeteringen" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIID +msgid "Autres opérations à l'entrée avec TVA due par le déclarant" +msgstr "" +"Andere inkomende handelingen waarvoor de btw verschuldigd is door de aangever" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IIIE +msgid "Services intracommunautaires avec report de perception" +msgstr "Intracommunautaire diensten met verlegging van heffing" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_IVA +msgid "TVA aux opérations en grilles 01, 02, 03, 86 et 87" +msgstr "Btw op de handelingen aangegeven in rooster 01, 02, 03, 86 et 87" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_VI +msgid "Solde (71-72)" +msgstr "Saldo (71-72)" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_VII +msgid "Acompte" +msgstr "Voorschot" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_XX +msgid "A payer - Total" +msgstr "Te betalen - Totaal" + +#. module: l10n_be +#: model:account.tax.code.template,name:l10n_be.atctn_YY +msgid "A déduire - Total" +msgstr "Af te trekken - Totaal" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00 +msgid "TVA à l'entrée 0% - Approvisionn. et marchandises" +msgstr "BTW inkomend 0% - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-C1 +msgid "VAT-IN-V81-00-C1" +msgstr "VAT-IN-V81-00-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-C2 +msgid "VAT-IN-V81-00-C2" +msgstr "VAT-IN-V81-00-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-CC +msgid "TVA à l'entrée 0% Cocontract. - Approvisionn. et marchandises" +msgstr "BTW inkomend 0% Medecontr. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-CC-C1 +msgid "VAT-IN-V81-00-CC-C1" +msgstr "VAT-IN-V81-00-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-CC-C2 +msgid "VAT-IN-V81-00-CC-C2" +msgstr "VAT-IN-V81-00-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-CC-C3 +msgid "VAT-IN-V81-00-CC-C3" +msgstr "VAT-IN-V81-00-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-EU +msgid "TVA à l'entrée 0% Intracomm. - Approvisionn. et marchandises" +msgstr "BTW inkomend 0% Intracomm. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-EU-C1 +msgid "VAT-IN-V81-00-EU-C1" +msgstr "VAT-IN-V81-00-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-EU-C2 +msgid "VAT-IN-V81-00-EU-C2" +msgstr "VAT-IN-V81-00-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-EU-C3 +msgid "VAT-IN-V81-00-EU-C3" +msgstr "VAT-IN-V81-00-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-ROW-CC +msgid "TVA à l'entrée 0% Hors EU - Approvisionn. et marchandises" +msgstr "BTW inkomend 0% Buiten EU - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-ROW-CC-C1 +msgid "VAT-IN-V81-00-ROW-CC-C1" +msgstr "VAT-IN-V81-00-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-00-ROW-CC-C2 +msgid "VAT-IN-V81-00-ROW-CC-C2" +msgstr "VAT-IN-V81-00-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06 +msgid "TVA Déductible 6% - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 6% - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-C1 +msgid "VAT-IN-V81-06-C1" +msgstr "VAT-IN-V81-06-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-C2 +msgid "VAT-IN-V81-06-C2" +msgstr "VAT-IN-V81-06-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-CC +msgid "TVA Déductible 6% Cocontract. - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 6% Medecontr. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-CC-C1 +msgid "VAT-IN-V81-06-CC-C1" +msgstr "VAT-IN-V81-06-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-CC-C2 +msgid "VAT-IN-V81-06-CC-C2" +msgstr "VAT-IN-V81-06-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-CC-C3 +msgid "VAT-IN-V81-06-CC-C3" +msgstr "VAT-IN-V81-06-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-EU +msgid "TVA Déductible 6% Intracomm. - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 6% Intracomm. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-EU-C1 +msgid "VAT-IN-V81-06-EU-C1" +msgstr "VAT-IN-V81-06-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-EU-C2 +msgid "VAT-IN-V81-06-EU-C2" +msgstr "VAT-IN-V81-06-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-EU-C3 +msgid "VAT-IN-V81-06-EU-C3" +msgstr "VAT-IN-V81-06-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-ROW-CC +msgid "TVA Déductible 6% Hors EU - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 6% Buiten EU - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-ROW-CC-C1 +msgid "VAT-IN-V81-06-ROW-CC-C1" +msgstr "VAT-IN-V81-06-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-ROW-CC-C2 +msgid "VAT-IN-V81-06-ROW-CC-C2" +msgstr "VAT-IN-V81-06-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-06-ROW-CC-C3 +msgid "VAT-IN-V81-06-ROW-CC-C3" +msgstr "VAT-IN-V81-06-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12 +msgid "TVA Déductible 12% - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 12% - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-C1 +msgid "VAT-IN-V81-12-C1" +msgstr "VAT-IN-V81-12-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-C2 +msgid "VAT-IN-V81-12-C2" +msgstr "VAT-IN-V81-12-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-CC +msgid "TVA Déductible 12% Cocontract. - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 12% Medecontr. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-CC-C1 +msgid "VAT-IN-V81-12-CC-C1" +msgstr "VAT-IN-V81-12-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-CC-C2 +msgid "VAT-IN-V81-12-CC-C2" +msgstr "VAT-IN-V81-12-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-CC-C3 +msgid "VAT-IN-V81-12-CC-C3" +msgstr "VAT-IN-V81-12-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-EU +msgid "TVA Déductible 12% Intracomm. - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 12% Intracomm. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-EU-C1 +msgid "VAT-IN-V81-12-EU-C1" +msgstr "VAT-IN-V81-12-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-EU-C2 +msgid "VAT-IN-V81-12-EU-C2" +msgstr "VAT-IN-V81-12-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-EU-C3 +msgid "VAT-IN-V81-12-EU-C3" +msgstr "VAT-IN-V81-12-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-ROW-CC +msgid "TVA Déductible 12% Hors EU - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 12% Buiten EU - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-ROW-CC-C1 +msgid "VAT-IN-V81-12-ROW-CC-C1" +msgstr "VAT-IN-V81-12-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-ROW-CC-C2 +msgid "VAT-IN-V81-12-ROW-CC-C2" +msgstr "VAT-IN-V81-12-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-12-ROW-CC-C3 +msgid "VAT-IN-V81-12-ROW-CC-C3" +msgstr "VAT-IN-V81-12-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21 +msgid "TVA Déductible 21% - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 21% - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-C1 +msgid "VAT-IN-V81-21-C1" +msgstr "VAT-IN-V81-21-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-C2 +msgid "VAT-IN-V81-21-C2" +msgstr "VAT-IN-V81-21-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-CC +msgid "TVA Déductible 21% Cocontract. - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 21% Medecontr. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-CC-C1 +msgid "VAT-IN-V81-21-CC-C1" +msgstr "VAT-IN-V81-21-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-CC-C2 +msgid "VAT-IN-V81-21-CC-C2" +msgstr "VAT-IN-V81-21-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-CC-C3 +msgid "VAT-IN-V81-21-CC-C3" +msgstr "VAT-IN-V81-21-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-EU +msgid "TVA Déductible 21% Intracomm. - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 21% Intracomm. - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-EU-C1 +msgid "VAT-IN-V81-21-EU-C1" +msgstr "VAT-IN-V81-21-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-EU-C2 +msgid "VAT-IN-V81-21-EU-C2" +msgstr "VAT-IN-V81-21-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-EU-C3 +msgid "VAT-IN-V81-21-EU-C3" +msgstr "VAT-IN-V81-21-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-ROW-CC +msgid "TVA Déductible 21% Hors EU - Approvisionn. et marchandises" +msgstr "BTW aftrekbaar 21% Buiten EU - Grondstoffen en handelsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-ROW-CC-C1 +msgid "VAT-IN-V81-21-ROW-CC-C1" +msgstr "VAT-IN-V81-21-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-ROW-CC-C2 +msgid "VAT-IN-V81-21-ROW-CC-C2" +msgstr "VAT-IN-V81-21-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V81-21-ROW-CC-C3 +msgid "VAT-IN-V81-21-ROW-CC-C3" +msgstr "VAT-IN-V81-21-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-CC +msgid "TVA à l'entrée 0% Cocontract. - Services and other goods" +msgstr "BTW inkomend 0% Medecontr. - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-CC-C1 +msgid "VAT-IN-V82-00-CC-C1" +msgstr "VAT-IN-V82-00-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-CC-C2 +msgid "VAT-IN-V82-00-CC-C2" +msgstr "VAT-IN-V82-00-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-CC-C3 +msgid "VAT-IN-V82-00-CC-C3" +msgstr "VAT-IN-V82-00-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-G +msgid "TVA à l'entrée 0% Intracomm. - Biens divers" +msgstr "BTW inkomend 0% Intracomm. - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-G-C1 +msgid "VAT-IN-V82-00-EU-G-C1" +msgstr "VAT-IN-V82-00-EU-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-G-C2 +msgid "VAT-IN-V82-00-EU-G-C2" +msgstr "VAT-IN-V82-00-EU-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-G-C3 +msgid "VAT-IN-V82-00-EU-G-C3" +msgstr "VAT-IN-V82-00-EU-G-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-S +msgid "TVA à l'entrée 0% Intracomm. - Services" +msgstr "BTW inkomend 0% Intracomm. - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-S-C1 +msgid "VAT-IN-V82-00-EU-S-C1" +msgstr "VAT-IN-V82-00-EU-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-S-C2 +msgid "VAT-IN-V82-00-EU-S-C2" +msgstr "VAT-IN-V82-00-EU-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-EU-S-C3 +msgid "VAT-IN-V82-00-EU-S-C3" +msgstr "VAT-IN-V82-00-EU-S-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-G +msgid "TVA à l'entrée 0% - Biens divers" +msgstr "BTW inkomend 0% - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-G-C1 +msgid "VAT-IN-V82-00-G-C1" +msgstr "VAT-IN-V82-00-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-G-C2 +msgid "VAT-IN-V82-00-G-C2" +msgstr "VAT-IN-V82-00-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-ROW-CC +msgid "TVA à l'entrée 0% Hors EU - Services and other goods" +msgstr "BTW inkomend 0% Buiten EU - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-ROW-CC-C1 +msgid "VAT-IN-V82-00-ROW-CC-C1" +msgstr "VAT-IN-V82-00-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-ROW-CC-C2 +msgid "VAT-IN-V82-00-ROW-CC-C2" +msgstr "VAT-IN-V82-00-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-S +msgid "TVA à l'entrée 0% - Services" +msgstr "BTW inkomend 0% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-S-C1 +msgid "VAT-IN-V82-00-S-C1" +msgstr "VAT-IN-V82-00-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-00-S-C2 +msgid "VAT-IN-V82-00-S-C2" +msgstr "VAT-IN-V82-00-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-CC +msgid "TVA Déductible 6% Cocontract. - Services and other goods" +msgstr "BTW aftrekbaar 6% Medecontr. - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-CC-C1 +msgid "VAT-IN-V82-06-CC-C1" +msgstr "VAT-IN-V82-06-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-CC-C2 +msgid "VAT-IN-V82-06-CC-C2" +msgstr "VAT-IN-V82-06-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-CC-C3 +msgid "VAT-IN-V82-06-CC-C3" +msgstr "VAT-IN-V82-06-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-G +msgid "TVA Déductible 6% Intracomm. - Biens divers" +msgstr "BTW aftrekbaar 6% Intracomm. - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-G-C1 +msgid "VAT-IN-V82-06-EU-G-C1" +msgstr "VAT-IN-V82-06-EU-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-G-C2 +msgid "VAT-IN-V82-06-EU-G-C2" +msgstr "VAT-IN-V82-06-EU-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-G-C3 +msgid "VAT-IN-V82-06-EU-G-C3" +msgstr "VAT-IN-V82-06-EU-G-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-S +msgid "TVA Déductible 6% Intracomm. - Services" +msgstr "BTW aftrekbaar 6% Intracomm. - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-S-C1 +msgid "VAT-IN-V82-06-EU-S-C1" +msgstr "VAT-IN-V82-06-EU-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-S-C2 +msgid "VAT-IN-V82-06-EU-S-C2" +msgstr "VAT-IN-V82-06-EU-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-EU-S-C3 +msgid "VAT-IN-V82-06-EU-S-C3" +msgstr "VAT-IN-V82-06-EU-S-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-G +msgid "TVA Déductible 6% - Biens divers" +msgstr "BTW aftrekbaar 6% - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-G-C1 +msgid "VAT-IN-V82-06-G-C1" +msgstr "VAT-IN-V82-06-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-G-C2 +msgid "VAT-IN-V82-06-G-C2" +msgstr "VAT-IN-V82-06-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-ROW-CC +msgid "TVA Déductible 6% Hors EU - Services and other goods" +msgstr "BTW afrekbaar 6% Buiten EU - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-ROW-CC-C1 +msgid "VAT-IN-V82-06-ROW-CC-C1" +msgstr "VAT-IN-V82-06-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-ROW-CC-C2 +msgid "VAT-IN-V82-06-ROW-CC-C2" +msgstr "VAT-IN-V82-06-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-ROW-CC-C3 +msgid "VAT-IN-V82-06-ROW-CC-C3" +msgstr "VAT-IN-V82-06-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-S +msgid "TVA Déductible 6% - Services" +msgstr "BTW aftrekbaar 6% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-S-C1 +msgid "VAT-IN-V82-06-S-C1" +msgstr "VAT-IN-V82-06-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-06-S-C2 +msgid "VAT-IN-V82-06-S-C2" +msgstr "VAT-IN-V82-06-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-CC +msgid "TVA Déductible 12% Cocontract. - Services and other goods" +msgstr "BTW aftrekbaar 12% Medecontr. - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-CC-C1 +msgid "VAT-IN-V82-12-CC-C1" +msgstr "VAT-IN-V82-12-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-CC-C2 +msgid "VAT-IN-V82-12-CC-C2" +msgstr "VAT-IN-V82-12-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-CC-C3 +msgid "VAT-IN-V82-12-CC-C3" +msgstr "VAT-IN-V82-12-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-G +msgid "TVA Déductible 12% Intracomm. - Biens divers" +msgstr "BTW aftrekbaar 12% Intracomm. - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-G-C1 +msgid "VAT-IN-V82-12-EU-G-C1" +msgstr "VAT-IN-V82-12-EU-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-G-C2 +msgid "VAT-IN-V82-12-EU-G-C2" +msgstr "VAT-IN-V82-12-EU-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-G-C3 +msgid "VAT-IN-V82-12-EU-G-C3" +msgstr "VAT-IN-V82-12-EU-G-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-S +msgid "TVA Déductible 12% Intracomm. - Services" +msgstr "BTW aftrekbaar 12% Intracomm. - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-S-C1 +msgid "VAT-IN-V82-12-EU-S-C1" +msgstr "VAT-IN-V82-12-EU-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-S-C2 +msgid "VAT-IN-V82-12-EU-S-C2" +msgstr "VAT-IN-V82-12-EU-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-EU-S-C3 +msgid "VAT-IN-V82-12-EU-S-C3" +msgstr "VAT-IN-V82-12-EU-S-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-G +msgid "TVA Déductible 12% - Biens divers" +msgstr "BTW aftrekbaar 12% - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-G-C1 +msgid "VAT-IN-V82-12-G-C1" +msgstr "VAT-IN-V82-12-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-G-C2 +msgid "VAT-IN-V82-12-G-C2" +msgstr "VAT-IN-V82-12-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-ROW-CC +msgid "TVA Déductible 12% Hors EU - Services and other goods" +msgstr "BTW afrekbaar 12% Buiten EU - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-ROW-CC-C1 +msgid "VAT-IN-V82-12-ROW-CC-C1" +msgstr "VAT-IN-V82-12-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-ROW-CC-C2 +msgid "VAT-IN-V82-12-ROW-CC-C2" +msgstr "VAT-IN-V82-12-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-ROW-CC-C3 +msgid "VAT-IN-V82-12-ROW-CC-C3" +msgstr "VAT-IN-V82-12-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-S +msgid "TVA Déductible 12% - Services" +msgstr "BTW aftrekbaar 12% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-S-C1 +msgid "VAT-IN-V82-12-S-C1" +msgstr "VAT-IN-V82-12-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-12-S-C2 +msgid "VAT-IN-V82-12-S-C2" +msgstr "VAT-IN-V82-12-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-CC +msgid "TVA Déductible 21% Cocontract. - Services and other goods" +msgstr "BTW aftrekbaar 21% Medecontr. - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-CC-C1 +msgid "VAT-IN-V82-21-CC-C1" +msgstr "VAT-IN-V82-21-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-CC-C2 +msgid "VAT-IN-V82-21-CC-C2" +msgstr "VAT-IN-V82-21-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-CC-C3 +msgid "VAT-IN-V82-21-CC-C3" +msgstr "VAT-IN-V82-21-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-G +msgid "TVA Déductible 21% Intracomm. - Biens divers" +msgstr "BTW aftrekbaar 21% Intracomm. - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-G-C1 +msgid "VAT-IN-V82-21-EU-G-C1" +msgstr "VAT-IN-V82-21-EU-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-G-C2 +msgid "VAT-IN-V82-21-EU-G-C2" +msgstr "VAT-IN-V82-21-EU-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-G-C3 +msgid "VAT-IN-V82-21-EU-G-C3" +msgstr "VAT-IN-V82-21-EU-G-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-S +msgid "TVA Déductible 21% Intracomm. - Services" +msgstr "BTW aftrekbaar 21% Intracomm. - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-S-C1 +msgid "VAT-IN-V82-21-EU-S-C1" +msgstr "VAT-IN-V82-21-EU-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-S-C2 +msgid "VAT-IN-V82-21-EU-S-C2" +msgstr "VAT-IN-V82-21-EU-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-EU-S-C3 +msgid "VAT-IN-V82-21-EU-S-C3" +msgstr "VAT-IN-V82-21-EU-S-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-G +msgid "TVA Déductible 21% - Biens divers" +msgstr "BTW aftrekbaar 21% - Diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-G-C1 +msgid "VAT-IN-V82-21-G-C1" +msgstr "VAT-IN-V82-21-G-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-G-C2 +msgid "VAT-IN-V82-21-G-C2" +msgstr "VAT-IN-V82-21-G-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-ROW-CC +msgid "TVA Déductible 21% Hors EU - Services and other goods" +msgstr "BTW afrekbaar 21% Buiten EU - Diensten en diverse goederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-ROW-CC-C1 +msgid "VAT-IN-V82-21-ROW-CC-C1" +msgstr "VAT-IN-V82-21-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-ROW-CC-C2 +msgid "VAT-IN-V82-21-ROW-CC-C2" +msgstr "VAT-IN-V82-21-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-ROW-CC-C3 +msgid "VAT-IN-V82-21-ROW-CC-C3" +msgstr "VAT-IN-V82-21-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-S +msgid "TVA Déductible 21% - Services" +msgstr "BTW aftrekbaar 21% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-S-C1 +msgid "VAT-IN-V82-21-S-C1" +msgstr "VAT-IN-V82-21-S-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-21-S-C2 +msgid "VAT-IN-V82-21-S-C2" +msgstr "VAT-IN-V82-21-S-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-EXC +msgid "TVA Entrant - Frais de voiture - VAT 50% Non Deductible (Price Excl.)" +msgstr "BTW inkomend - onkosten wagen - BTW 50% Niet-aftrekbaar (Prijs Excl.)" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-EXC-C1 +msgid "Frais de voiture - VAT 50% Non Deductible" +msgstr "Onkosten wagen - BTW 50% Niet aftrekbaar" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-EXC-C2 +msgid "Frais de voiture - VAT 50% Deductible (Price Excl.)" +msgstr "Onkosten wagen - BTW 50% Aftrekbaar (Prijs Excl.)" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-EXC-C3 +msgid "Frais de voiture - Montant de la note de crédit (Price Excl.)" +msgstr "Onkosten wagen - Bedrag creditnota (Prijs Excl.)" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-INC +msgid "TVA Entrant - Frais de voiture - VAT 50% Non Deductible (Price Incl.)" +msgstr "BTW inkomend - onkosten wagen - BTW 50% Niet aftrekbaar (Prijs Incl.)" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-INC-C1 +msgid "Frais de voiture - VAT 50% Deductible" +msgstr "Onkosten wagen - BTW 50% Aftrekbaar" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V82-CAR-INC-C2 +msgid "Frais de voiture - Montant de la note de crédit" +msgstr "Onkosten wagen - Bedrag creditnota" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00 +msgid "TVA à l'entrée 0% - Biens d'investissement" +msgstr "BTW inkomend 0% - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-C1 +msgid "VAT-IN-V83-00-C1" +msgstr "VAT-IN-V83-00-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-C2 +msgid "VAT-IN-V83-00-C2" +msgstr "VAT-IN-V83-00-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-CC +msgid "TVA à l'entrée 0% Cocontract. - Biens d'investissement" +msgstr "BTW inkomend 0% Medecontr. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-CC-C1 +msgid "VAT-IN-V83-00-CC-C1" +msgstr "VAT-IN-V83-00-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-CC-C2 +msgid "VAT-IN-V83-00-CC-C2" +msgstr "VAT-IN-V83-00-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-CC-C3 +msgid "VAT-IN-V83-00-CC-C3" +msgstr "VAT-IN-V83-00-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-EU +msgid "TVA à l'entrée 0% Intracomm. - Biens d'investissement" +msgstr "BTW inkomend 0% Intracomm. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-EU-C1 +msgid "VAT-IN-V83-00-EU-C1" +msgstr "VAT-IN-V83-00-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-EU-C2 +msgid "VAT-IN-V83-00-EU-C2" +msgstr "VAT-IN-V83-00-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-EU-C3 +msgid "VAT-IN-V83-00-EU-C3" +msgstr "VAT-IN-V83-00-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-ROW-CC +msgid "TVA à l'entrée 0% Hors EU - Biens d'investissement" +msgstr "BTW inkomend 0% Buiten EU - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-ROW-CC-C1 +msgid "VAT-IN-V83-00-ROW-CC-C1" +msgstr "VAT-IN-V83-00-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-00-ROW-CC-C2 +msgid "VAT-IN-V83-00-ROW-CC-C2" +msgstr "VAT-IN-V83-00-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06 +msgid "TVA Déductible 6% - Biens d'investissement" +msgstr "BTW aftrekbaar 6% - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-C1 +msgid "VAT-IN-V83-06-C1" +msgstr "VAT-IN-V83-06-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-C2 +msgid "VAT-IN-V83-06-C2" +msgstr "VAT-IN-V83-06-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-CC +msgid "TVA Déductible 6% Cocontract. - Biens d'investissement" +msgstr "BTW aftrekbaar 6% Medecontr. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-CC-C1 +msgid "VAT-IN-V83-06-CC-C1" +msgstr "VAT-IN-V83-06-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-CC-C2 +msgid "VAT-IN-V83-06-CC-C2" +msgstr "VAT-IN-V83-06-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-CC-C3 +msgid "VAT-IN-V83-06-CC-C3" +msgstr "VAT-IN-V83-06-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-EU +msgid "TVA Déductible 6% Intracomm. - Biens d'investissement" +msgstr "BTW aftrekbaar 6% Intracomm. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-EU-C1 +msgid "VAT-IN-V83-06-EU-C1" +msgstr "VAT-IN-V83-06-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-EU-C2 +msgid "VAT-IN-V83-06-EU-C2" +msgstr "VAT-IN-V83-06-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-EU-C3 +msgid "VAT-IN-V83-06-EU-C3" +msgstr "VAT-IN-V83-06-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-ROW-CC +msgid "TVA Déductible 6% Hors EU - Biens d'investissement" +msgstr "BTW aftrekbaar 6% Buiten EU - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-ROW-CC-C1 +msgid "VAT-IN-V83-06-ROW-CC-C1" +msgstr "VAT-IN-V83-06-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-ROW-CC-C2 +msgid "VAT-IN-V83-06-ROW-CC-C2" +msgstr "VAT-IN-V83-06-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-06-ROW-CC-C3 +msgid "VAT-IN-V83-06-ROW-CC-C3" +msgstr "VAT-IN-V83-06-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12 +msgid "TVA Déductible 12% - Biens d'investissement" +msgstr "BTW aftrekbaar 12% - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-C1 +msgid "VAT-IN-V83-12-C1" +msgstr "VAT-IN-V83-12-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-C2 +msgid "VAT-IN-V83-12-C2" +msgstr "VAT-IN-V83-12-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-CC +msgid "TVA Déductible 12% Cocontract. - Biens d'investissement" +msgstr "BTW aftrekbaar 12% Medecontr. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-CC-C1 +msgid "VAT-IN-V83-12-CC-C1" +msgstr "VAT-IN-V83-12-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-CC-C2 +msgid "VAT-IN-V83-12-CC-C2" +msgstr "VAT-IN-V83-12-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-CC-C3 +msgid "VAT-IN-V83-12-CC-C3" +msgstr "VAT-IN-V83-12-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-EU +msgid "TVA Déductible 12% Intracomm. - Biens d'investissement" +msgstr "BTW aftrekbaar 12% Intracomm. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-EU-C1 +msgid "VAT-IN-V83-12-EU-C1" +msgstr "VAT-IN-V83-12-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-EU-C2 +msgid "VAT-IN-V83-12-EU-C2" +msgstr "VAT-IN-V83-12-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-EU-C3 +msgid "VAT-IN-V83-12-EU-C3" +msgstr "VAT-IN-V83-12-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-ROW-CC +msgid "TVA Déductible 12% Hors EU - Biens d'investissement" +msgstr "BTW aftrekbaar 12% Buiten EU - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-ROW-CC-C1 +msgid "VAT-IN-V83-12-ROW-CC-C1" +msgstr "VAT-IN-V83-12-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-ROW-CC-C2 +msgid "VAT-IN-V83-12-ROW-CC-C2" +msgstr "VAT-IN-V83-12-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-12-ROW-CC-C3 +msgid "VAT-IN-V83-12-ROW-CC-C3" +msgstr "VAT-IN-V83-12-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21 +msgid "TVA Déductible 21% - Biens d'investissement" +msgstr "BTW aftrekbaar 21% - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-C1 +msgid "VAT-IN-V83-21-C1" +msgstr "VAT-IN-V83-21-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-C2 +msgid "VAT-IN-V83-21-C2" +msgstr "VAT-IN-V83-21-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-CC +msgid "TVA Déductible 21% Cocontract. - Biens d'investissement" +msgstr "BTW aftrekbaar 21% Medecontr. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-CC-C1 +msgid "VAT-IN-V83-21-CC-C1" +msgstr "VAT-IN-V83-21-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-CC-C2 +msgid "VAT-IN-V83-21-CC-C2" +msgstr "VAT-IN-V83-21-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-CC-C3 +msgid "VAT-IN-V83-21-CC-C3" +msgstr "VAT-IN-V83-21-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-EU +msgid "TVA Déductible 21% Intracomm. - Biens d'investissement" +msgstr "BTW aftrekbaar 21% Intracomm. - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-EU-C1 +msgid "VAT-IN-V83-21-EU-C1" +msgstr "VAT-IN-V83-21-EU-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-EU-C2 +msgid "VAT-IN-V83-21-EU-C2" +msgstr "VAT-IN-V83-21-EU-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-EU-C3 +msgid "VAT-IN-V83-21-EU-C3" +msgstr "VAT-IN-V83-21-EU-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-ROW-CC +msgid "TVA Déductible 21% Hors EU - Biens d'investissement" +msgstr "BTW aftrekbaar 21% Buiten EU - Investeringsgoederen" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-ROW-CC-C1 +msgid "VAT-IN-V83-21-ROW-CC-C1" +msgstr "VAT-IN-V83-21-ROW-CC-C1" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-ROW-CC-C2 +msgid "VAT-IN-V83-21-ROW-CC-C2" +msgstr "VAT-IN-V83-21-ROW-CC-C2" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-IN-V83-21-ROW-CC-C3 +msgid "VAT-IN-V83-21-ROW-CC-C3" +msgstr "VAT-IN-V83-21-ROW-CC-C3" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-CC +msgid "VAT 0% Cocontractant" +msgstr "BTW 0% Medecontractant" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-EU-L +msgid "Marchandises EU (Code L)" +msgstr "Handelsgoederen EU (Code L)" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-EU-S +msgid "Services EU" +msgstr "Diensten EU" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-EU-T +msgid "Marchandises EU (Code T)" +msgstr "Handelsgoederen EU (Code T)" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-L +msgid "VAT 0%" +msgstr "BTW 0%" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-ROW +msgid "Export hors EU" +msgstr "Export Buiten EU" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-00-S +msgid "VAT 0% - Services" +msgstr "BTW 0% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-06-L +msgid "VAT 6%" +msgstr "BTW 6%" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-06-S +msgid "VAT 6% - Services" +msgstr "BTW 6% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-12-L +msgid "VAT 12%" +msgstr "BTW 12%" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-12-S +msgid "VAT 12% - Services" +msgstr "BTW 12% - Diensten" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-21-L +msgid "VAT 21%" +msgstr "BTW 21%" + +#. module: l10n_be +#: model:account.tax.template,name:l10n_be.attn_VAT-OUT-21-S +msgid "VAT 21% - Services" +msgstr "BTW 21% - Diensten" diff --git a/addons/l10n_be/wizard/account_wizard.xml b/addons/l10n_be/wizard/account_wizard.xml new file mode 100644 index 00000000000..dde7a77516a --- /dev/null +++ b/addons/l10n_be/wizard/account_wizard.xml @@ -0,0 +1,7 @@ + + + + open + + + diff --git a/addons/l10n_be/wizard/l10n_be_vat_intra.py b/addons/l10n_be/wizard/l10n_be_vat_intra.py index a572c3b83b4..56ed91e13fb 100644 --- a/addons/l10n_be/wizard/l10n_be_vat_intra.py +++ b/addons/l10n_be/wizard/l10n_be_vat_intra.py @@ -202,11 +202,11 @@ class partner_vat_intra(osv.osv_memory): 'vatnum': row['vat'][2:].replace(' ','').upper(), 'vat': row['vat'], 'country': row['vat'][:2], - 'amount': amt, + 'amount': round(amt,2), 'intra_code': row['intra_code'], 'code': intra_code}) - xmldict.update({'dnum': dnum, 'clientnbr': str(seq), 'amountsum': amount_sum, 'partner_wo_vat': p_count}) + xmldict.update({'dnum': dnum, 'clientnbr': str(seq), 'amountsum': round(amount_sum,2), 'partner_wo_vat': p_count}) return xmldict def create_xml(self, cursor, user, ids, context=None): diff --git a/addons/l10n_be_hr_payroll_account/__openerp__.py b/addons/l10n_be_hr_payroll_account/__openerp__.py index 7ba7caaa3e0..f9e078a0e49 100644 --- a/addons/l10n_be_hr_payroll_account/__openerp__.py +++ b/addons/l10n_be_hr_payroll_account/__openerp__.py @@ -32,6 +32,7 @@ Accounting Data for Belgian Payroll Rules. 'auto_install': True, 'demo': [], 'data':[ + 'l10n_be_wizard.yml', 'l10n_be_hr_payroll_account_data.xml', 'data/hr.salary.rule.csv', ], diff --git a/addons/l10n_be/l10n_be_wizard.yml b/addons/l10n_be_hr_payroll_account/l10n_be_wizard.yml similarity index 100% rename from addons/l10n_be/l10n_be_wizard.yml rename to addons/l10n_be_hr_payroll_account/l10n_be_wizard.yml diff --git a/addons/l10n_be_invoice_bba/invoice.py b/addons/l10n_be_invoice_bba/invoice.py index fca743928bf..854593a87cc 100644 --- a/addons/l10n_be_invoice_bba/invoice.py +++ b/addons/l10n_be_invoice_bba/invoice.py @@ -207,6 +207,19 @@ class account_invoice(osv.osv): '\nPlease create manually a unique BBA Structured Communication.')) return super(account_invoice, self).write(cr, uid, ids, vals, context) + def copy(self, cr, uid, id, default=None, context=None): + default = default or {} + invoice = self.browse(cr, uid, id, context=context) + if invoice.type in ['out_invoice']: + reference_type = invoice.reference_type or 'none' + default['reference_type'] = reference_type + if reference_type == 'bba': + partner = invoice.partner_id + default['reference'] = self.generate_bbacomm(cr, uid, id, + invoice.type, reference_type, + partner.id, '', context=context)['value']['reference'] + return super(account_invoice, self).copy(cr, uid, id, default, context=context) + _columns = { 'reference': fields.char('Communication', size=64, help="The partner reference of this invoice."), 'reference_type': fields.selection(_get_reference_type, 'Communication Type', diff --git a/addons/l10n_bo/i18n/en_GB.po b/addons/l10n_bo/i18n/en_GB.po new file mode 100644 index 00000000000..615e9846952 --- /dev/null +++ b/addons/l10n_bo/i18n/en_GB.po @@ -0,0 +1,53 @@ +# English (United Kingdom) translation for openobject-addons +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2013-08-23 16:45+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: English (United Kingdom) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-08-24 05:03+0000\n" +"X-Generator: Launchpad (build 16738)\n" + +#. module: l10n_ar +#: model:ir.module.module,description:l10n_ar.module_meta_information +msgid "" +"\n" +" Argentinian Accounting : chart of Account\n" +" " +msgstr "" +"\n" +" Argentinian Accounting : chart of Account\n" +" " + +#. module: l10n_ar +#: model:ir.module.module,shortdesc:l10n_ar.module_meta_information +msgid "Argentinian Chart of Account" +msgstr "Argentinian Chart of Account" + +#. module: l10n_ar +#: model:ir.actions.todo,note:l10n_ar.config_call_account_template_in_minimal +msgid "" +"Generate Chart of Accounts from a Chart Template. You will be asked to pass " +"the name of the company, the chart template to follow, the no. of digits to " +"generate the code for your accounts and Bank account, currency to create " +"Journals. Thus,the pure copy of chart Template is generated.\n" +"\tThis is the same wizard that runs from Financial " +"Management/Configuration/Financial Accounting/Financial Accounts/Generate " +"Chart of Accounts from a Chart Template." +msgstr "" +"Generate Chart of Accounts from a Chart Template. You will be asked to pass " +"the name of the company, the chart template to follow, the no. of digits to " +"generate the code for your accounts and Bank account, currency to create " +"Journals. Thus,the pure copy of chart Template is generated.\n" +"\tThis is the same wizard that runs from Financial " +"Management/Configuration/Financial Accounting/Financial Accounts/Generate " +"Chart of Accounts from a Chart Template." diff --git a/addons/l10n_ca/__openerp__.py b/addons/l10n_ca/__openerp__.py index 945327a06bc..6ba9907b088 100644 --- a/addons/l10n_ca/__openerp__.py +++ b/addons/l10n_ca/__openerp__.py @@ -20,7 +20,7 @@ ############################################################################## { 'name': 'Canada - Accounting', - 'version': '1.1', + 'version': '1.2', 'author': 'Savoir-faire Linux', 'website': 'http://www.savoirfairelinux.com', 'category': 'Localization/Account Charts', @@ -29,6 +29,28 @@ This is the module to manage the English and French - Canadian accounting chart =========================================================================================== Canadian accounting charts and localizations. + +Fiscal positions +---------------- + +When considering taxes to be applied, it is the province where the delivery occurs that matters. +Therefore we decided to implement the most common case in the fiscal positions: delivery is the +responsibility of the supplier and done at the customer location. + +Some examples: + +1) You have a customer from another province and you deliver to his location. +On the customer, set the fiscal position to his province. + +2) You have a customer from another province. However this customer comes to your location +with their truck to pick up products. On the customer, do not set any fiscal position. + +3) An international supplier doesn't charge you any tax. Taxes are charged at customs +by the customs broker. On the supplier, set the fiscal position to International. + +4) An international supplier charge you your provincial tax. They are registered with your +provincial government and remit taxes themselves. On the supplier, do not set any fiscal +position. """, 'depends': [ 'base', diff --git a/addons/l10n_ca/account_chart_en.xml b/addons/l10n_ca/account_chart_en.xml index 0a596bcd4f6..a929e213842 100644 --- a/addons/l10n_ca/account_chart_en.xml +++ b/addons/l10n_ca/account_chart_en.xml @@ -131,7 +131,7 @@ other - + GST receivable @@ -140,17 +140,43 @@ other - + PST/QST receivable 1183 + view + + HST receivable + + + + 11831 + other - - HST receivable + + HST receivable - 13% + + + + 11832 + + other + + + HST receivable - 14% + + + + 11833 + + other + + + HST receivable - 15% @@ -257,7 +283,7 @@ other - + GST to pay @@ -266,17 +292,43 @@ other - + PST/QST to pay 2133 + view + + HST to pay + + + + 21331 + other - - HST to pay + + HST to pay - 13% + + + + 21332 + + other + + + HST to pay - 14% + + + + 21333 + + other + + + HST to pay - 15% diff --git a/addons/l10n_ca/account_chart_fr.xml b/addons/l10n_ca/account_chart_fr.xml index c168833b733..57e6c84aa71 100644 --- a/addons/l10n_ca/account_chart_fr.xml +++ b/addons/l10n_ca/account_chart_fr.xml @@ -130,7 +130,7 @@ other - + TPS à recevoir @@ -139,17 +139,43 @@ other - + TVP/TVQ à recevoir 1183 + view + + TVH à recevoir + + + + 11831 + other - - TVH à recevoir + + TVH à recevoir - 13% + + + + 11832 + + other + + + TVH à recevoir - 14% + + + + 11833 + + other + + + TVH à recevoir - 15% @@ -256,7 +282,7 @@ other - + TPS à payer @@ -265,17 +291,43 @@ other - + TVP/TVQ à payer 2133 + view + + TVH à payer + + + + 21331 + other - - TVH à payer + + TVH à payer - 13% + + + + 21332 + + other + + + TVH à payer - 14% + + + + 21333 + + other + + + TVH à payer - 15% @@ -672,7 +724,7 @@ 5112 other - + Achats dans des provinces harmonisées @@ -680,7 +732,7 @@ 5113 other - + Achats dans des provinces non-harmonisées @@ -688,7 +740,7 @@ 5114 other - + Achats à l'étranger diff --git a/addons/l10n_ca/account_tax_code_en.xml b/addons/l10n_ca/account_tax_code_en.xml index d446f431c96..77698ae14de 100644 --- a/addons/l10n_ca/account_tax_code_en.xml +++ b/addons/l10n_ca/account_tax_code_en.xml @@ -31,6 +31,21 @@ + + HST paid - 13% + + + + + HST paid - 14% + + + + + HST paid - 15% + + + Taxes received @@ -51,6 +66,21 @@ + + HST received - 13% + + + + + HST received - 14% + + + + + HST received - 15% + + + Taxes Base @@ -76,6 +106,21 @@ + + Base of HST for Sales - 13% + + + + + Base of HST for Sales - 14% + + + + + Base of HST for Sales - 15% + + + Base of Purchases Tax @@ -96,5 +141,20 @@ + + Base of HST for Purchases - 13% + + + + + Base of HST for Purchases - 14% + + + + + Base of HST for Purchases - 15% + + + diff --git a/addons/l10n_ca/account_tax_code_fr.xml b/addons/l10n_ca/account_tax_code_fr.xml index 2b6acd2b992..ac4414922e2 100644 --- a/addons/l10n_ca/account_tax_code_fr.xml +++ b/addons/l10n_ca/account_tax_code_fr.xml @@ -16,41 +16,71 @@ - + TPS payée - + TVP/TVQ payée - + TVH payée + + TVH payée - 13% + + + + + TVH payée - 14% + + + + + TVH payée - 15% + + + Taxes reçues - + TPS reçue - + TVP/TVQ reçue - + TVH reçue + + TVH reçue - 13% + + + + + TVH reçue - 14% + + + + + TVH reçue - 15% + + + Base de taxes @@ -61,40 +91,70 @@ - + Base de la TPS pour les ventes - + Base de la TVP/TVQ pour les ventes - + Base de la TVH pour les ventes + + Base de la TVH pour les ventes - 13% + + + + + Base de la TVH pour les ventes - 14% + + + + + Base de la TVH pour les ventes - 15% + + + Base des taxes d'achats - + Base de la TPS pour les achats - + Base de la TVP/TVQ pour les achats - + Base de la TVH pour les achats + + Base de la TVH pour les achats - 13% + + + + + Base de la TVH pour les achats - 14% + + + + + Base de la TVH pour les achats - 15% + + + diff --git a/addons/l10n_ca/account_tax_en.xml b/addons/l10n_ca/account_tax_en.xml index f0d2670d077..4c15ebb68ed 100644 --- a/addons/l10n_ca/account_tax_en.xml +++ b/addons/l10n_ca/account_tax_en.xml @@ -4,6 +4,53 @@ + + + + + GST + PST for sales (BC) + GSTPST_BC_SALE + sale + 1 + percent + 1 + + + + + GST for sales - 5% (BC) + GST + sale + 0.050000 + percent + 1 + + + + + + + + + + + + + PST for sales - 7% (BC) + PST + sale + 0.070000 + percent + 2 + + + + + + + + + @@ -13,6 +60,7 @@ sale 1 percent + @@ -35,10 +83,10 @@ - PST for sales - 7% + PST for sales - 8% (MB) PST sale - 0.070000 + 0.080000 percent 2 @@ -50,65 +98,19 @@ - - - - - GST + PST for sales (PE) - GSTPST_PE_SALE - sale - 1 - 1 - percent - - - - - GST for sales - 5% (PE) - GST - sale - 0.050000 - percent - 1 - - - - - - - - - - - - - PST for sale - 10% - PST - sale - 0.100000 - percent - 2 - - - - - - - - - - + GST + QST for sales GSTQST_SALE sale 1 percent + - + GST for sales - 5% (QC) GST @@ -122,10 +124,10 @@ - + - + QST for sales - 9.975% QST @@ -139,7 +141,7 @@ - + @@ -151,6 +153,7 @@ sale 1 percent + @@ -190,21 +193,6 @@ - - - HST for sales - 12% - HST12_SALE - sale - 0.120000 - percent - - - - - - - - HST for sales - 13% @@ -212,27 +200,27 @@ sale 0.130000 percent - - - - - - + + + + + + - + - HST for sales - 13.5% - HST135_SALE + HST for sales - 14% + HST14_SALE sale - 0.135000 + 0.14000 percent - - - - - - + + + + + + @@ -242,12 +230,12 @@ sale 0.150000 percent - - - - - - + + + + + + @@ -267,9 +255,55 @@ - + + + + + GST + PST for purchases (BC) + GSTPST_BC_PURC + purchase + 1 + percent + 1 + + + + + GST for purchases - 5% (BC) + GST + purchase + 0.050000 + percent + 1 + + + + + + + + + + + + + PST for purchases - 7% (BC) + PST + purchase + 0.070000 + percent + 2 + + + + + + + + + @@ -279,6 +313,7 @@ purchase 1 percent + @@ -301,10 +336,10 @@ - PST for purchases - 7% + PST for purchases - 8% (MB) PST purchase - 0.070000 + 0.080000 percent 2 @@ -316,65 +351,19 @@ - - - - - GST + PST for purchases (PE) - GSTPST_PE_PURC - purchase - 1 - 1 - percent - - - - - GST for purchases - 5% (PE) - GST - purchase - 0.050000 - percent - 1 - - - - - - - - - - - - - PST for purchases - 10% - PST - purchase - 0.100000 - percent - 2 - - - - - - - - - - + GST + QST for purchases GSTQST_PURC purchase 1 percent + - + GST for purchases - 5% (QC) GST @@ -388,10 +377,10 @@ - + - + QST for purchases - 9.975% QST @@ -405,7 +394,7 @@ - + @@ -417,6 +406,7 @@ purchase 1 percent + @@ -456,21 +446,6 @@ - - - HST for purchases - 12% - HST12_PURC - purchase - 0.120000 - percent - - - - - - - - HST for purchases - 13% @@ -478,27 +453,27 @@ purchase 0.130000 percent - - - - - - + + + + + + - + - HST for purchases - 13.5% - HST135_PURC + HST for purchases - 14% + HST14_PURC purchase - 0.135000 + 0.140000 percent - - - - - - + + + + + + @@ -508,12 +483,12 @@ purchase 0.150000 percent - - - - - - + + + + + + diff --git a/addons/l10n_ca/account_tax_fr.xml b/addons/l10n_ca/account_tax_fr.xml index c34f329be3a..6c37befa139 100644 --- a/addons/l10n_ca/account_tax_fr.xml +++ b/addons/l10n_ca/account_tax_fr.xml @@ -4,18 +4,66 @@ + + + + + TPS + TVP sur les ventes (BC) + TPSTVP_BC_SALE + sale + 1 + 1 + percent + + + + + TPS sur les ventes - 5% (BC) + TPS + sale + 0.050000 + percent + 1 + + + + + + + + + + + + + TVP sur les ventes - 7% (BC) + TVP + sale + 0.070000 + percent + 2 + + + + + + + + + - + TPS + TVP sur les ventes (MB) TPSTVP_MB_SALE sale 1 percent + - + TPS sur les ventes - 5% (MB) TPS @@ -26,89 +74,43 @@ - - - - - + + + + + - + - TVP sur les ventes - 7% + TVP sur les ventes - 8% (MB) TVP sale - 0.070000 + 0.080000 percent 2 - - - - - - - - - - - - TPS + TVP sur les ventes (PE) - TPSTVP_PE_SALE - sale - 1 - 1 - percent - - - - - TPS sur les ventes - 5% (PE) - TPS - sale - 0.050000 - percent - 1 - - - - - - - - - - - - - TVP for sale - 10% - TVP - sale - 0.100000 - percent - 2 - - - - - - - + + + + + - + TPS + TVQ sur les ventes TPSTVQ_SALE sale 1 percent + - + TPS sur les ventes - 5% (QC) TPS @@ -118,11 +120,11 @@ 1 - - - - - + + + + + @@ -135,25 +137,26 @@ 2 - - - - - + + + + + - + TPS + TVP sur les ventes (SK) TPSTVP_SK_SALE sale 1 percent + - + TPS sur les ventes - 5% (SK) TPS @@ -164,14 +167,14 @@ - - - - - + + + + + - + TVP sur les ventes - 5% (SK) TVP @@ -181,78 +184,63 @@ 2 - - - - - + + + + + - - - TVH sur les ventes - 12% - TVH12_SALE - sale - 0.120000 - percent - - - - - - - - - + TVH sur les ventes - 13% TVH13_SALE sale 0.130000 percent - - - - - - + + + + + + - + - TVH sur les ventes - 13.5% - TVH135_SALE + TVH sur les ventes - 14% + TVH14_SALE sale - 0.135000 + 0.140000 percent - - - - - - + + + + + + - + TVH sur les ventes - 15% TVH15_SALE sale 0.150000 percent - - - - - - + + + + + + - + TPS sur les ventes - 5% TPS_SALE @@ -261,27 +249,75 @@ percent - - - - + + + + + + + + + TPS + TVP sur les achats (BC) + TPSTVP_BC_PURC + purchase + 1 + percent + 1 + + + + + TPS sur les achats - 5% (BC) + TPS + purchase + 0.050000 + percent + 1 + + + + + + + + + + + + + TVP sur les achats - 7% (BC) + TVP + purchase + 0.070000 + percent + 2 + + + + + + + + + - + TPS + TVP sur les achats (MB) TPSTVP_MB_PURC purchase 1 percent + - + TPS sur les achats - 5% (MB) TPS @@ -292,89 +328,43 @@ - - - - - + + + + + - + - TVP sur les achats - 7% + TVP sur les achats - 8% (MB) TVP purchase - 0.070000 + 0.080000 percent 2 - - - - - - - - - - - - TPS + TVP sur les achats (PE) - TPSTVP_PE_PURC - purchase - 1 - 1 - percent - - - - - TPS sur les achats - 5% (PE) - TPS - purchase - 0.050000 - percent - 1 - - - - - - - - - - - - - TVP sur les achats - 10% - TVP - purchase - 0.100000 - percent - 2 - - - - - - - + + + + + - + TPS + TVQ sur les achats TPSTVQ_PURC purchase 1 percent + - + TPS sur les achats - 5% (QC) TPS @@ -384,11 +374,11 @@ 1 - - - - - + + + + + @@ -401,25 +391,26 @@ 2 - - - - - + + + + + - + TPS + TVP sur les achats (SK) TPSTVP_SK_PURC purchase 1 percent + - + TPS sur les achats - 5% (SK) TPS @@ -430,14 +421,14 @@ - - - - - + + + + + - + TVP sur les achats - 5% (SK) TVP @@ -447,78 +438,63 @@ 2 - - - - - + + + + + - - - TVH sur les achats - 12% - TVH12_PURC - purchase - 0.120000 - percent - - - - - - - - - + TVH sur les achats - 13% TVH13_PURC purchase 0.130000 percent - - - - - - + + + + + + - + - TVH sur les achats - 13.5% - TVH135_PURC + TVH sur les achats - 14% + TVH14_PURC purchase - 0.135000 + 0.140000 percent - - - - - - + + + + + + - + TVH sur les achats - 15% TVH15_PURC purchase 0.150000 percent - - - - - - + + + + + + - + TPS sur les achats - 5% TPS_PURC @@ -527,10 +503,10 @@ percent - - - - + + + + diff --git a/addons/l10n_ca/doc/Taxes.csv b/addons/l10n_ca/doc/Taxes.csv new file mode 100644 index 00000000000..368b06d1c1a --- /dev/null +++ b/addons/l10n_ca/doc/Taxes.csv @@ -0,0 +1,23 @@ +;Product/Service is delivered in;;;;;;;;;;;;; +Supplier is in ;Alberta;British Columbia;Manitoba;New Brunswick;"Newfoundland +And Labrador";Nova Scotia;"Northwest +Territories";Nunavut;Ontario;"Prince Edward +Islands";Quebec;Saskatchewan;Yukon;International +Alberta;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +British Columbia;GST – 5%;"GST – 5% +PST – 7%";GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Manitoba;GST – 5%;GST – 5%;"GST – 5% +PST – 8%";HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +New Brunswick;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Newfoundland and Labrador;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Nova Scotia;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Northwest Territories;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Nunavut;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Ontario;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Prince Edward Islands;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +Quebec;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;"GST – 5% +QST – 9,975%";GST – 5%;GST – 5%; +Saskatchewan;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;"GST – 5% +PST – 5%";GST – 5%; +Yukon;GST – 5%;GST – 5%;GST – 5%;HST – 13%;HST – 13%;HST – 15%;GST – 5%;GST – 5%;HST – 13%;HST – 14%;GST – 5%;GST – 5%;GST – 5%; +International;;;;;;;;;;;;;; diff --git a/addons/l10n_ca/fiscal_templates_en.xml b/addons/l10n_ca/fiscal_templates_en.xml index a3bab5b89dd..5bdd72b0c1d 100644 --- a/addons/l10n_ca/fiscal_templates_en.xml +++ b/addons/l10n_ca/fiscal_templates_en.xml @@ -4,653 +4,1543 @@ - - Provincial Regime (PROV) + + Alberta (AB) - - Harmonized Provinces Regime (12%) (BC) + + British Columbia (BC) - - Harmonized Provinces Regime (13%) (ON, NB, NL) + + Manitoba (MB) - - Harmonized Provinces Regime (13.5%) + + New Brunswick (NB) - - Harmonized Provinces Regime (15%) (NS) + + Newfoundland and Labrador (NL) - - Non-Harmonized Provinces Regime (AB, MB, SK, PE, NT, NU, YT) + + Nova Scotia (NS) - - International Regime (INTL) + + Northwest Territories (NT) - + + Nunavut (NU) + + + + + Ontario (ON) + + + + + Prince Edward Islands (PE) + + + + + Quebec (QC) + + + + + Saskatchewan (SK) + + + + + Yukon (YT) + + + + + International (INTL) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + - - - - + + + + + - - - - + + + + Already created by nb2mb_sale + + + + + - - - - + Already creted by nb2ns_sale + + + + - - - - + Already creted by nb2nt_sale + + + + - - - - + Already created nb2nu_sale + + + + - - - - + Already created by nb2pe_sale + + + + - - - - + Already created by nb2qc_sale + + + + - - - + Already created by nb2sk_sale + + + + - + Already created by nb2yt_sale + + + + + - - - - + Already created by nb2intl_sale + + + + --> + + - - - - + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + + - - - - + + + + Already created by ab2ns_sale + + + + + - - - - + Already created by ab2on_sale + + + + - - - - + Already created by ab2pe_sale + + + + - - - - + Already created by ab2intl_sale + + + + --> - - - - + + + + + - - - + + Already created by ab2nl_sale + + + + + - - - - + Already created by ab2ns_sale + + + + - - - - + Already created by ab2on_sale + + + + - - - - + Already created by ab2pe_sale + + + + - - - - + Already created by ab2intl_sale + + + + --> + + - - - - + - - - + + + + Already created by nb2mb_sale + + + + + + Already created by nb2ns_sale + + + + + - + Already created by nb2nt_sale + + + + + + + Already created nb2nu_sale + + + + + - - - - + Already created by nb2pe_sale + + + + - - - - + Already created by nb2qc_sale + + + + - - - - + Already created by nb2sk_sale + + + + - - - - + Already created by nb2yt_sale + + + + - - - + Already created by nb2intl_sale + + + + --> - + - - - - + - - - - + + + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + - - - - + + + + + - - - - + + + + + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + + + + + - - - - + + + + - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + diff --git a/addons/l10n_ca/fiscal_templates_fr.xml b/addons/l10n_ca/fiscal_templates_fr.xml index b01ab0985ea..465f53a1229 100644 --- a/addons/l10n_ca/fiscal_templates_fr.xml +++ b/addons/l10n_ca/fiscal_templates_fr.xml @@ -4,653 +4,1543 @@ - - Régime Provincial (PROV) + + Alberta (AB) - - Régime Provinces Harmonisées à 12% (BC) + + British Columbia (BC) - - Régime Provinces Harmonisées à 13% (NB, ON, NL) + + Manitoba (MB) - - Régime Provinces Harmonisées à 13.5% () + + New Brunswick (NB) - - Régime Provinces Harmonisées à 15% (NS) + + Newfoundland and Labrador (NL) - - Régime Provinces Non-Harmonisées (AB, MB, SK, PE, NT, NU, YT) + + Nova Scotia (NS) - - Régime International (INTL) + + Northwest Territories (NT) - + + Nunavut (NU) + + + + + Ontario (ON) + + + + + Prince Edward Islands (PE) + + + + + Quebec (QC) + + + + + Saskatchewan (SK) + + + + + Yukon (YT) + + + + + International (INTL) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + - - - - + + + + + - - - - + + + + Already created by nb2mb_sale + + + + + - - - - + Already creted by nb2ns_sale + + + + - - - - + Already creted by nb2nt_sale + + + + - - - - + Already created nb2nu_sale + + + + - - - - + Already created by nb2pe_sale + + + + - - - - + Already created by nb2qc_sale + + + + - - - + Already created by nb2sk_sale + + + + - + Already created by nb2yt_sale + + + + + - - - - + Already created by nb2intl_sale + + + + --> + + - - - - + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + + - - - - + + + + Already created by ab2ns_sale + + + + + - - - - + Already created by ab2on_sale + + + + - - - - + Already created by ab2pe_sale + + + + - - - - + Already created by ab2intl_sale + + + + --> - - - - + + + + + - - - + + Already created by ab2nl_sale + + + + + - - - - + Already created by ab2ns_sale + + + + - - - - + Already created by ab2on_sale + + + + - - - - + Already created by ab2pe_sale + + + + - - - - + Already created by ab2intl_sale + + + + --> + + - - - - + - - - + + + + Already created by nb2mb_sale + + + + + + Already created by nb2ns_sale + + + + + - + Already created by nb2nt_sale + + + + + + + Already created nb2nu_sale + + + + + - - - - + Already created by nb2pe_sale + + + + - - - - + Already created by nb2qc_sale + + + + - - - - + Already created by nb2sk_sale + + + + - - - - + Already created by nb2yt_sale + + + + - - - + Already created by nb2intl_sale + + + + --> - + - - - - + - - - - + + + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + - - - - + + + + + - - - - + + + + + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + + - + + + + + - - - - + + + + - - - - + + + + - - - - + + + - - - - + + + + + + + + - - - - + + + + - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + diff --git a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py index fc715ece5b8..f0751684dba 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py @@ -44,7 +44,7 @@ class hr_contract(osv.osv): 'driver_salay': fields.boolean('Driver Salary', help="Check this box if you provide allowance for driver"), 'medical_insurance': fields.float('Medical Insurance', digits_compute=dp.get_precision('Payroll'), help="Deduction towards company provided medical insurance"), 'voluntary_provident_fund': fields.float('Voluntary Provident Fund (%)', digits_compute=dp.get_precision('Payroll'), help="VPF is a safe option wherein you can contribute more than the PF ceiling of 12% that has been mandated by the government and VPF computed as percentage(%)"), - 'house_rent_allowance_metro_nonmetro': fields.float('House Rent Allowance (%)', digits_compute=dp.get_precision('Payroll'), help="HRA is an allowance given by the employer to the employee for taking care of his rental or accommodation expenses for metro city it is 50 % and for non metro 40%.HRA computed as percentage(%)"), + 'house_rent_allowance_metro_nonmetro': fields.float('House Rent Allowance (%)', digits_compute=dp.get_precision('Payroll'), help="HRA is an allowance given by the employer to the employee for taking care of his rental or accommodation expenses for metro city it is 50% and for non metro 40%. \nHRA computed as percentage(%)"), 'supplementary_allowance': fields.float('Supplementary Allowance', digits_compute=dp.get_precision('Payroll')), } diff --git a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml index 51c63c730ff..d65f02a332b 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml @@ -92,7 +92,7 @@ @@ -987,7 +987,16 @@ other - Rozliczenie naliczonego VAT-7% + Rozliczenie naliczonego VAT-8% + + + + 222020400 + + + other + + Rozliczenie naliczonego VAT-5% @@ -1014,7 +1023,7 @@ other - Rozliczenie należnego VAT-22% + Rozliczenie należnego VAT-23% @@ -1023,7 +1032,16 @@ other - Rozliczenie należnego VAT-7% + Rozliczenie należnego VAT-8% + + + + 222030400 + + + other + + Rozliczenie należnego VAT-5% @@ -3176,15 +3194,15 @@ - Polska - Plan kont - - - - + Polska - Plan kont + + + + - + \ No newline at end of file diff --git a/addons/l10n_pl/account_tax.xml b/addons/l10n_pl/account_tax.xml index d3ba9b221bf..de4123708d9 100644 --- a/addons/l10n_pl/account_tax.xml +++ b/addons/l10n_pl/account_tax.xml @@ -1,10 +1,10 @@ - + - VAT-22%(22.0%) - 0.220000 + VAT-23%(23.0%) + 0.230000 percent sale @@ -16,10 +16,10 @@ - + - VAT-7%(7.0%) - 0.070000 + VAT-8%(8.0%) + 0.080000 percent sale @@ -31,7 +31,22 @@ - + + + VAT-5%(5.0%) + 0.050000 + percent + sale + + + + + + + + + + VAT-0%(0.0%) 0.000000 @@ -46,10 +61,11 @@ - + + - VAT naliczony-22%(22.0%) - 0.220000 + VAT naliczony-23%(23.0%) + 0.230000 percent purchase @@ -61,10 +77,10 @@ - + - VAT naliczony-7%(7.0%) - 0.070000 + VAT naliczony-8%(8.0%) + 0.080000 percent purchase @@ -76,7 +92,22 @@ - + + + VAT naliczony-5%(5.0%) + 0.050000 + percent + purchase + + + + + + + + + + VAT naliczony-0%(0.0%) 0.000000 @@ -92,4 +123,4 @@ - + \ No newline at end of file diff --git a/addons/lunch/lunch.py b/addons/lunch/lunch.py index efad6fd6944..fbd193709ac 100644 --- a/addons/lunch/lunch.py +++ b/addons/lunch/lunch.py @@ -35,6 +35,16 @@ class lunch_order(osv.Model): _description = 'Lunch Order' _order = 'date desc' + def name_get(self, cr, uid, ids, context=None): + if not ids: + return [] + res = [] + for elmt in self.browse(cr, uid, ids, context=context): + name = _("Lunch Order") + name = name + ' ' + str(elmt.id) + res.append((elmt.id, name)) + return res + def _price_get(self, cr, uid, ids, name, arg, context=None): """ get and sum the order lines' price diff --git a/addons/lunch/lunch_view.xml b/addons/lunch/lunch_view.xml index 2f3af2f461d..a2f22d4dd0a 100644 --- a/addons/lunch/lunch_view.xml +++ b/addons/lunch/lunch_view.xml @@ -7,7 +7,7 @@ - + Search @@ -85,6 +85,40 @@ + + + cashmove tree + lunch.cashmove + + + + + + + + + + + + cashmove form + lunch.cashmove + +
+ + + + + + + + +
+
+ + New Order @@ -111,6 +145,19 @@
+ + + cashmove tree + lunch.cashmove + + + + + + + + + @@ -119,6 +166,7 @@ tree {"search_default_is_mine_group":1} +

Here you can see your cash moves.
A cash moves can be either an expense or a payment. @@ -175,6 +223,7 @@ tree,form {"search_default_group_by_user":1} +

Click to create a new payment. @@ -196,6 +245,7 @@ tree,form {"search_default_is_payment":1} +

Click to create a payment. @@ -389,39 +439,6 @@ - - - cashmove tree - lunch.cashmove - - - - - - - - - - - - cashmove form - lunch.cashmove - -
- - - - - - - - -
-
- alert tree diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index 8f072dd9082..1b9111d3040 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -83,7 +83,6 @@ Main Features 'static/src/css/mail_group.css', ], 'js': [ - 'static/lib/jquery.expander/jquery.expander.js', 'static/src/js/mail.js', 'static/src/js/mail_followers.js', 'static/src/js/many2many_tags_email.js', diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index 4e935e4aa88..e1ca797670b 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -40,6 +40,11 @@ () + + + none + + mail.catchall.alias diff --git a/addons/mail/doc/changelog.rst b/addons/mail/doc/changelog.rst new file mode 100644 index 00000000000..a7a2cfcf2b5 --- /dev/null +++ b/addons/mail/doc/changelog.rst @@ -0,0 +1,17 @@ +.. _changelog: + +Changelog +========= + +`trunk (saas-2)` +---------------- + + - added support of ``active_domain`` form context, coming from the list view. + When checking the header hook, the mass mailing will be done on all records + matching the ``active_domain``. + - added ``mail_server_id`` to mail_message, removing it from mail_mail. This allows + to set the preferred mail server to use for notifications emails, when using + templates. + - added ``_mail_post_access`` attribute that specifies the access right that + should have the user in order to post a new message on a given model. Values + are ``read`` (portal documents), ``write`` (default value), ``unlink`` or ``create``. diff --git a/addons/mail/doc/index.rst.inc b/addons/mail/doc/index.rst.inc index 4b01d3ec7bd..7f56666336b 100644 --- a/addons/mail/doc/index.rst.inc +++ b/addons/mail/doc/index.rst.inc @@ -12,3 +12,12 @@ Mail Module documentation topics mail_partner mail_state mail_subtype + + +Changelog +''''''''' + +.. toctree:: + :maxdepth: 1 + + changelog.rst diff --git a/addons/mail/i18n/bs.po b/addons/mail/i18n/bs.po new file mode 100644 index 00000000000..b50a043e2a7 --- /dev/null +++ b/addons/mail/i18n/bs.po @@ -0,0 +1,1687 @@ +# Bosnian translation for openobject-addons +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-12-21 17:04+0000\n" +"PO-Revision-Date: 2013-08-06 10:21+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Bosnian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-08-07 04:46+0000\n" +"X-Generator: Launchpad (build 16721)\n" + +#. module: mail +#: view:mail.followers:0 +msgid "Followers Form" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_publisher_warranty_contract +msgid "publisher_warranty.contract" +msgstr "" + +#. module: mail +#: field:mail.compose.message,author_id:0 +#: view:mail.mail:0 +#: field:mail.message,author_id:0 +msgid "Author" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Message Details" +msgstr "" + +#. module: mail +#: help:mail.mail,email_to:0 +msgid "Message recipients" +msgstr "" + +#. module: mail +#: help:mail.message.subtype,default:0 +msgid "Activated by default when subscribing." +msgstr "" + +#. module: mail +#: view:mail.message:0 +msgid "Comments" +msgstr "" + +#. module: mail +#: view:mail.alias:0 +#: view:mail.mail:0 +msgid "Group By..." +msgstr "" + +#. module: mail +#: help:mail.compose.message,body:0 +#: help:mail.message,body:0 +msgid "Automatically sanitized HTML contents" +msgstr "" + +#. module: mail +#: help:mail.alias,alias_name:0 +msgid "" +"The name of the email alias, e.g. 'jobs' if you want to catch emails for " +"" +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_email_compose_message_wizard +#: view:mail.compose.message:0 +msgid "Compose Email" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:132 +#, python-format +msgid "Add them into recipients and followers" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "Group Name" +msgstr "" + +#. module: mail +#: selection:mail.group,public:0 +msgid "Public" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Body" +msgstr "" + +#. module: mail +#: view:mail.message:0 +msgid "Show messages to read" +msgstr "" + +#. module: mail +#: help:mail.compose.message,email_from:0 +#: help:mail.message,email_from:0 +msgid "" +"Email address of the sender. This field is set when no matching partner is " +"found for incoming emails." +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_compose_message +msgid "Email composition wizard" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:23 +#, python-format +msgid "Add others" +msgstr "" + +#. module: mail +#: field:mail.message.subtype,parent_id:0 +msgid "Parent" +msgstr "" + +#. module: mail +#: field:mail.group,message_unread:0 +#: field:mail.thread,message_unread:0 +#: field:res.partner,message_unread:0 +msgid "Unread Messages" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:313 +#, python-format +msgid "show" +msgstr "" + +#. module: mail +#: help:mail.group,group_ids:0 +msgid "" +"Members of those groups will automatically added as followers. Note that " +"they will be able to manage their subscription manually if necessary." +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/js/mail.js:1029 +#, python-format +msgid "Do you really want to delete this message?" +msgstr "" + +#. module: mail +#: view:mail.message:0 +#: field:mail.notification,read:0 +msgid "Read" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "Search Groups" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/js/mail_followers.js:157 +#, python-format +msgid "followers" +msgstr "" + +#. module: mail +#: code:addons/mail/mail_message.py:737 +#, python-format +msgid "Access Denied" +msgstr "" + +#. module: mail +#: help:mail.group,image_medium:0 +msgid "" +"Medium-sized photo of the group. It is automatically resized as a 128x128px " +"image, with aspect ratio preserved. Use this field in form views or some " +"kanban views." +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:212 +#, python-format +msgid "Uploading error" +msgstr "" + +#. module: mail +#: model:mail.group,name:mail.group_support +msgid "Support" +msgstr "" + +#. module: mail +#: code:addons/mail/mail_message.py:738 +#, python-format +msgid "" +"The requested operation cannot be completed due to security restrictions. " +"Please contact your system administrator.\n" +"\n" +"(Document type: %s, Operation: %s)" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +#: selection:mail.mail,state:0 +msgid "Received" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Thread" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:29 +#, python-format +msgid "Open the full mail composer" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:29 +#, python-format +msgid "ò" +msgstr "" + +#. module: mail +#: field:base.config.settings,alias_domain:0 +msgid "Alias Domain" +msgstr "" + +#. module: mail +#: field:mail.group,group_ids:0 +msgid "Auto Subscription" +msgstr "" + +#. module: mail +#: field:mail.mail,references:0 +msgid "References" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:206 +#, python-format +msgid "No messages." +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_group +msgid "Discussion group" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:96 +#: code:addons/mail/static/src/xml/mail.xml:108 +#, python-format +msgid "uploading" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:52 +#, python-format +msgid "more." +msgstr "" + +#. module: mail +#: help:mail.compose.message,type:0 +#: help:mail.message,type:0 +msgid "" +"Message type: email for email message, notification for system message, " +"comment for other messages such as user replies" +msgstr "" + +#. module: mail +#: help:mail.message.subtype,relation_field:0 +msgid "" +"Field used to link the related model to the subtype model when using " +"automatic subscription on a related document. The field is used to compute " +"getattr(related_document.relation_field)." +msgstr "" + +#. module: mail +#: selection:mail.mail,state:0 +msgid "Cancelled" +msgstr "" + +#. module: mail +#: field:mail.mail,reply_to:0 +msgid "Reply-To" +msgstr "" + +#. module: mail +#: code:addons/mail/wizard/invite.py:37 +#, python-format +msgid "

You have been invited to follow %s.
" +msgstr "" + +#. module: mail +#: help:mail.group,message_unread:0 +#: help:mail.thread,message_unread:0 +#: help:res.partner,message_unread:0 +msgid "If checked new messages require your attention." +msgstr "" + +#. module: mail +#: field:mail.group,image_medium:0 +msgid "Medium-sized photo" +msgstr "" + +#. module: mail +#: model:ir.actions.client,name:mail.action_mail_to_me_feeds +#: model:ir.ui.menu,name:mail.mail_tomefeeds +msgid "To: me" +msgstr "" + +#. module: mail +#: field:mail.message.subtype,name:0 +msgid "Message Type" +msgstr "" + +#. module: mail +#: field:mail.mail,auto_delete:0 +msgid "Auto Delete" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:12 +#: view:mail.group:0 +#, python-format +msgid "Unfollow" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:312 +#, python-format +msgid "show one more message" +msgstr "" + +#. module: mail +#: code:addons/mail/mail_mail.py:75 +#: code:addons/mail/res_users.py:69 +#, python-format +msgid "Invalid Action!" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:25 +#, python-format +msgid "User img" +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_view_mail_mail +#: model:ir.ui.menu,name:mail.menu_mail_mail +#: view:mail.mail:0 +#: view:mail.message:0 +msgid "Emails" +msgstr "" + +#. module: mail +#: field:mail.followers,partner_id:0 +msgid "Related Partner" +msgstr "" + +#. module: mail +#: help:mail.group,message_summary:0 +#: help:mail.thread,message_summary:0 +#: help:res.partner,message_summary:0 +msgid "" +"Holds the Chatter summary (number of messages, ...). This summary is " +"directly in html format in order to be inserted in kanban views." +msgstr "" + +#. module: mail +#: help:mail.alias,alias_model_id:0 +msgid "" +"The model (OpenERP Document Kind) to which this alias corresponds. Any " +"incoming email that does not reply to an existing record will cause the " +"creation of a new record of this model (e.g. a Project Task)" +msgstr "" + +#. module: mail +#: field:mail.message.subtype,relation_field:0 +msgid "Relation field" +msgstr "" + +#. module: mail +#: selection:mail.compose.message,type:0 +#: selection:mail.message,type:0 +msgid "System notification" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_res_partner +msgid "Partner" +msgstr "" + +#. module: mail +#: model:ir.ui.menu,name:mail.mail_my_stuff +msgid "Organizer" +msgstr "" + +#. module: mail +#: field:mail.compose.message,subject:0 +#: field:mail.message,subject:0 +msgid "Subject" +msgstr "" + +#. module: mail +#: field:mail.wizard.invite,partner_ids:0 +msgid "Partners" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Retry" +msgstr "" + +#. module: mail +#: field:mail.compose.message,email_from:0 +#: field:mail.mail,email_from:0 +#: field:mail.message,email_from:0 +msgid "From" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +#: view:mail.message.subtype:0 +msgid "Email message" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_base_config_settings +msgid "base.config.settings" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:36 +#: view:mail.compose.message:0 +#, python-format +msgid "Send" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/js/mail_followers.js:153 +#, python-format +msgid "No followers" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Failed" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:22 +#: model:ir.actions.act_window,name:mail.action_view_followers +#: model:ir.ui.menu,name:mail.menu_email_followers +#: view:mail.followers:0 +#: field:mail.group,message_follower_ids:0 +#: field:mail.thread,message_follower_ids:0 +#: field:res.partner,message_follower_ids:0 +#, python-format +msgid "Followers" +msgstr "" + +#. module: mail +#: model:ir.actions.client,name:mail.action_mail_archives_feeds +#: model:ir.ui.menu,name:mail.mail_archivesfeeds +msgid "Archives" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:95 +#: code:addons/mail/static/src/xml/mail.xml:107 +#, python-format +msgid "Delete this attachment" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:245 +#: view:mail.mail:0 +#, python-format +msgid "Reply" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/js/mail_followers.js:155 +#, python-format +msgid "One follower" +msgstr "" + +#. module: mail +#: field:mail.compose.message,type:0 +#: field:mail.message,type:0 +msgid "Type" +msgstr "" + +#. module: mail +#: selection:mail.compose.message,type:0 +#: view:mail.mail:0 +#: selection:mail.message,type:0 +msgid "Email" +msgstr "" + +#. module: mail +#: field:ir.ui.menu,mail_group_id:0 +msgid "Mail Group" +msgstr "" + +#. module: mail +#: selection:res.partner,notification_email_send:0 +msgid "Comments and Emails" +msgstr "" + +#. module: mail +#: field:mail.alias,alias_defaults:0 +msgid "Default Values" +msgstr "" + +#. module: mail +#: code:addons/mail/res_users.py:89 +#, python-format +msgid "%s has joined the %s network." +msgstr "" + +#. module: mail +#: help:mail.group,image_small:0 +msgid "" +"Small-sized photo of the group. It is automatically resized as a 64x64px " +"image, with aspect ratio preserved. Use this field anywhere a small image is " +"required." +msgstr "" + +#. module: mail +#: view:mail.compose.message:0 +#: field:mail.message,partner_ids:0 +msgid "Recipients" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:140 +#, python-format +msgid "<<<" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:43 +#, python-format +msgid "Write to the followers of this document..." +msgstr "" + +#. module: mail +#: field:mail.group,group_public_id:0 +msgid "Authorized Group" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "Join Group" +msgstr "" + +#. module: mail +#: help:mail.mail,email_from:0 +msgid "Message sender, taken from user preferences." +msgstr "" + +#. module: mail +#: code:addons/mail/wizard/invite.py:40 +#, python-format +msgid "
You have been invited to follow a new document.
" +msgstr "" + +#. module: mail +#: field:mail.compose.message,parent_id:0 +#: field:mail.message,parent_id:0 +msgid "Parent Message" +msgstr "" + +#. module: mail +#: field:mail.compose.message,res_id:0 +#: field:mail.followers,res_id:0 +#: field:mail.message,res_id:0 +#: field:mail.wizard.invite,res_id:0 +msgid "Related Document ID" +msgstr "" + +#. module: mail +#: model:ir.actions.client,help:mail.action_mail_to_me_feeds +msgid "" +"

\n" +" No private message.\n" +"

\n" +" This list contains messages sent to you.\n" +"

\n" +" " +msgstr "" + +#. module: mail +#: model:mail.group,name:mail.group_rd +msgid "R&D" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:61 +#, python-format +msgid "/web/binary/upload_attachment" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_thread +msgid "Email Thread" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Advanced" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:244 +#, python-format +msgid "Move to Inbox" +msgstr "" + +#. module: mail +#: code:addons/mail/wizard/mail_compose_message.py:193 +#, python-format +msgid "Re:" +msgstr "" + +#. module: mail +#: field:mail.compose.message,to_read:0 +#: field:mail.message,to_read:0 +msgid "To read" +msgstr "" + +#. module: mail +#: code:addons/mail/res_users.py:69 +#, python-format +msgid "" +"You may not create a user. To create new users, you should use the " +"\"Settings > Users\" menu." +msgstr "" + +#. module: mail +#: help:mail.followers,res_model:0 +#: help:mail.wizard.invite,res_model:0 +msgid "Model of the followed resource" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:337 +#, python-format +msgid "like" +msgstr "" + +#. module: mail +#: view:mail.compose.message:0 +#: view:mail.wizard.invite:0 +msgid "Cancel" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:47 +#, python-format +msgid "Share with my followers..." +msgstr "" + +#. module: mail +#: field:mail.notification,partner_id:0 +msgid "Contact" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "" +"Only the invited followers can read the\n" +" discussions on this group." +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_ir_ui_menu +msgid "ir.ui.menu" +msgstr "" + +#. module: mail +#: view:mail.message:0 +msgid "Has attachments" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "on" +msgstr "" + +#. module: mail +#: code:addons/mail/mail_message.py:926 +#, python-format +msgid "" +"The following partners chosen as recipients for the email have no email " +"address linked :" +msgstr "" + +#. module: mail +#: help:mail.alias,alias_defaults:0 +msgid "" +"A Python dictionary that will be evaluated to provide default values when " +"creating new records for this alias." +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_message_subtype +msgid "Message subtypes" +msgstr "" + +#. module: mail +#: help:mail.compose.message,notified_partner_ids:0 +#: help:mail.message,notified_partner_ids:0 +msgid "" +"Partners that have a notification pushing this message in their mailboxes" +msgstr "" + +#. module: mail +#: selection:mail.compose.message,type:0 +#: view:mail.mail:0 +#: selection:mail.message,type:0 +msgid "Comment" +msgstr "" + +#. module: mail +#: model:ir.actions.client,help:mail.action_mail_inbox_feeds +msgid "" +"

\n" +" Good Job! Your inbox is empty.\n" +"

\n" +" Your inbox contains private messages or emails sent to " +"you\n" +" as well as information related to documents or people " +"you\n" +" follow.\n" +"

\n" +" " +msgstr "" + +#. module: mail +#: field:mail.mail,notification:0 +msgid "Is Notification" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:188 +#, python-format +msgid "Compose a new message" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Send Now" +msgstr "" + +#. module: mail +#: code:addons/mail/mail_mail.py:75 +#, python-format +msgid "" +"Unable to send email, please configure the sender's email address or alias." +msgstr "" + +#. module: mail +#: help:res.users,alias_id:0 +msgid "" +"Email address internally associated with this user. Incoming emails will " +"appear in the user's notifications." +msgstr "" + +#. module: mail +#: field:mail.group,image:0 +msgid "Photo" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:54 +#: code:addons/mail/static/src/xml/mail.xml:191 +#: view:mail.compose.message:0 +#: view:mail.wizard.invite:0 +#, python-format +msgid "or" +msgstr "" + +#. module: mail +#: help:mail.compose.message,vote_user_ids:0 +#: help:mail.message,vote_user_ids:0 +msgid "Users that voted for this message" +msgstr "" + +#. module: mail +#: help:mail.group,alias_id:0 +msgid "" +"The email address associated with this group. New emails received will " +"automatically create new topics." +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Month" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Email Search" +msgstr "" + +#. module: mail +#: field:mail.compose.message,child_ids:0 +#: field:mail.message,child_ids:0 +msgid "Child Messages" +msgstr "" + +#. module: mail +#: field:mail.alias,alias_user_id:0 +msgid "Owner" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_res_users +msgid "Users" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_message +#: field:mail.mail,mail_message_id:0 +#: view:mail.message:0 +#: field:mail.notification,message_id:0 +#: field:mail.wizard.invite,message:0 +msgid "Message" +msgstr "" + +#. module: mail +#: help:mail.followers,res_id:0 +#: help:mail.wizard.invite,res_id:0 +msgid "Id of the followed resource" +msgstr "" + +#. module: mail +#: field:mail.compose.message,body:0 +#: field:mail.message,body:0 +msgid "Contents" +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_view_mail_alias +#: model:ir.ui.menu,name:mail.mail_alias_menu +msgid "Aliases" +msgstr "" + +#. module: mail +#: help:mail.message.subtype,description:0 +msgid "" +"Description that will be added in the message posted for this subtype. If " +"void, the name will be added instead." +msgstr "" + +#. module: mail +#: field:mail.compose.message,vote_user_ids:0 +#: field:mail.message,vote_user_ids:0 +msgid "Votes" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "Group" +msgstr "" + +#. module: mail +#: help:mail.compose.message,starred:0 +#: help:mail.message,starred:0 +msgid "Current user has a starred notification linked to this message" +msgstr "" + +#. module: mail +#: field:mail.group,public:0 +msgid "Privacy" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Notification" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/js/mail.js:654 +#, python-format +msgid "Please complete partner's informations" +msgstr "" + +#. module: mail +#: view:mail.wizard.invite:0 +msgid "Add Followers" +msgstr "" + +#. module: mail +#: view:mail.compose.message:0 +msgid "Followers of selected items and" +msgstr "" + +#. module: mail +#: field:mail.alias,alias_force_thread_id:0 +msgid "Record Thread ID" +msgstr "" + +#. module: mail +#: model:ir.ui.menu,name:mail.mail_group_root +msgid "My Groups" +msgstr "" + +#. module: mail +#: model:ir.actions.client,help:mail.action_mail_archives_feeds +msgid "" +"

\n" +" No message found and no message sent yet.\n" +"

\n" +" Click on the top-right icon to compose a message. This\n" +" message will be sent by email if it's an internal " +"contact.\n" +"

\n" +" " +msgstr "" + +#. module: mail +#: view:mail.mail:0 +#: field:mail.mail,state:0 +msgid "Status" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +#: selection:mail.mail,state:0 +msgid "Outgoing" +msgstr "" + +#. module: mail +#: selection:res.partner,notification_email_send:0 +msgid "All feeds" +msgstr "" + +#. module: mail +#: help:mail.compose.message,record_name:0 +#: help:mail.message,record_name:0 +msgid "Name get of the related document." +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_view_notifications +#: model:ir.model,name:mail.model_mail_notification +#: model:ir.ui.menu,name:mail.menu_email_notifications +#: field:mail.compose.message,notification_ids:0 +#: view:mail.message:0 +#: field:mail.message,notification_ids:0 +#: view:mail.notification:0 +msgid "Notifications" +msgstr "" + +#. module: mail +#: view:mail.alias:0 +msgid "Search Alias" +msgstr "" + +#. module: mail +#: help:mail.alias,alias_force_thread_id:0 +msgid "" +"Optional ID of a thread (record) to which all incoming messages will be " +"attached, even if they did not reply to it. If set, this will disable the " +"creation of new records completely." +msgstr "" + +#. module: mail +#: help:mail.message.subtype,name:0 +msgid "" +"Message subtype gives a more precise type on the message, especially for " +"system notifications. For example, it can be a notification related to a new " +"record (New), or to a stage change in a process (Stage change). Message " +"subtypes allow to precisely tune the notifications the user want to receive " +"on its wall." +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "by" +msgstr "" + +#. module: mail +#: model:mail.group,name:mail.group_best_sales_practices +msgid "Best Sales Practices" +msgstr "" + +#. module: mail +#: selection:mail.group,public:0 +msgid "Selected Group Only" +msgstr "" + +#. module: mail +#: field:mail.group,message_is_follower:0 +#: field:mail.thread,message_is_follower:0 +#: field:res.partner,message_is_follower:0 +msgid "Is a Follower" +msgstr "" + +#. module: mail +#: view:mail.alias:0 +#: view:mail.mail:0 +msgid "User" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "Groups" +msgstr "" + +#. module: mail +#: view:mail.message:0 +msgid "Messages Search" +msgstr "" + +#. module: mail +#: field:mail.compose.message,date:0 +#: field:mail.message,date:0 +msgid "Date" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:34 +#, python-format +msgid "Post" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Extended Filters..." +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:120 +#, python-format +msgid "To:" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:193 +#, python-format +msgid "Write to my followers" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_res_groups +msgid "Access Groups" +msgstr "" + +#. module: mail +#: field:mail.message.subtype,default:0 +msgid "Default" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:311 +#, python-format +msgid "show more message" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:246 +#, python-format +msgid "Mark as Todo" +msgstr "" + +#. module: mail +#: help:mail.message.subtype,parent_id:0 +msgid "Parent subtype, used for automatic subscription." +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_wizard_invite +msgid "Invite wizard" +msgstr "" + +#. module: mail +#: field:mail.group,message_summary:0 +#: field:mail.thread,message_summary:0 +#: field:res.partner,message_summary:0 +msgid "Summary" +msgstr "" + +#. module: mail +#: help:mail.message.subtype,res_model:0 +msgid "" +"Model the subtype applies to. If False, this subtype applies to all models." +msgstr "" + +#. module: mail +#: field:mail.compose.message,subtype_id:0 +#: field:mail.followers,subtype_ids:0 +#: field:mail.message,subtype_id:0 +#: view:mail.message.subtype:0 +msgid "Subtype" +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "Group Form" +msgstr "" + +#. module: mail +#: field:mail.compose.message,starred:0 +#: field:mail.message,starred:0 +#: field:mail.notification,starred:0 +msgid "Starred" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:313 +#, python-format +msgid "more messages" +msgstr "" + +#. module: mail +#: code:addons/mail/update.py:93 +#, python-format +msgid "Error" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:13 +#, python-format +msgid "Following" +msgstr "" + +#. module: mail +#: sql_constraint:mail.alias:0 +msgid "" +"Unfortunately this email alias is already used, please choose a unique one" +msgstr "" + +#. module: mail +#: help:mail.alias,alias_user_id:0 +msgid "" +"The owner of records created upon receiving emails on this alias. If this " +"field is not set the system will attempt to find the right owner based on " +"the sender (From) address, or will use the Administrator account if no " +"system user is found for that address." +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:52 +#, python-format +msgid "And" +msgstr "" + +#. module: mail +#: field:mail.compose.message,message_id:0 +#: field:mail.message,message_id:0 +msgid "Message-Id" +msgstr "" + +#. module: mail +#: help:mail.group,image:0 +msgid "" +"This field holds the image used as photo for the group, limited to " +"1024x1024px." +msgstr "" + +#. module: mail +#: field:mail.compose.message,attachment_ids:0 +#: view:mail.mail:0 +#: field:mail.message,attachment_ids:0 +msgid "Attachments" +msgstr "" + +#. module: mail +#: field:mail.compose.message,record_name:0 +#: field:mail.message,record_name:0 +msgid "Message Record Name" +msgstr "" + +#. module: mail +#: field:mail.mail,email_cc:0 +msgid "Cc" +msgstr "" + +#. module: mail +#: help:mail.notification,starred:0 +msgid "Starred message that goes into the todo mailbox" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:123 +#: view:mail.compose.message:0 +#, python-format +msgid "Followers of" +msgstr "" + +#. module: mail +#: help:mail.mail,auto_delete:0 +msgid "Permanently delete this email after sending it, to save space" +msgstr "" + +#. module: mail +#: model:ir.actions.client,name:mail.action_mail_group_feeds +msgid "Discussion Group" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:242 +#, python-format +msgid "Done" +msgstr "" + +#. module: mail +#: model:mail.message.subtype,name:mail.mt_comment +msgid "Discussions" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:11 +#, python-format +msgid "Follow" +msgstr "" + +#. module: mail +#: field:mail.group,name:0 +msgid "Name" +msgstr "" + +#. module: mail +#: model:mail.group,name:mail.group_all_employees +msgid "Whole Company" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:129 +#: code:addons/mail/static/src/xml/mail.xml:292 +#: view:mail.compose.message:0 +#, python-format +msgid "and" +msgstr "" + +#. module: mail +#: help:mail.mail,body_html:0 +msgid "Rich-text/HTML message" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +msgid "Creation Month" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:323 +#, python-format +msgid "Compose new Message" +msgstr "" + +#. module: mail +#: field:mail.group,menu_id:0 +msgid "Related Menu" +msgstr "" + +#. module: mail +#: view:mail.message:0 +msgid "Content" +msgstr "" + +#. module: mail +#: field:mail.mail,email_to:0 +msgid "To" +msgstr "" + +#. module: mail +#: field:mail.compose.message,notified_partner_ids:0 +#: field:mail.message,notified_partner_ids:0 +msgid "Notified partners" +msgstr "" + +#. module: mail +#: help:mail.group,public:0 +msgid "" +"This group is visible by non members. Invisible groups can add " +"members through the invite button." +msgstr "" + +#. module: mail +#: model:mail.group,name:mail.group_board +msgid "Board meetings" +msgstr "" + +#. module: mail +#: constraint:mail.alias:0 +msgid "" +"Invalid expression, it must be a literal python dictionary definition e.g. " +"\"{'field': 'value'}\"" +msgstr "" + +#. module: mail +#: field:mail.alias,alias_model_id:0 +msgid "Aliased Model" +msgstr "" + +#. module: mail +#: help:mail.compose.message,message_id:0 +#: help:mail.message,message_id:0 +msgid "Message unique identifier" +msgstr "" + +#. module: mail +#: field:mail.group,description:0 +#: field:mail.message.subtype,description:0 +msgid "Description" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_followers +msgid "Document Followers" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail_followers.xml:35 +#, python-format +msgid "Remove this follower" +msgstr "" + +#. module: mail +#: selection:res.partner,notification_email_send:0 +msgid "Never" +msgstr "" + +#. module: mail +#: field:mail.mail,mail_server_id:0 +msgid "Outgoing mail server" +msgstr "" + +#. module: mail +#: code:addons/mail/mail_message.py:930 +#, python-format +msgid "Partners email addresses not found" +msgstr "" + +#. module: mail +#: view:mail.mail:0 +#: selection:mail.mail,state:0 +msgid "Sent" +msgstr "" + +#. module: mail +#: field:mail.mail,body_html:0 +msgid "Rich-text Contents" +msgstr "" + +#. module: mail +#: help:mail.compose.message,to_read:0 +#: help:mail.message,to_read:0 +msgid "Current user has an unread notification linked to this message" +msgstr "" + +#. module: mail +#: help:res.partner,notification_email_send:0 +msgid "" +"Choose in which case you want to receive an email when you receive new feeds." +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_view_groups +#: model:ir.ui.menu,name:mail.mail_allgroups +msgid "Join a group" +msgstr "" + +#. module: mail +#: model:ir.actions.client,help:mail.action_mail_group_feeds +msgid "" +"

\n" +" No message in this group.\n" +"

\n" +" " +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:213 +#, python-format +msgid "Please, wait while the file is uploading." +msgstr "" + +#. module: mail +#: view:mail.group:0 +msgid "" +"This group is visible by everyone,\n" +" including your customers if you " +"installed\n" +" the portal module." +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:243 +#, python-format +msgid "Set back to Todo" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:126 +#, python-format +msgid "this document" +msgstr "" + +#. module: mail +#: field:mail.compose.message,filter_id:0 +msgid "Filters" +msgstr "" + +#. module: mail +#: field:res.partner,notification_email_send:0 +msgid "Receive Feeds by Email" +msgstr "" + +#. module: mail +#: help:base.config.settings,alias_domain:0 +msgid "" +"If you have setup a catch-all email domain redirected to the OpenERP server, " +"enter the domain name here." +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_view_mail_message +#: model:ir.ui.menu,name:mail.menu_mail_message +#: field:mail.group,message_ids:0 +#: view:mail.message:0 +#: field:mail.thread,message_ids:0 +#: field:res.partner,message_ids:0 +msgid "Messages" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:139 +#, python-format +msgid "others..." +msgstr "" + +#. module: mail +#: model:ir.actions.client,name:mail.action_mail_star_feeds +#: model:ir.ui.menu,name:mail.mail_starfeeds +msgid "To-do" +msgstr "" + +#. module: mail +#: view:mail.alias:0 +#: field:mail.alias,alias_name:0 +#: field:mail.group,alias_id:0 +#: field:res.users,alias_id:0 +msgid "Alias" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_mail +msgid "Outgoing Mails" +msgstr "" + +#. module: mail +#: help:mail.compose.message,notification_ids:0 +#: help:mail.message,notification_ids:0 +msgid "" +"Technical field holding the message notifications. Use notified_partner_ids " +"to access notified partners." +msgstr "" + +#. module: mail +#: model:ir.ui.menu,name:mail.mail_feeds +#: model:ir.ui.menu,name:mail.mail_feeds_main +msgid "Messaging" +msgstr "" + +#. module: mail +#: view:mail.alias:0 +#: field:mail.message.subtype,res_model:0 +msgid "Model" +msgstr "" + +#. module: mail +#: view:mail.message:0 +msgid "Unread" +msgstr "" + +#. module: mail +#: help:mail.followers,subtype_ids:0 +msgid "" +"Message subtypes followed, meaning subtypes that will be pushed onto the " +"user's Wall." +msgstr "" + +#. module: mail +#: help:mail.group,message_ids:0 +#: help:mail.thread,message_ids:0 +#: help:res.partner,message_ids:0 +msgid "Messages and communication history" +msgstr "" + +#. module: mail +#: help:mail.mail,references:0 +msgid "Message references, such as identifiers of previous messages" +msgstr "" + +#. module: mail +#: field:mail.compose.message,composition_mode:0 +msgid "Composition mode" +msgstr "" + +#. module: mail +#: field:mail.compose.message,model:0 +#: field:mail.followers,res_model:0 +#: field:mail.message,model:0 +#: field:mail.wizard.invite,res_model:0 +msgid "Related Document Model" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:338 +#, python-format +msgid "unlike" +msgstr "" + +#. module: mail +#: help:mail.compose.message,author_id:0 +#: help:mail.message,author_id:0 +msgid "" +"Author of the message. If not set, email_from may hold an email address that " +"did not match any partner." +msgstr "" + +#. module: mail +#: help:mail.mail,email_cc:0 +msgid "Carbon copy message recipients" +msgstr "" + +#. module: mail +#: field:mail.alias,alias_domain:0 +msgid "Alias domain" +msgstr "" + +#. module: mail +#: code:addons/mail/update.py:93 +#, python-format +msgid "Error during communication with the publisher warranty server." +msgstr "" + +#. module: mail +#: selection:mail.group,public:0 +msgid "Private" +msgstr "" + +#. module: mail +#: model:ir.actions.client,help:mail.action_mail_star_feeds +msgid "" +"

\n" +" No todo.\n" +"

\n" +" When you process messages in your inbox, you can mark " +"some\n" +" as todo. From this menu, you can process all your " +"todo.\n" +"

\n" +" " +msgstr "" + +#. module: mail +#: selection:mail.mail,state:0 +msgid "Delivery Failed" +msgstr "" + +#. module: mail +#: field:mail.compose.message,partner_ids:0 +msgid "Additional contacts" +msgstr "" + +#. module: mail +#: help:mail.compose.message,parent_id:0 +#: help:mail.message,parent_id:0 +msgid "Initial thread message." +msgstr "" + +#. module: mail +#: model:mail.group,name:mail.group_hr_policies +msgid "HR Policies" +msgstr "" + +#. module: mail +#: selection:res.partner,notification_email_send:0 +msgid "Emails only" +msgstr "" + +#. module: mail +#: model:ir.actions.client,name:mail.action_mail_inbox_feeds +#: model:ir.ui.menu,name:mail.mail_inboxfeeds +msgid "Inbox" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/xml/mail.xml:58 +#, python-format +msgid "File" +msgstr "" + +#. module: mail +#. openerp-web +#: code:addons/mail/static/src/js/many2many_tags_email.js:63 +#, python-format +msgid "Please complete partner's informations and Email" +msgstr "" + +#. module: mail +#: model:ir.actions.act_window,name:mail.action_view_message_subtype +#: model:ir.ui.menu,name:mail.menu_message_subtype +msgid "Subtypes" +msgstr "" + +#. module: mail +#: model:ir.model,name:mail.model_mail_alias +msgid "Email Aliases" +msgstr "" + +#. module: mail +#: field:mail.group,image_small:0 +msgid "Small-sized photo" +msgstr "" + +#. module: mail +#: help:mail.mail,reply_to:0 +msgid "Preferred response address for the message" +msgstr "" diff --git a/addons/mail/mail_followers.py b/addons/mail/mail_followers.py index 9d96a6ff59c..ac350810aa6 100644 --- a/addons/mail/mail_followers.py +++ b/addons/mail/mail_followers.py @@ -151,7 +151,7 @@ class mail_notification(osv.Model): return footer def _notify(self, cr, uid, msg_id, partners_to_notify=None, context=None, - force_send=False, user_signature=True): + force_send=False, user_signature=True): """ Send by email the notification depending on the user preferences :param list partners_to_notify: optional list of partner ids restricting diff --git a/addons/mail/mail_mail.py b/addons/mail/mail_mail.py index d45ae04ddd1..9fa80b9be46 100644 --- a/addons/mail/mail_mail.py +++ b/addons/mail/mail_mail.py @@ -44,7 +44,6 @@ class mail_mail(osv.Model): _columns = { 'mail_message_id': fields.many2one('mail.message', 'Message', required=True, ondelete='cascade'), - 'mail_server_id': fields.many2one('ir.mail_server', 'Outgoing mail server', readonly=1), 'state': fields.selection([ ('outgoing', 'Outgoing'), ('sent', 'Sent'), @@ -140,10 +139,16 @@ class mail_mail(osv.Model): # notification field: if not set, set if mail comes from an existing mail.message if 'notification' not in values and values.get('mail_message_id'): values['notification'] = True + mail_id = super(mail_mail, self).create(cr, uid, values, context=context) + # reply_to: if not set, set with default values that require creation values + # but delegate after creation because of mail_message.message_id automatic + # creation using existence of reply_to if not values.get('reply_to'): - values['reply_to'] = self._get_reply_to(cr, uid, values, context=context) - return super(mail_mail, self).create(cr, uid, values, context=context) + reply_to = self._get_reply_to(cr, uid, values, context=context) + if reply_to: + self.write(cr, uid, [mail_id], {'reply_to': reply_to}, context=context) + return mail_id def unlink(self, cr, uid, ids, context=None): # cascade-delete the parent message for all mails that are not created for a notification @@ -322,6 +327,7 @@ class mail_mail(osv.Model): email_list.append(self.send_get_email_dict(cr, uid, mail, partner=partner, context=context)) # build an RFC2822 email.message.Message object and send it without queuing + res = None for email in email_list: msg = ir_mail_server.build_email( email_from = mail.email_from, diff --git a/addons/mail/mail_message.py b/addons/mail/mail_message.py index 9d6829f3f6e..bcb66433964 100644 --- a/addons/mail/mail_message.py +++ b/addons/mail/mail_message.py @@ -191,6 +191,7 @@ class mail_message(osv.Model): 'vote_user_ids': fields.many2many('res.users', 'mail_vote', 'message_id', 'user_id', string='Votes', help='Users that voted for this message'), + 'mail_server_id': fields.many2one('ir.mail_server', 'Outgoing mail server', readonly=1), } def _needaction_domain_get(self, cr, uid, context=None): @@ -394,15 +395,21 @@ class mail_message(osv.Model): has_voted = uid in [user.id for user in message.vote_user_ids] try: - body_html = html_email_clean(message.body) + if parent_id: + max_length = 300 + else: + max_length = 100 + body_short = html_email_clean(message.body, remove=False, shorten=True, max_length=max_length) + except Exception: - body_html = '

Encoding Error :
Unable to convert this message (id: %s).

' % message.id + body_short = '

Encoding Error :
Unable to convert this message (id: %s).

' % message.id _logger.exception(Exception) return {'id': message.id, 'type': message.type, 'subtype': message.subtype_id.name if message.subtype_id else False, - 'body': body_html, + 'body': message.body, + 'body_short': body_short, 'model': message.model, 'res_id': message.res_id, 'record_name': message.record_name, @@ -672,14 +679,14 @@ class mail_message(osv.Model): - no model, no res_id, I create a private message OR - pid in message_follower_ids if model, res_id OR - mail_notification (parent_id.id, pid) exists, uid has been notified of the parent, OR - - uid have write access on the related document if model, res_id, OR + - uid have write or create access on the related document if model, res_id, OR - otherwise: raise - write: if - author_id == pid, uid is the author, OR - - uid has write access on the related document if model, res_id + - uid has write or create access on the related document if model, res_id - otherwise: raise - unlink: if - - uid has write access on the related document if model, res_id + - uid has write or create access on the related document if model, res_id - otherwise: raise """ def _generate_model_record_ids(msg_val, msg_ids=[]): @@ -780,8 +787,8 @@ class mail_message(osv.Model): values['message_id'] = tools.generate_tracking_message_id('private') newid = super(mail_message, self).create(cr, uid, values, context) self._notify(cr, uid, newid, context=context, - force_send=context.get('mail_notify_force_send', True), - user_signature=context.get('mail_notify_user_signature', True)) + force_send=context.get('mail_notify_force_send', True), + user_signature=context.get('mail_notify_user_signature', True)) # TDE FIXME: handle default_starred. Why not setting an inv on starred ? # Because starred will call set_message_starred, that looks for notifications. # When creating a new mail_message, it will create a notification to a message diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 2744e6df231..ebb7a40c719 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -70,6 +70,7 @@ class mail_thread(osv.AbstractModel): _name = 'mail.thread' _description = 'Email Thread' _mail_flat_thread = True + _mail_post_access = 'write' # Automatic logging system if mail installed # _track = { @@ -156,12 +157,26 @@ class mail_thread(osv.AbstractModel): res[id]['message_summary'] = "9 %d %s" % (title, res[id].pop('message_unread_count'), _("New")) return res - def _get_subscription_data(self, cr, uid, ids, name, args, context=None): + def read_followers_data(self, cr, uid, follower_ids, context=None): + result = [] + technical_group = self.pool.get('ir.model.data').get_object(cr, uid, 'base', 'group_no_one') + for follower in self.pool.get('res.partner').browse(cr, uid, follower_ids, context=context): + is_editable = uid in map(lambda x: x.id, technical_group.users) + is_uid = uid in map(lambda x: x.id, follower.user_ids) + data = (follower.id, + follower.name, + {'is_editable': is_editable, 'is_uid': is_uid}, + ) + result.append(data) + return result + + def _get_subscription_data(self, cr, uid, ids, name, args, user_pid=None, context=None): """ Computes: - message_subtype_data: data about document subtypes: which are available, which are followed if any """ res = dict((id, dict(message_subtype_data='')) for id in ids) - user_pid = self.pool.get('res.users').read(cr, uid, uid, ['partner_id'], context=context)['partner_id'][0] + if user_pid is None: + user_pid = self.pool.get('res.users').read(cr, uid, uid, ['partner_id'], context=context)['partner_id'][0] # find current model subtypes, add them to a dictionary subtype_obj = self.pool.get('mail.message.subtype') @@ -495,12 +510,22 @@ class mail_thread(osv.AbstractModel): access rule on the document, for portal document such as issues. """ if not model_obj: model_obj = self - if operation in ['create', 'write', 'unlink']: - model_obj.check_access_rights(cr, uid, 'write') - model_obj.check_access_rule(cr, uid, mids, 'write', context=context) + if hasattr(self, '_mail_post_access'): + create_allow = self._mail_post_access else: - model_obj.check_access_rights(cr, uid, operation) - model_obj.check_access_rule(cr, uid, mids, operation, context=context) + create_allow = 'write' + + if operation in ['write', 'unlink']: + check_operation = 'write' + elif operation == 'create' and create_allow in ['create', 'read', 'write', 'unlink']: + check_operation = create_allow + elif operation == 'create': + check_operation = 'write' + else: + check_operation = operation + + model_obj.check_access_rights(cr, uid, check_operation) + model_obj.check_access_rule(cr, uid, mids, check_operation, context=context) def _get_formview_action(self, cr, uid, id, model=None, context=None): """ Return an action to open the document. This method is meant to be @@ -657,6 +682,12 @@ class mail_thread(osv.AbstractModel): assert thread_id == 0, 'Routing: posting a message without model should be with a null res_id (private message).' _warn('posting a message without model should be with a null res_id (private message), resetting thread_id') thread_id = 0 + # Private message: should have a parent_id (only answers) + if not model and not message_dict.get('parent_id'): + if assert_model: + assert message_dict.get('parent_id'), 'Routing: posting a message without model should be with a parent_id (private mesage).' + _warn('posting a message without model should be with a parent_id (private mesage), skipping') + return () # Existing Document: check if exists; if not, fallback on create if allowed if thread_id and not model_pool.exists(cr, uid, thread_id): @@ -670,7 +701,7 @@ class mail_thread(osv.AbstractModel): return () # Existing Document: check model accepts the mailgateway - if thread_id and not hasattr(model_pool, 'message_update'): + if thread_id and model and not hasattr(model_pool, 'message_update'): if create_fallback: _warn('model %s does not accept document update, fall back on document creation' % model) thread_id = None @@ -681,7 +712,7 @@ class mail_thread(osv.AbstractModel): return () # New Document: check model accepts the mailgateway - if not thread_id and not hasattr(model_pool, 'message_new'): + if not thread_id and model and not hasattr(model_pool, 'message_new'): if assert_model: assert hasattr(model_pool, 'message_new'), 'Model %s does not accept document creation, crashing' % model _warn('model %s does not accept document creation, skipping' % model) @@ -773,16 +804,16 @@ class mail_thread(osv.AbstractModel): # 2. Reply to a private message if in_reply_to: - message_ids = self.pool.get('mail.message').search(cr, uid, [ + mail_message_ids = self.pool.get('mail.message').search(cr, uid, [ ('message_id', '=', in_reply_to), '!', ('message_id', 'ilike', 'reply_to') ], limit=1, context=context) - if message_ids: - message = self.pool.get('mail.message').browse(cr, uid, message_ids[0], context=context) + if mail_message_ids: + mail_message = self.pool.get('mail.message').browse(cr, uid, mail_message_ids[0], context=context) _logger.info('Routing mail from %s to %s with Message-Id %s: direct reply to a private message: %s, custom_values: %s, uid: %s', - email_from, email_to, message_id, message.id, custom_values, uid) + email_from, email_to, message_id, mail_message.id, custom_values, uid) route = self.message_route_verify(cr, uid, message, message_dict, - (message.model, message.res_id, custom_values, uid, None), + (mail_message.model, mail_message.res_id, custom_values, uid, None), update_author=True, assert_model=True, create_fallback=True, context=context) return route and [route] or [] @@ -1007,8 +1038,10 @@ class mail_thread(osv.AbstractModel): # text/plain ->
                 body = tools.append_content_to_html(u'', body, preserve=True)
         else:
-            alternative = (message.get_content_type() == 'multipart/alternative')
+            alternative = False
             for part in message.walk():
+                if part.get_content_type() == 'multipart/alternative':
+                    alternative = True
                 if part.get_content_maintype() == 'multipart':
                     continue  # skip container
                 filename = part.get_filename()  # None if normal part
@@ -1401,9 +1434,9 @@ class mail_thread(osv.AbstractModel):
     # Followers API
     #------------------------------------------------------
 
-    def message_get_subscription_data(self, cr, uid, ids, context=None):
+    def message_get_subscription_data(self, cr, uid, ids, user_pid=None, context=None):
         """ Wrapper to get subtypes data. """
-        return self._get_subscription_data(cr, uid, ids, None, None, context=context)
+        return self._get_subscription_data(cr, uid, ids, None, None, user_pid=user_pid, context=context)
 
     def message_subscribe_users(self, cr, uid, ids, user_ids=None, subtype_ids=None, context=None):
         """ Wrapper on message_subscribe, using users. If user_ids is not
diff --git a/addons/mail/security/mail_security.xml b/addons/mail/security/mail_security.xml
index c369e96102b..5384e2aba95 100644
--- a/addons/mail/security/mail_security.xml
+++ b/addons/mail/security/mail_security.xml
@@ -14,11 +14,22 @@
         
             mail.followers: read and write its own entries
             
+            
             [('partner_id', '=', user.partner_id.id)]
             
             
         
 
+        
+        
+            mail.followers: read and write others entries
+            
+            
+            []
+            
+            
+        
+
         
             mail.notification: read and write its own entries
             
diff --git a/addons/mail/static/lib/jquery.expander/jquery.expander.js b/addons/mail/static/lib/jquery.expander/jquery.expander.js
deleted file mode 100644
index 91cc03db918..00000000000
--- a/addons/mail/static/lib/jquery.expander/jquery.expander.js
+++ /dev/null
@@ -1,385 +0,0 @@
-/*!
- * jQuery Expander Plugin v1.4.2
- *
- * Date: Fri Mar 16 14:29:56 2012 EDT
- * Requires: jQuery v1.3+
- *
- * Copyright 2011, Karl Swedberg
- * Dual licensed under the MIT and GPL licenses (just like jQuery):
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- *
- *
- *
- *
-*/
-
-(function($) {
-  $.expander = {
-    version: '1.4.2',
-    defaults: {
-      // the number of characters at which the contents will be sliced into two parts.
-      slicePoint: 100,
-
-      // whether to keep the last word of the summary whole (true) or let it slice in the middle of a word (false)
-      preserveWords: true,
-
-      // a threshold of sorts for whether to initially hide/collapse part of the element's contents.
-      // If after slicing the contents in two there are fewer words in the second part than
-      // the value set by widow, we won't bother hiding/collapsing anything.
-      widow: 4,
-
-      // text displayed in a link instead of the hidden part of the element.
-      // clicking this will expand/show the hidden/collapsed text
-      expandText: 'read more',
-      expandPrefix: '… ',
-
-      expandAfterSummary: false,
-
-      // class names for summary element and detail element
-      summaryClass: 'summary',
-      detailClass: 'details',
-
-      // class names for  around "read-more" link and "read-less" link
-      moreClass: 'read-more',
-      lessClass: 'read-less',
-
-      // number of milliseconds after text has been expanded at which to collapse the text again.
-      // when 0, no auto-collapsing
-      collapseTimer: 0,
-
-      // effects for expanding and collapsing
-      expandEffect: 'fadeIn',
-      expandSpeed: 250,
-      collapseEffect: 'fadeOut',
-      collapseSpeed: 200,
-
-      // allow the user to re-collapse the expanded text.
-      userCollapse: true,
-
-      // text to use for the link to re-collapse the text
-      userCollapseText: 'read less',
-      userCollapsePrefix: ' ',
-
-
-      // all callback functions have the this keyword mapped to the element in the jQuery set when .expander() is called
-
-      onSlice: null, // function() {}
-      beforeExpand: null, // function() {},
-      afterExpand: null, // function() {},
-      onCollapse: null // function(byUser) {}
-    }
-  };
-
-  $.fn.expander = function(options) {
-    var meth = 'init';
-
-    if (typeof options == 'string') {
-      meth = options;
-      options = {};
-    }
-
-    var opts = $.extend({}, $.expander.defaults, options),
-        rSelfClose = /^<(?:area|br|col|embed|hr|img|input|link|meta|param).*>$/i,
-        rAmpWordEnd = opts.wordEnd || /(&(?:[^;]+;)?|[a-zA-Z\u00C0-\u0100]+)$/,
-        rOpenCloseTag = /<\/?(\w+)[^>]*>/g,
-        rOpenTag = /<(\w+)[^>]*>/g,
-        rCloseTag = /<\/(\w+)>/g,
-        rLastCloseTag = /(<\/[^>]+>)\s*$/,
-        rTagPlus = /^<[^>]+>.?/,
-        delayedCollapse;
-
-    var methods = {
-      init: function() {
-        this.each(function() {
-          var i, l, tmp, newChar, summTagless, summOpens, summCloses,
-              lastCloseTag, detailText, detailTagless,
-              $thisDetails, $readMore,
-              openTagsForDetails = [],
-              closeTagsForsummaryText = [],
-              defined = {},
-              thisEl = this,
-              $this = $(this),
-              $summEl = $([]),
-              o = $.meta ? $.extend({}, opts, $this.data()) : opts,
-              hasDetails = !!$this.find('.' + o.detailClass).length,
-              hasBlocks = !!$this.find('*').filter(function() {
-                var display = $(this).css('display');
-                return (/^block|table|list/).test(display);
-              }).length,
-              el = hasBlocks ? 'div' : 'span',
-              detailSelector = el + '.' + o.detailClass,
-              moreSelector = 'span.' + o.moreClass,
-              expandSpeed = o.expandSpeed || 0,
-              allHtml = $.trim( $this.html() ),
-              allText = $.trim( $this.text() ),
-              summaryText = allHtml.slice(0, o.slicePoint);
-
-          // bail out if we've already set up the expander on this element
-          if ( $.data(this, 'expander') ) {
-            return;
-          }
-
-          $.data(this, 'expander', true);
-
-          // determine which callback functions are defined
-          $.each(['onSlice','beforeExpand', 'afterExpand', 'onCollapse'], function(index, val) {
-            defined[val] = $.isFunction(o[val]);
-          });
-
-          // back up if we're in the middle of a tag or word
-          summaryText = backup(summaryText);
-
-          // summary text sans tags length
-          summTagless = summaryText.replace(rOpenCloseTag, '').length;
-
-          // add more characters to the summary, one for each character in the tags
-          while (summTagless < o.slicePoint) {
-            newChar = allHtml.charAt(summaryText.length);
-            if (newChar == '<') {
-              newChar = allHtml.slice(summaryText.length).match(rTagPlus)[0];
-            }
-            summaryText += newChar;
-            summTagless++;
-          }
-
-          summaryText = backup(summaryText, o.preserveWords);
-
-          // separate open tags from close tags and clean up the lists
-          summOpens = summaryText.match(rOpenTag) || [];
-          summCloses = summaryText.match(rCloseTag) || [];
-
-          // filter out self-closing tags
-          tmp = [];
-          $.each(summOpens, function(index, val) {
-            if ( !rSelfClose.test(val) ) {
-              tmp.push(val);
-            }
-          });
-          summOpens = tmp;
-
-          // strip close tags to just the tag name
-          l = summCloses.length;
-          for (i = 0; i < l; i++) {
-            summCloses[i] = summCloses[i].replace(rCloseTag, '$1');
-          }
-
-          // tags that start in summary and end in detail need:
-          // a). close tag at end of summary
-          // b). open tag at beginning of detail
-          $.each(summOpens, function(index, val) {
-            var thisTagName = val.replace(rOpenTag, '$1');
-            var closePosition = $.inArray(thisTagName, summCloses);
-            if (closePosition === -1) {
-              openTagsForDetails.push(val);
-              closeTagsForsummaryText.push('');
-
-            } else {
-              summCloses.splice(closePosition, 1);
-            }
-          });
-
-          // reverse the order of the close tags for the summary so they line up right
-          closeTagsForsummaryText.reverse();
-
-          // create necessary summary and detail elements if they don't already exist
-          if ( !hasDetails ) {
-
-            // end script if there is no detail text or if detail has fewer words than widow option
-            detailText = allHtml.slice(summaryText.length);
-            detailTagless = $.trim( detailText.replace(rOpenCloseTag, '') );
-
-            if ( detailTagless === '' || detailTagless.split(/\s+/).length < o.widow ) {
-              return;
-            }
-            // otherwise, continue...
-            lastCloseTag = closeTagsForsummaryText.pop() || '';
-            summaryText += closeTagsForsummaryText.join('');
-            detailText = openTagsForDetails.join('') + detailText;
-
-          } else {
-            // assume that even if there are details, we still need readMore/readLess/summary elements
-            // (we already bailed out earlier when readMore el was found)
-            // but we need to create els differently
-
-            // remove the detail from the rest of the content
-            detailText = $this.find(detailSelector).remove().html();
-
-            // The summary is what's left
-            summaryText = $this.html();
-
-            // allHtml is the summary and detail combined (this is needed when content has block-level elements)
-            allHtml = summaryText + detailText;
-
-            lastCloseTag = '';
-          }
-          o.moreLabel = $this.find(moreSelector).length ? '' : buildMoreLabel(o);
-
-          if (hasBlocks) {
-            detailText = allHtml;
-          }
-          summaryText += lastCloseTag;
-
-          // onSlice callback
-          o.summary = summaryText;
-          o.details = detailText;
-          o.lastCloseTag = lastCloseTag;
-
-          if (defined.onSlice) {
-            // user can choose to return a modified options object
-            // one last chance for user to change the options. sneaky, huh?
-            // but could be tricky so use at your own risk.
-            tmp = o.onSlice.call(thisEl, o);
-
-          // so, if the returned value from the onSlice function is an object with a details property, we'll use that!
-            o = tmp && tmp.details ? tmp : o;
-          }
-
-          // build the html with summary and detail and use it to replace old contents
-          var html = buildHTML(o, hasBlocks);
-
-          $this.html( html );
-
-          // set up details and summary for expanding/collapsing
-          $thisDetails = $this.find(detailSelector);
-          $readMore = $this.find(moreSelector);
-          $thisDetails.hide();
-          $readMore.find('a').unbind('click.expander').bind('click.expander', expand);
-
-          $summEl = $this.find('div.' + o.summaryClass);
-
-          if ( o.userCollapse && !$this.find('span.' + o.lessClass).length ) {
-            $this
-            .find(detailSelector)
-            .append('' + o.userCollapsePrefix + '' + o.userCollapseText + '');
-          }
-
-          $this
-          .find('span.' + o.lessClass + ' a')
-          .unbind('click.expander')
-          .bind('click.expander', function(event) {
-            event.preventDefault();
-            clearTimeout(delayedCollapse);
-            var $detailsCollapsed = $(this).closest(detailSelector);
-            reCollapse(o, $detailsCollapsed);
-            if (defined.onCollapse) {
-              o.onCollapse.call(thisEl, true);
-            }
-          });
-
-          function expand(event) {
-            event.preventDefault();
-            $readMore.hide();
-            $summEl.hide();
-            if (defined.beforeExpand) {
-              o.beforeExpand.call(thisEl);
-            }
-
-            $thisDetails.stop(false, true)[o.expandEffect](expandSpeed, function() {
-              $thisDetails.css({zoom: ''});
-              if (defined.afterExpand) {o.afterExpand.call(thisEl);}
-              delayCollapse(o, $thisDetails, thisEl);
-            });
-          }
-
-        }); // this.each
-      },
-      destroy: function() {
-        if ( !this.data('expander') ) {
-          return;
-        }
-        this.removeData('expander');
-        this.each(function() {
-          var $this = $(this),
-              o = $.meta ? $.extend({}, opts, $this.data()) : opts,
-              details = $this.find('.' + o.detailClass).contents();
-
-          $this.find('.' + o.moreClass).remove();
-          $this.find('.' + o.summaryClass).remove();
-          $this.find('.' + o.detailClass).after(details).remove();
-          $this.find('.' + o.lessClass).remove();
-
-        });
-      }
-    };
-
-    // run the methods (almost always "init")
-    if ( methods[meth] ) {
-      methods[ meth ].call(this);
-    }
-
-    // utility functions
-    function buildHTML(o, blocks) {
-      var el = 'span',
-          summary = o.summary;
-      if ( blocks ) {
-        el = 'div';
-        // if summary ends with a close tag, tuck the moreLabel inside it
-        if ( rLastCloseTag.test(summary) && !o.expandAfterSummary) {
-          summary = summary.replace(rLastCloseTag, o.moreLabel + '$1');
-        } else {
-        // otherwise (e.g. if ends with self-closing tag) just add moreLabel after summary
-        // fixes #19
-          summary += o.moreLabel;
-        }
-
-        // and wrap it in a div
-        summary = '
' + summary + '
'; - } else { - summary += o.moreLabel; - } - - return [ - summary, - '<', - el + ' class="' + o.detailClass + '"', - '>', - o.details, - '' - ].join(''); - } - - function buildMoreLabel(o) { - var ret = '' + o.expandPrefix; - ret += '' + o.expandText + ''; - return ret; - } - - function backup(txt, preserveWords) { - if ( txt.lastIndexOf('<') > txt.lastIndexOf('>') ) { - txt = txt.slice( 0, txt.lastIndexOf('<') ); - } - if (preserveWords) { - txt = txt.replace(rAmpWordEnd,''); - } - - return $.trim(txt); - } - - function reCollapse(o, el) { - el.stop(true, true)[o.collapseEffect](o.collapseSpeed, function() { - var prevMore = el.prev('span.' + o.moreClass).show(); - if (!prevMore.length) { - el.parent().children('div.' + o.summaryClass).show() - .find('span.' + o.moreClass).show(); - } - }); - } - - function delayCollapse(option, $collapseEl, thisEl) { - if (option.collapseTimer) { - delayedCollapse = setTimeout(function() { - reCollapse(option, $collapseEl); - if ( $.isFunction(option.onCollapse) ) { - option.onCollapse.call(thisEl, false); - } - }, option.collapseTimer); - } - } - - return this; - }; - - // plugin defaults - $.fn.expander.defaults = $.expander.defaults; -})(jQuery); diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 211133afaf8..a4beca607ba 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -118,6 +118,9 @@ text-overflow:ellipsis; word-wrap: break-word; } +.openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body .oe_mail_cleaned { + display: none; +} /* a) Indented Messages */ @@ -632,11 +635,10 @@ } .openerp .oe_followers .oe_partner { height: 32px; - margin-right: 8px; + margin-right: 24px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; - margin-right: 10px; } .openerp .oe_followers .oe_partner img{ width: 32px; @@ -649,7 +651,18 @@ right: 0px; line-height: 20px; } - +.openerp .oe_followers .oe_edit_subtype{ + cursor: pointer; + position: absolute; + right: 12px; + line-height: 20px; +} +.openerp .oe_followers .oe_partner .oe_hidden{ + display: none; +} +.openerp.ui-dialog .ui-dialog-titlebar .ui-dialog-title{ + padding-right: 20px; +} .openerp .oe_followers .oe_show_more{ cursor: pointer; } diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 5d54a6acc48..62e9241cf4f 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -2,7 +2,7 @@ openerp.mail = function (session) { var _t = session.web._t, _lt = session.web._lt; - var mail = session.mail = {}; + var mail = session.mail; openerp_mail_followers(session, mail); // import mail_followers.js openerp_FieldMany2ManyTagsEmail(session); // import manyy2many_tags_email.js @@ -225,6 +225,7 @@ openerp.mail = function (session) { this.name = datasets.name || false, this.record_name = datasets.record_name || false, this.body = datasets.body || '', + this.body_short = datasets.body_short || '', this.vote_nb = datasets.vote_nb || 0, this.has_voted = datasets.has_voted || false, this.is_favorite = datasets.is_favorite || false, @@ -944,7 +945,6 @@ openerp.mail = function (session) { start: function () { this._super.apply(this, arguments); - this.expender(); this.bind_events(); if(this.thread_level < this.options.display_indented_thread) { this.create_thread(); @@ -967,6 +967,8 @@ openerp.mail = function (session) { this.$('.oe_reply').on('click', this.on_message_reply); this.$('.oe_star').on('click', this.on_star); this.$('.oe_msg_vote').on('click', this.on_vote); + this.$('.oe_mail_expand').on('click', this.on_expand); + this.$('.oe_mail_reduce').on('click', this.on_expand); this.$('.oe_mail_action_model').on('click', this.on_record_clicked); }, @@ -995,15 +997,11 @@ openerp.mail = function (session) { return false; }, - expender: function () { - this.$('.oe_msg_body:first').expander({ - slicePoint: this.options.truncate_limit, - expandText: _t('read more'), - userCollapseText: _t('read less'), - detailClass: 'oe_msg_tail', - moreClass: 'oe_mail_expand', - lessClass: 'oe_mail_reduce', - }); + on_expand: function (event) { + event.stopPropagation(); + this.$('.oe_msg_body_short:first').toggle(); + this.$('.oe_msg_body_long:first').toggle(); + return false; }, /** diff --git a/addons/mail/static/src/js/mail_followers.js b/addons/mail/static/src/js/mail_followers.js index f812844194b..a0dad1fcdbc 100644 --- a/addons/mail/static/src/js/mail_followers.js +++ b/addons/mail/static/src/js/mail_followers.js @@ -29,7 +29,6 @@ openerp_mail_followers = function(session, mail) { this.displayed_limit = this.node.attrs.displayed_nb || 10; this.displayed_nb = this.displayed_limit; this.ds_model = new session.web.DataSetSearch(this, this.view.model); - this.ds_follow = new session.web.DataSetSearch(this, this.field.relation); this.ds_users = new session.web.DataSetSearch(this, 'res.users'); this.value = []; @@ -74,10 +73,33 @@ openerp_mail_followers = function(session, mail) { this.$el.on('click', '.oe_subtype_list input', self.do_update_subscription); // event: click on 'invite' button, that opens the invite wizard this.$('.oe_invite').on('click', self.on_invite_follower); + // event: click on 'edit_subtype(pencil)' button to edit subscription + this.$el.on('click', '.oe_edit_subtype', self.on_edit_subtype); this.$el.on('click', '.oe_remove_follower', self.on_remove_follower); this.$el.on('click', '.oe_show_more', self.on_show_more_followers) }, + on_edit_subtype: function(event) { + var self = this; + var $currentTarget = $(event.currentTarget); + var user_pid = $currentTarget.data('id'); + $('div.oe_edit_actions').remove(); + self.$dialog = new session.web.dialog($('
'), { + modal: true, + width: 'auto', + height: 'auto', + title: _t('Edit Subscription of ') + $currentTarget.siblings('a').text(), + buttons: [ + { text: _t("Apply"), click: function() { + self.do_update_subscription(event, user_pid); + $(this).dialog("close"); + }}, + { text: _t("Cancel"), click: function() { $(this).dialog("close"); }} + ], + }); + return self.fetch_subtypes(user_pid); + }, + on_invite_follower: function (event) { var self = this; var action = { @@ -130,7 +152,7 @@ openerp_mail_followers = function(session, mail) { fetch_followers: function (value_) { this.value = value_ || {}; - return this.ds_follow.call('read', [this.value, ['name', 'user_ids']]) + return this.ds_model.call('read_followers_data', [this.value]) .then(this.proxy('display_followers'), this.proxy('fetch_generic')) .then(this.proxy('display_buttons')) .then(this.proxy('fetch_subtypes')); @@ -147,6 +169,7 @@ openerp_mail_followers = function(session, mail) { self.message_is_follower = (_.indexOf(self.value, pid) != -1); }).then(self.proxy('display_generic')); }, + _format_followers: function(count){ var str = ''; if(count <= 0){ @@ -158,6 +181,7 @@ openerp_mail_followers = function(session, mail) { } return str; }, + /* Display generic info about follower, for people not having access to res_partner */ display_generic: function () { var self = this; @@ -168,16 +192,32 @@ openerp_mail_followers = function(session, mail) { /** Display the followers */ display_followers: function (records) { var self = this; + this.message_is_follower = false; this.followers = records || this.followers; - this.message_is_follower = this.set_is_follower(this.followers); // clean and display title var node_user_list = this.$('.oe_follower_list').empty(); this.$('.oe_follower_title').html(this._format_followers(this.followers.length)); // truncate number of displayed followers var truncated = this.followers.slice(0, this.displayed_nb); _(truncated).each(function (record) { - record.avatar_url = mail.ChatterUtils.get_image(self.session, 'res.partner', 'image_small', record.id); - $(session.web.qweb.render('mail.followers.partner', {'record': record, 'widget': self})).appendTo(node_user_list); + partner = { + 'id': record[0], + 'name': record[1], + 'is_uid': record[2]['is_uid'], + 'is_editable': record[2]['is_editable'], + 'avatar_url': mail.ChatterUtils.get_image(self.session, 'res.partner', 'image_small', record[0]), + } + if (partner.is_uid) { + self.message_is_follower = partner.is_uid; + } + $(session.web.qweb.render('mail.followers.partner', {'record': partner, 'widget': self})).appendTo(node_user_list); + // On mouse-enter it will show the edit_subtype pencil. + if (partner.is_editable) { + self.$('.oe_follower_list').on('mouseenter mouseleave', function(e) { + self.$('.oe_edit_subtype').toggleClass('oe_hidden', e.type == 'mouseleave'); + self.$('.oe_follower_list').find('.oe_partner').toggleClass('oe_partner_name', e.type == 'mouseenter'); + }); + } }); // FVA note: be sure it is correctly translated if (truncated.length < this.followers.length) { @@ -185,12 +225,6 @@ openerp_mail_followers = function(session, mail) { } }, - /** Computes whether the current user is in the followers */ - set_is_follower: function (records) { - var user_ids = _.pluck(_.pluck(records, 'user_ids'), 0); - return _.indexOf(user_ids, this.session.uid) != -1; - }, - display_buttons: function () { if (this.message_is_follower) { this.$('button.oe_follower').removeClass('oe_notfollow').addClass('oe_following'); @@ -206,25 +240,37 @@ openerp_mail_followers = function(session, mail) { }, /** Fetch subtypes, only if current user is follower */ - fetch_subtypes: function () { + fetch_subtypes: function (user_pid) { var self = this; - var subtype_list_ul = this.$('.oe_subtype_list').empty(); - if (! this.message_is_follower) return; + var dialog = false; + if (user_pid) { + dialog = true; + } else { + var subtype_list_ul = this.$('.oe_subtype_list').empty(); + if (! this.message_is_follower) return; + } var id = this.view.datarecord.id; - this.ds_model.call('message_get_subscription_data', [[id], new session.web.CompoundContext(this.build_context(), {})]) - .then(function (data) {self.display_subtypes(data, id);}); + this.ds_model.call('message_get_subscription_data', [[id], user_pid, new session.web.CompoundContext(this.build_context(), {})]) + .then(function (data) {self.display_subtypes(data, id, dialog);}); }, /** Display subtypes: {'name': default, followed} */ - display_subtypes:function (data, id) { + display_subtypes:function (data, id, dialog) { var self = this; - var $list = this.$('.oe_subtype_list'); + if (dialog) { + var $list = self.$dialog; + } + else { + var $list = this.$('.oe_subtype_list'); + } $list.empty().hide(); var records = data[this.view.datarecord.id || this.view.dataset.ids[0]].message_subtype_data; + this.records_length = $.map(records, function(value, index) { return index; }).length; + if (this.records_length > 1) { self.display_followers(); } _(records).each(function (record, record_name) { record.name = record_name; record.followed = record.followed || undefined; - $(session.web.qweb.render('mail.followers.subtype', {'record': record})).appendTo( self.$('.oe_subtype_list') ); + $(session.web.qweb.render('mail.followers.subtype', {'record': record})).appendTo($list); }); if (_.size(records) > 1) { $list.show(); @@ -241,35 +287,49 @@ openerp_mail_followers = function(session, mail) { }); }, - do_unfollow: function () { + do_unfollow: function (user_pid) { if (confirm(_t("Warning! \nYou won't be notified of any email or discussion on this document. Do you really want to unfollow this document ?"))) { _(this.$('.oe_msg_subtype_check')).each(function (record) { $(record).attr('checked',false); }); + var action_unsubscribe = 'message_unsubscribe_users'; + var follower_ids = [this.session.uid]; + if (user_pid) { + action_unsubscribe = 'message_unsubscribe'; + follower_ids = [user_pid]; + } var context = new session.web.CompoundContext(this.build_context(), {}); - return this.ds_model.call('message_unsubscribe_users', [[this.view.datarecord.id], [this.session.uid], context]) - .then(this.proxy('read_value')); + return this.ds_model.call(action_unsubscribe, [[this.view.datarecord.id], follower_ids, context]) + .then(this.proxy('read_value')); } return false; }, - do_update_subscription: function (event) { + do_update_subscription: function (event, user_pid) { var self = this; + var action_subscribe = 'message_subscribe_users'; + var follower_ids = [this.session.uid]; + var oe_action = this.$('.oe_actions input[type="checkbox"]'); + if (user_pid) { + action_subscribe = 'message_subscribe'; + follower_ids = [user_pid]; + oe_action = $('.oe_edit_actions input[type="checkbox"]'); + } var checklist = new Array(); - _(this.$('.oe_actions input[type="checkbox"]')).each(function (record) { + _(oe_action).each(function (record) { if ($(record).is(':checked')) { checklist.push(parseInt($(record).data('id'))); } }); if (!checklist.length) { - if (!this.do_unfollow()) { + if (!this.do_unfollow(user_pid)) { $(event.target).attr("checked", "checked"); } } else { var context = new session.web.CompoundContext(this.build_context(), {}); - return this.ds_model.call('message_subscribe_users', [[this.view.datarecord.id], [this.session.uid], checklist, context]) + return this.ds_model.call(action_subscribe, [[this.view.datarecord.id], follower_ids, checklist, context]) .then(this.proxy('read_value')); } }, diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 94ee1ff452f..1be9754e1c7 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -266,7 +266,13 @@
- + +
+ +
+ + +
+ diff --git a/addons/purchase_analytic_plans/i18n/en_GB.po b/addons/purchase_analytic_plans/i18n/en_GB.po new file mode 100644 index 00000000000..91a197ce900 --- /dev/null +++ b/addons/purchase_analytic_plans/i18n/en_GB.po @@ -0,0 +1,33 @@ +# English (United Kingdom) translation for openobject-addons +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-12-21 17:06+0000\n" +"PO-Revision-Date: 2013-08-23 16:46+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: English (United Kingdom) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-08-24 05:03+0000\n" +"X-Generator: Launchpad (build 16738)\n" + +#. module: purchase_analytic_plans +#: field:purchase.order.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Analytic Distribution" + +#. module: purchase_analytic_plans +#: model:ir.model,name:purchase_analytic_plans.model_purchase_order_line +msgid "Purchase Order Line" +msgstr "Purchase Order Line" + +#. module: purchase_analytic_plans +#: model:ir.model,name:purchase_analytic_plans.model_purchase_order +msgid "Purchase Order" +msgstr "Purchase Order" diff --git a/addons/purchase_requisition/purchase_requisition.py b/addons/purchase_requisition/purchase_requisition.py index c5d32136a7a..df73887cc42 100644 --- a/addons/purchase_requisition/purchase_requisition.py +++ b/addons/purchase_requisition/purchase_requisition.py @@ -37,7 +37,7 @@ class purchase_requisition(osv.osv): 'date_start': fields.datetime('Requisition Date'), 'date_end': fields.datetime('Requisition Deadline'), 'user_id': fields.many2one('res.users', 'Responsible'), - 'exclusive': fields.selection([('exclusive','Purchase Requisition (exclusive)'),('multiple','Multiple Requisitions')],'Requisition Type', required=True, help="Purchase Requisition (exclusive): On the confirmation of a purchase order, it cancels the remaining purchase order.\nPurchase Requisition(Multiple): It allows to have multiple purchase orders.On confirmation of a purchase order it does not cancel the remaining orders"""), + 'exclusive': fields.selection([('exclusive','Purchase Requisition (exclusive)'),('multiple','Multiple Requisitions')],'Requisition Type', required=True, help="Purchase Requisition (exclusive): On the confirmation of a purchase order, it cancels the remaining purchase order.\nMultiple Requisitions: It allows to have multiple purchase orders.On confirmation of a purchase order it does not cancel the remaining orders"""), 'description': fields.text('Description'), 'company_id': fields.many2one('res.company', 'Company', required=True), 'purchase_ids' : fields.one2many('purchase.order','requisition_id','Purchase Orders',states={'done': [('readonly', True)]}), diff --git a/addons/report_webkit/__openerp__.py b/addons/report_webkit/__openerp__.py index f4035a951de..9440743057a 100644 --- a/addons/report_webkit/__openerp__.py +++ b/addons/report_webkit/__openerp__.py @@ -62,8 +62,9 @@ This module requires the ``wkthtmltopdf`` library to render HTML documents as PDF. Version 0.9.9 or later is necessary, and can be found at http://code.google.com/p/wkhtmltopdf/ for Linux, Mac OS X (i386) and Windows (32bits). -After installing the library on the OpenERP Server machine, you need to set the -path to the ``wkthtmltopdf`` executable file on each Company. +After installing the library on the OpenERP Server machine, you may need to set +the path to the ``wkthtmltopdf`` executable file in a system parameter named +``webkit_path`` in Settings -> Customization -> Parameters -> System Parameters If you are experiencing missing header/footer problems on Linux, be sure to install a 'static' version of the library. The default ``wkhtmltopdf`` on diff --git a/addons/report_webkit/ir_report_view.xml b/addons/report_webkit/ir_report_view.xml index 1709b360c1d..37260628396 100644 --- a/addons/report_webkit/ir_report_view.xml +++ b/addons/report_webkit/ir_report_view.xml @@ -11,8 +11,9 @@ - - + + + diff --git a/addons/sale/security/sale_security.xml b/addons/sale/security/sale_security.xml index 557562275d7..710fbdcc207 100644 --- a/addons/sale/security/sale_security.xml +++ b/addons/sale/security/sale_security.xml @@ -36,6 +36,7 @@ Properties on lines + diff --git a/addons/sale/wizard/sale_line_invoice.xml b/addons/sale/wizard/sale_line_invoice.xml index 70693215be0..6be23e18de5 100644 --- a/addons/sale/wizard/sale_line_invoice.xml +++ b/addons/sale/wizard/sale_line_invoice.xml @@ -22,7 +22,7 @@ - Make Invoices + Create Invoice ir.actions.act_window sale.order.line.make.invoice form diff --git a/addons/sale_analytic_plans/i18n/en_GB.po b/addons/sale_analytic_plans/i18n/en_GB.po new file mode 100644 index 00000000000..31605a66d68 --- /dev/null +++ b/addons/sale_analytic_plans/i18n/en_GB.po @@ -0,0 +1,33 @@ +# English (United Kingdom) translation for openobject-addons +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-12-21 17:06+0000\n" +"PO-Revision-Date: 2013-08-23 16:45+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: English (United Kingdom) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-08-24 05:03+0000\n" +"X-Generator: Launchpad (build 16738)\n" + +#. module: sale_analytic_plans +#: field:sale.order.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Analytic Distribution" + +#. module: sale_analytic_plans +#: model:ir.model,name:sale_analytic_plans.model_sale_order +msgid "Sales Order" +msgstr "Sales Order" + +#. module: sale_analytic_plans +#: model:ir.model,name:sale_analytic_plans.model_sale_order_line +msgid "Sales Order Line" +msgstr "Sales Order Line" diff --git a/addons/sale_crm/sale_crm.py b/addons/sale_crm/sale_crm.py index 97c5f4579e0..109f1061ed0 100644 --- a/addons/sale_crm/sale_crm.py +++ b/addons/sale_crm/sale_crm.py @@ -96,6 +96,13 @@ class res_users(osv.Model): 'default_section_id': fields.many2one('crm.case.section', 'Default Sales Team'), } + def __init__(self, pool, cr): + init_res = super(res_users, self).__init__(pool, cr) + # duplicate list to avoid modifying the original reference + self.SELF_WRITEABLE_FIELDS = list(self.SELF_WRITEABLE_FIELDS) + self.SELF_WRITEABLE_FIELDS.extend(['default_section_id']) + return init_res + class sale_crm_lead(osv.Model): _inherit = 'crm.lead' diff --git a/addons/sale_crm/sale_crm_view.xml b/addons/sale_crm/sale_crm_view.xml index ae21934ce61..63ad9fb980e 100644 --- a/addons/sale_crm/sale_crm_view.xml +++ b/addons/sale_crm/sale_crm_view.xml @@ -9,8 +9,8 @@ -
Description @@ -110,7 +110,7 @@
[[ repeatIn(order.order_line,'order_line') ]] - +
[[ order_line.name ]] @@ -119,10 +119,10 @@ [[ formatLang(order_line.date_planned, date = True) ]] - - [[ formatLang(order_line.product_qty )]] - [[ (order_line.product_uom and order_line.product_uom.name) or '' ]] - + [[ formatLang(order_line.product_qty )]] + + [[ (order_line.product_uom and order_line.product_uom.name) or '' ]]