From c9f3b0f46a833adb32e11ccdddd03c2fc9afcbfc Mon Sep 17 00:00:00 2001 From: florian da Costa Date: Mon, 27 Feb 2012 16:06:20 -0300 Subject: [PATCH 001/317] [FIX] fixed sale order line properties not copied in procurement bug lp bug: https://launchpad.net/bugs/926107 fixed bzr revid: florian.dacosta@akretion.com.br-20120227190620-ltdpop07hggjc9lb --- addons/sale/sale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 82bfda7b580..5dca3d432f0 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -720,7 +720,8 @@ class sale_order(osv.osv): 'procure_method': line.type, 'move_id': move_id, 'company_id': order.company_id.id, - 'note': line.notes + 'note': line.notes, + 'property_ids': [(6, 0, [x.id for x in line.property_ids])] } def _prepare_order_line_move(self, cr, uid, order, line, picking_id, date_planned, context=None): From 5ba6b775acbedf74eac34fa1bc52a809585e96ff Mon Sep 17 00:00:00 2001 From: "Bhumi Thakkar (Open ERP)" Date: Tue, 8 May 2012 19:02:10 +0530 Subject: [PATCH 002/317] [IMP] Image displayed in kanban. bzr revid: bth@tinyerp.com-20120508133210-hs3ku34n957fkxvk --- addons/web_kanban/static/src/js/kanban.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index 928a06d8ba2..f402573b4fc 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -581,10 +581,14 @@ instance.web_kanban.KanbanRecord = instance.web.OldWidget.extend({ }, kanban_image: function(model, field, id) { id = id || ''; - var url = instance.connection.prefix + '/web/binary/image?session_id=' + this.session.session_id + '&model=' + model + '&field=' + field + '&id=' + id; - if (this.record.__last_update && this.record.__last_update.raw_value) { - var time = instance.web.str_to_datetime(this.record.__last_update.raw_value).getTime(); - url += '&t=' + time; + if (typeof(id)=="string" && this.record[field].value && this.record[field].value.substr(0, 10).indexOf(' ') == -1) { + url = 'data:image/png;base64,' + this.record[field].value; + }else{ + var url = instance.connection.prefix + '/web/binary/image?session_id=' + this.session.session_id + '&model=' + model + '&field=' + field + '&id=' + id; + if (this.record.__last_update && this.record.__last_update.raw_value) { + var time = instance.web.str_to_datetime(this.record.__last_update.raw_value).getTime(); + url += '&t=' + time; + } } return url; }, From 4afcce3a4722cddef89a1548cfd406960f8e9c23 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre <> Date: Mon, 21 May 2012 11:57:36 +0530 Subject: [PATCH 003/317] [FIX] the problem of Empty list of journals when trying to create invoice from picking lp bug: https://launchpad.net/bugs/1001806 fixed bzr revid: rmu@tinyerp.com-20120521062736-qkd3d20k0pxzn2l8 --- addons/stock/wizard/stock_invoice_onshipping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_invoice_onshipping.py b/addons/stock/wizard/stock_invoice_onshipping.py index 46c55311045..ca294f8ec79 100644 --- a/addons/stock/wizard/stock_invoice_onshipping.py +++ b/addons/stock/wizard/stock_invoice_onshipping.py @@ -36,7 +36,7 @@ class stock_invoice_onshipping(osv.osv_memory): context = {} model = context.get('active_model') - if not model or model != 'stock.picking': + if not model or 'stock.picking' not in model: return [] model_pool = self.pool.get(model) From a02445bf2d9919585e87fcb0dae5b8b9a93075d5 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Fri, 8 Jun 2012 19:20:16 +0200 Subject: [PATCH 004/317] more improvement to chatter bzr revid: mit@openerp.com-20120608172016-nkay98ce3yq8gc4o --- addons/mail/static/src/js/mail.js | 15 ++++++++++++--- addons/mail/static/src/xml/mail.xml | 16 ++++++++-------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 905e95f3aef..1133769a4ee 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -95,7 +95,7 @@ openerp.mail = function(session) { this.params = params; this.params.parent_id = this.params.parent_id || false; this.params.thread_level = this.params.thread_level || 0; - this.params.msg_more_limit = this.params.msg_more_limit || 100; + this.params.msg_more_limit = this.params.msg_more_limit || 290; this.params.limit = this.params.limit || 100; this.params.offset = this.params.offset || 0; this.params.records = this.params.records || null; @@ -282,8 +282,8 @@ openerp.mail = function(session) { ).appendTo(this.$element.children('div.oe_mail_thread_display:first')); // truncated: hide full-text, show summary, add buttons if (record.tr_body) { - var node_body = this.$element.find('span.oe_mail_msg_body:last').append(' [ ... Show less]'); - var node_body_short = this.$element.find('span.oe_mail_msg_body_short:last').append(' [ ... Show more]'); + var node_body = this.$element.find('span.oe_mail_msg_body:last').append('... Less'); + var node_body_short = this.$element.find('span.oe_mail_msg_body_short:last').append('... More'); node_body.hide(); node_body.find('a:last').click(function() { node_body.hide(); node_body_short.show(); return false; }); node_body_short.find('a:last').click(function() { node_body_short.hide(); node_body.show(); return false; }); @@ -613,6 +613,7 @@ openerp.mail = function(session) { start: function () { this._super.apply(this, arguments); var self = this; + this.display_current_user(); // add events this.add_event_handlers(); // load mail.message search view @@ -672,6 +673,14 @@ openerp.mail = function(session) { }); }, + display_current_user: function () { + return this.$element.find('img.oe_mail_msg_image').attr('src', this.thread_get_avatar('res.users', 'avatar', this.session.uid)); + }, + + thread_get_avatar: function(model, field, id) { + return this.session.prefix + '/web/binary/image?session_id=' + this.session.session_id + '&model=' + model + '&field=' + field + '&id=' + (id || ''); + }, + /** * Initializes the wall and calls fetch_comments * @param {Number} limit: number of notifications to fetch diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index a34e362960b..9f5fb8cd818 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -72,27 +72,27 @@

- +

@@ -102,7 +102,7 @@

- +

From:

@@ -115,12 +115,12 @@
    -
  • Delete ·
  • +
  • Delete ·
  • -
  • Hide ·
  • +
  • Hide ·
  • From 4d3944243fbfb88efdb5b5a383a403eedd1bc51f Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Mon, 11 Jun 2012 18:15:18 +0530 Subject: [PATCH 005/317] [IMP]Sale order -preventing from creating invoice without invoicing payment terms bzr revid: dhr@tinyerp.com-20120611124518-oz0nei3qccmpmnwm --- addons/sale/security/ir.model.access.csv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sale/security/ir.model.access.csv b/addons/sale/security/ir.model.access.csv index 2e08a025971..30a70a9c127 100644 --- a/addons/sale/security/ir.model.access.csv +++ b/addons/sale/security/ir.model.access.csv @@ -4,8 +4,8 @@ access_sale_order,sale.order,model_sale_order,base.group_sale_salesman,1,1,1,0 access_sale_order_line,sale.order.line,model_sale_order_line,base.group_sale_salesman,1,1,1,1 access_sale_order_line_accountant,sale.order.line accountant,model_sale_order_line,account.group_account_user,1,1,0,0 access_account_invoice_tax_salesman,account_invoice_tax salesman,account.model_account_invoice_tax,base.group_sale_salesman,1,1,1,0 -access_account_invoice_salesman,account_invoice salesman,account.model_account_invoice,base.group_sale_salesman,1,1,1,0 -access_account_invoice_manager,account_invoice manager,account.model_account_invoice,base.group_sale_manager,1,1,1,1 +access_account_invoice_salesman,account_invoice salesman,account.model_account_invoice,base.group_sale_salesman,1,0,0,0 +access_account_invoice_manager,account_invoice manager,account.model_account_invoice,base.group_sale_manager,1,0,0,0 access_account_invoice_line_salesman,account_invoice.line salesman,account.model_account_invoice_line,base.group_sale_salesman,1,1,1,0 access_account_payment_term_salesman,account_payment_term salesman,account.model_account_payment_term,base.group_sale_salesman,1,0,0,0 access_account_analytic_account_salesman,account_analytic_account salesman,analytic.model_account_analytic_account,base.group_sale_salesman,1,1,1,0 @@ -58,4 +58,4 @@ access_product_pricelist_type_sale_manager,product.pricelist.type salemanager,pr access_product_pricelist_sale_manager,product.pricelist salemanager,product.model_product_pricelist,base.group_sale_manager,1,1,1,1 access_product_group_res_partner_sale_manager,res_partner group_sale_manager,base.model_res_partner,base.group_sale_manager,1,1,1,0 access_product_pricelist_version_sale_manager,product.pricelist.version sale_manager,product.model_product_pricelist_version,base.group_sale_manager,1,1,1,1 -access_account_invoice_report_salesman,account.invoice.report salesman,account.model_account_invoice_report,base.group_sale_salesman,1,0,0,0 \ No newline at end of file +access_account_invoice_report_salesman,account.invoice.report salesman,account.model_account_invoice_report,base.group_sale_salesman,1,0,0,0 From 921fe3ce3d7836191bc7ff6ad97366e98fe278fb Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Mon, 11 Jun 2012 18:37:30 +0530 Subject: [PATCH 006/317] [IMP]Sales - Open product form by sale user and manager bzr revid: dhr@tinyerp.com-20120611130730-n8eaqa596o2bn67k --- addons/sale/security/ir.model.access.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/sale/security/ir.model.access.csv b/addons/sale/security/ir.model.access.csv index 30a70a9c127..e71c47ad23b 100644 --- a/addons/sale/security/ir.model.access.csv +++ b/addons/sale/security/ir.model.access.csv @@ -59,3 +59,5 @@ access_product_pricelist_sale_manager,product.pricelist salemanager,product.mode access_product_group_res_partner_sale_manager,res_partner group_sale_manager,base.model_res_partner,base.group_sale_manager,1,1,1,0 access_product_pricelist_version_sale_manager,product.pricelist.version sale_manager,product.model_product_pricelist_version,base.group_sale_manager,1,1,1,1 access_account_invoice_report_salesman,account.invoice.report salesman,account.model_account_invoice_report,base.group_sale_salesman,1,0,0,0 +access_stock_warehouse_orderpoint_salesman,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,base.group_sale_salesman,1,0,0,0 +access_stock_warehouse_orderpoint_sale_manager,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,base.group_sale_manager,1,0,0,0 From 7dbbcc58bd95fe77a49b22a2ddf86e446bb50453 Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Mon, 11 Jun 2012 18:41:43 +0530 Subject: [PATCH 007/317] [IMP]Sales-No access to Product form view for sale user bzr revid: dhr@tinyerp.com-20120611131143-rsp590xxiqk1ug52 --- addons/sale/security/ir.model.access.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/sale/security/ir.model.access.csv b/addons/sale/security/ir.model.access.csv index e71c47ad23b..23777b04378 100644 --- a/addons/sale/security/ir.model.access.csv +++ b/addons/sale/security/ir.model.access.csv @@ -59,5 +59,4 @@ access_product_pricelist_sale_manager,product.pricelist salemanager,product.mode access_product_group_res_partner_sale_manager,res_partner group_sale_manager,base.model_res_partner,base.group_sale_manager,1,1,1,0 access_product_pricelist_version_sale_manager,product.pricelist.version sale_manager,product.model_product_pricelist_version,base.group_sale_manager,1,1,1,1 access_account_invoice_report_salesman,account.invoice.report salesman,account.model_account_invoice_report,base.group_sale_salesman,1,0,0,0 -access_stock_warehouse_orderpoint_salesman,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,base.group_sale_salesman,1,0,0,0 access_stock_warehouse_orderpoint_sale_manager,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,base.group_sale_manager,1,0,0,0 From 68ed95181f7c91b779e09186a67b845db91901ff Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Mon, 11 Jun 2012 19:02:03 +0530 Subject: [PATCH 008/317] [IMP]Warehouse - all access of physical inventory to warehouse manager and readonly access to user bzr revid: dhr@tinyerp.com-20120611133203-d65rt11vur0yjxwh --- addons/stock/security/ir.model.access.csv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/stock/security/ir.model.access.csv b/addons/stock/security/ir.model.access.csv index a391f117393..19d724eb02c 100644 --- a/addons/stock/security/ir.model.access.csv +++ b/addons/stock/security/ir.model.access.csv @@ -18,10 +18,10 @@ access_stock_production_lot_user,stock.production.lot user,model_stock_productio access_stock_production_lot_revision,stock.production.lot.revision,model_stock_production_lot_revision,stock.group_stock_user,1,1,1,1 access_stock_move_manager,stock.move manager,model_stock_move,stock.group_stock_manager,1,1,0,0 access_stock_move_user,stock.move user,model_stock_move,stock.group_stock_user,1,0,0,0 -access_stock_inventory_user,stock.inventory user,model_stock_inventory,stock.group_stock_user,1,1,1,1 -access_stock_inventory_manager,stock.inventory manager,model_stock_inventory,stock.group_stock_manager,1,0,0,0 -access_stock_inventory_line_user,stock.inventory.line user,model_stock_inventory_line,stock.group_stock_user,1,1,1,1 -access_stock_inventory_line_manager,stock.inventory.line manager,model_stock_inventory_line,stock.group_stock_manager,1,0,0,0 +access_stock_inventory_user,stock.inventory user,model_stock_inventory,stock.group_stock_user,1,0,0,0 +access_stock_inventory_manager,stock.inventory manager,model_stock_inventory,stock.group_stock_manager,1,1,1,1 +access_stock_inventory_line_user,stock.inventory.line user,model_stock_inventory_line,stock.group_stock_user,1,0,0,0 +access_stock_inventory_line_manager,stock.inventory.line manager,model_stock_inventory_line,stock.group_stock_manager,1,1,1,1 access_stock_report_prodlots,stock.report.prodlots,model_stock_report_prodlots,stock.group_stock_manager,1,0,0,0 access_stock_location_sale_manager,stock.location sale manager,model_stock_location,base.group_sale_manager,1,0,0,0 access_stock_location_stock_manager,stock.location stock manager,model_stock_location,stock.group_stock_manager,1,0,0,0 From f34c85369f65eda08999d573f4c300c9424baa6b Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Tue, 12 Jun 2012 15:51:29 +0530 Subject: [PATCH 009/317] [IMP]Event - applying proper access rights for user and manager bzr revid: dhr@tinyerp.com-20120612102129-gqdlz6911b3h1ld6 --- addons/event/security/ir.model.access.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/event/security/ir.model.access.csv b/addons/event/security/ir.model.access.csv index cf95d00876e..cb2d5bcbcd9 100644 --- a/addons/event/security/ir.model.access.csv +++ b/addons/event/security/ir.model.access.csv @@ -4,5 +4,5 @@ access_event_type_manager,event.type manager,model_event_type,event.group_event_ access_event_event,event.event,model_event_event,event.group_event_user,1,1,1,0 access_event_registration,event.registration,model_event_registration,event.group_event_user,1,1,1,0 access_report_event_registration,report.event.registration,model_report_event_registration,event.group_event_user,1,1,1,1 -access_event_event_manager,event.event manager,model_event_event,event.group_event_manager,1,0,0,0 -access_event_registration_manager,event.registration manager,model_event_registration,event.group_event_manager,1,0,0,0 +access_event_event_manager,event.event manager,model_event_event,event.group_event_manager,1,1,1,1 +access_event_registration_manager,event.registration manager,model_event_registration,event.group_event_manager,1,1,1,1 From c54a82ef4f5148f3e9d3a84f9f712dd0cde712d4 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Thu, 14 Jun 2012 19:33:58 +0200 Subject: [PATCH 010/317] Fixed chatter textarea bzr revid: mit@openerp.com-20120614173358-yto27o9cstqyb2sr --- addons/mail/static/src/xml/mail.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 5ff8a996116..9ea137916fe 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -45,9 +45,7 @@
    User img -
    - @@ -982,7 +982,7 @@ - +
    @@ -994,7 +994,7 @@
    - + - + -
      +
        @@ -1021,7 +1021,7 @@ - +
        @@ -1049,7 +1049,7 @@ - +
        - + @@ -1116,6 +1116,7 @@ -
        From 4d7d5afce0042a909205a10ea22100b036c357dd Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 10 Jul 2012 12:12:37 +0200 Subject: [PATCH 263/317] [IMP] opporunity form small improvement in layout bzr revid: fp@tinyerp.com-20120710101237-zzsi61hzwbxemi6b --- addons/crm/crm_lead_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 85f9a4aab5d..7e05f8cb579 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -468,7 +468,7 @@

        at - %% success rate + %% success rate

        From 16191491ebb7d36c6a914443c2ce06ef1e4ec4d5 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 10 Jul 2012 13:07:40 +0200 Subject: [PATCH 264/317] [IMP] tools: usability, review of form views bzr revid: qdp-launchpad@openerp.com-20120710110740-rj2820hn4w9hmxdj --- addons/idea/idea_view.xml | 16 +++-- addons/lunch/lunch.py | 2 +- addons/lunch/lunch_view.xml | 18 +++--- addons/survey/static/src/css/survey.css | 4 -- addons/survey/survey.py | 2 +- addons/survey/survey_view.xml | 81 ++++++++++++------------- 6 files changed, 54 insertions(+), 69 deletions(-) diff --git a/addons/idea/idea_view.xml b/addons/idea/idea_view.xml index 9dfbd859d4e..8d7a726f015 100644 --- a/addons/idea/idea_view.xml +++ b/addons/idea/idea_view.xml @@ -20,11 +20,9 @@ form
        - - - - - + + +
        @@ -77,10 +75,10 @@
        - - - - - - / - - - - - -
        From 3de5a56fd509dda10bcef6a412110e0bdddf1b7c Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 10 Jul 2012 18:29:21 +0200 Subject: [PATCH 271/317] [IMP] new wizard style bzr revid: fp@tinyerp.com-20120710162921-kxlxfevs926820ah --- .../crm/wizard/crm_opportunity_to_phonecall_view.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml b/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml index 6c921b3f071..ccabcde88fe 100644 --- a/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml +++ b/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml @@ -10,12 +10,6 @@ form
        -
        -
        @@ -34,6 +28,12 @@ +
        +
        From 64a9321d56a6f6a46cf153eafa85fb065327b025 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 10 Jul 2012 18:40:11 +0200 Subject: [PATCH 272/317] [IMP] footer on forms bzr revid: fp@tinyerp.com-20120710164011-unqi1okf2uu8yhts --- .../account_automatic_reconcile_view.xml | 10 ++--- .../wizard/account_change_currency_view.xml | 10 ++--- addons/account/wizard/account_chart_view.xml | 10 ++--- .../wizard/account_fiscalyear_close_view.xml | 10 ++--- .../wizard/account_invoice_refund_view.xml | 10 ++--- .../wizard/account_invoice_state_view.xml | 32 +++++++------- .../wizard/account_journal_select_view.xml | 14 +++---- .../account_move_bank_reconcile_view.xml | 10 ++--- ...ccount_move_line_reconcile_select_view.xml | 10 ++--- .../wizard/account_move_line_select_view.xml | 6 +-- ...ount_move_line_unreconcile_select_view.xml | 10 ++--- .../account_open_closed_fiscalyear_view.xml | 10 ++--- .../wizard/account_period_close_view.xml | 10 ++--- ...account_reconcile_partner_process_view.xml | 6 +-- .../account/wizard/account_reconcile_view.xml | 14 +++---- ...count_report_aged_partner_balance_view.xml | 10 ++--- .../wizard/account_report_common_view.xml | 10 ++--- .../wizard/account_state_open_view.xml | 10 ++--- .../account_subscription_generate_view.xml | 10 ++--- .../account/wizard/account_tax_chart_view.xml | 10 ++--- .../wizard/account_unreconcile_view.xml | 8 ++-- .../account/wizard/account_use_model_view.xml | 16 +++---- .../wizard/account_validate_move_view.xml | 42 +++++++++---------- addons/account/wizard/account_vat_view.xml | 10 ++--- .../account_crossovered_analytic_view.xml | 10 ++--- .../analytic_plan_create_model_view.xml | 6 +-- .../account_asset_change_duration_view.xml | 10 ++--- .../wizard/wizard_asset_compute_view.xml | 10 ++--- .../wizard/account_budget_analytic_view.xml | 10 ++--- ...account_budget_crossovered_report_view.xml | 10 ++--- ...budget_crossovered_summary_report_view.xml | 10 ++--- .../wizard/account_budget_report_view.xml | 10 ++--- .../wizard/account_followup_print_view.xml | 10 ++--- .../account_payment_create_order_view.xml | 20 ++++----- .../wizard/account_payment_pay_view.xml | 6 +-- ...ccount_payment_populate_statement_view.xml | 10 ++--- .../account_statement_from_invoice_view.xml | 18 ++++---- .../account_voucher_unreconcile_view.xml | 8 ++-- .../wizard/audittrail_view_log_view.xml | 10 ++--- .../base_calendar_invite_attendee_view.xml | 10 ++--- .../wizard/generate_relation_graph_view.xml | 6 +-- .../wizard/base_module_record_data_view.xml | 10 ++--- .../wizard/base_module_record_object_view.xml | 20 ++++----- .../wizard/base_module_save_view.xml | 10 ++--- .../wizard/base_report_design_view.xml | 10 ++--- .../board/wizard/board_menu_create_view.xml | 10 ++--- addons/caldav/wizard/caldav_browse_view.xml | 6 +-- .../wizard/calendar_event_import_view.xml | 10 ++--- .../wizard/calendar_event_subscribe_view.xml | 10 ++--- addons/crm/wizard/crm_add_note_view.xml | 10 ++--- .../wizard/crm_lead_to_opportunity_view.xml | 20 ++++----- .../crm/wizard/crm_lead_to_partner_view.xml | 10 ++--- .../wizard/crm_merge_opportunities_view.xml | 10 ++--- .../crm_partner_to_opportunity_view.xml | 10 ++--- .../wizard/crm_phonecall_to_meeting_view.xml | 6 +-- .../crm_phonecall_to_opportunity_view.xml | 10 ++--- .../wizard/crm_phonecall_to_partner_view.xml | 20 ++++----- .../crm_phonecall_to_phonecall_view.xml | 12 +++--- .../wizard/crm_forward_to_partner_view.xml | 10 ++--- .../wizard/open_questionnaire_view.xml | 18 ++++---- .../document_ftp/wizard/ftp_browse_view.xml | 10 ++--- .../wizard/email_compose_message_view.xml | 12 +++--- addons/event/wizard/event_confirm_view.xml | 6 +-- .../wizard/event_project_retro_view.xml | 10 ++--- .../wizard/google_login_view.xml | 10 ++--- .../wizard/hr_attendance_bymonth_view.xml | 10 ++--- .../wizard/hr_attendance_byweek_view.xml | 10 ++--- .../wizard/hr_attendance_error_view.xml | 10 ++--- .../wizard/hr_attendance_sign_in_out_view.xml | 12 +++--- .../wizard/hr_evaluation_mail_view.xml | 10 ++--- .../hr_holidays_summary_department_view.xml | 8 ++-- .../hr_holidays_summary_employees_view.xml | 10 ++--- ...hr_recruitment_create_partner_job_view.xml | 6 +-- .../hr_timesheet_print_employee_view.xml | 10 ++--- .../wizard/hr_timesheet_print_users_view.xml | 8 ++-- .../wizard/hr_timesheet_sign_in_out_view.xml | 32 +++++++------- .../hr_timesheet_analytic_profit_view.xml | 22 +++++----- ...hr_timesheet_invoice_create_final_view.xml | 10 ++--- .../hr_timesheet_invoice_create_view.xml | 10 ++--- .../wizard/hr_timesheet_current_view.xml | 10 ++--- .../wizard/import_google_data_view.xml | 20 ++++----- .../l10n_be_account_vat_declaration_view.xml | 10 ++--- .../l10n_be/wizard/l10n_be_vat_intra_view.xml | 12 +++--- addons/l10n_ch/wizard/bvr_import_view.xml | 10 ++--- addons/l10n_ch/wizard/create_dta_view.xml | 10 ++--- .../l10n_fr/wizard/fr_report_bilan_view.xml | 10 ++--- .../fr_report_compute_resultant_view.xml | 10 ++--- addons/l10n_lu/wizard/print_vat_view.xml | 10 ++--- .../lunch/wizard/lunch_cashbox_clean_view.xml | 10 ++--- .../lunch/wizard/lunch_order_cancel_view.xml | 10 ++--- .../lunch/wizard/lunch_order_confirm_view.xml | 10 ++--- .../mail/wizard/mail_compose_message_view.xml | 10 ++--- .../wizard/membership_invoice_view.xml | 10 ++--- .../mrp/wizard/change_production_qty_view.xml | 12 +++--- addons/mrp/wizard/mrp_price_view.xml | 10 ++--- .../mrp/wizard/mrp_product_produce_view.xml | 10 ++--- .../mrp/wizard/mrp_workcenter_load_view.xml | 10 ++--- .../wizard/mrp_repair_cancel_view.xml | 10 ++--- .../wizard/mrp_repair_make_invoice_view.xml | 12 +++--- .../wizard/pos_payment_report_user_view.xml | 10 ++--- .../point_of_sale/wizard/pos_receipt_view.xml | 10 ++--- .../point_of_sale/wizard/pos_return_view.xml | 4 +- addons/portal/wizard/portal_wizard_view.xml | 12 +++--- .../wizard/make_procurement_view.xml | 10 ++--- .../wizard/mrp_procurement_view.xml | 10 ++--- .../wizard/orderpoint_procurement_view.xml | 10 ++--- .../wizard/schedulers_all_view.xml | 10 ++--- addons/product/wizard/product_price_view.xml | 10 ++--- .../wizard/product_margin_view.xml | 10 ++--- .../wizard/project_task_delegate_view.xml | 10 ++--- .../wizard/project_task_reevaluate_view.xml | 10 ++--- .../wizard/project_gtd_fill_view.xml | 10 ++--- .../wizard/project_compute_phases_view.xml | 10 ++--- .../wizard/project_compute_tasks_view.xml | 10 ++--- .../wizard/purchase_line_invoice_view.xml | 10 ++--- .../wizard/purchase_order_group_view.xml | 10 ++--- .../purchase_requisition_partner_view.xml | 10 ++--- .../wizard/report_webkit_actions_view.xml | 10 ++--- addons/sale_crm/wizard/crm_make_sale_view.xml | 10 ++--- addons/share/wizard/share_wizard_view.xml | 28 ++++++------- .../wizard/stock_change_product_qty_view.xml | 10 ++--- .../stock_change_standard_price_view.xml | 10 ++--- .../wizard/stock_fill_inventory_view.xml | 10 ++--- .../stock_inventory_line_split_view.xml | 10 ++--- .../wizard/stock_inventory_merge_view.xml | 8 ++-- .../wizard/stock_invoice_onshipping_view.xml | 10 ++--- .../wizard/stock_location_product_view.xml | 10 ++--- addons/stock/wizard/stock_move_view.xml | 26 ++++++------ .../stock/wizard/stock_partial_move_view.xml | 8 ++-- .../wizard/stock_partial_picking_view.xml | 10 ++--- .../wizard/stock_return_picking_view.xml | 10 ++--- addons/stock/wizard/stock_splitinto_view.xml | 10 ++--- .../stock_planning_create_periods_view.xml | 12 +++--- .../stock_planning_createlines_view.xml | 10 ++--- .../wizard/stock_planning_forecast_view.xml | 10 ++--- addons/wiki/wizard/wiki_create_menu_view.xml | 10 ++--- addons/wiki/wizard/wiki_make_index_view.xml | 8 ++-- addons/wiki/wizard/wiki_show_diff_view.xml | 6 +-- .../wiki/wizard/wiki_wiki_page_open_view.xml | 6 +-- 139 files changed, 772 insertions(+), 772 deletions(-) diff --git a/addons/account/wizard/account_automatic_reconcile_view.xml b/addons/account/wizard/account_automatic_reconcile_view.xml index d0ff56924e9..be1776497b3 100644 --- a/addons/account/wizard/account_automatic_reconcile_view.xml +++ b/addons/account/wizard/account_automatic_reconcile_view.xml @@ -8,11 +8,6 @@ form
        -
        -
        + +
        From 4358a245619d9f10b41f03c99dfd8f69a6e3a964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Wed, 11 Jul 2012 18:06:53 +0200 Subject: [PATCH 296/317] [FIX] missing name in a view form broke the point of sale bzr revid: fva@openerp.com-20120711160653-9sadlkxf30u9nwn2 --- openerp/addons/base/res/res_users_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_users_view.xml b/openerp/addons/base/res/res_users_view.xml index 1d934b5d390..a429c84ede7 100644 --- a/openerp/addons/base/res/res_users_view.xml +++ b/openerp/addons/base/res/res_users_view.xml @@ -209,7 +209,7 @@ groups="base.group_multi_company" on_change="on_change_company_id(company_id)"/>
        - + From d2e77a5de15f2d9195d771e3a39e4b8bc33842c4 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 11 Jul 2012 18:32:23 +0200 Subject: [PATCH 297/317] [REV] Revert last commit bzr revid: fme@openerp.com-20120711163223-zeqr498v3oxvmryd --- addons/web_kanban/static/src/js/kanban.js | 5 +++-- addons/web_kanban/static/src/xml/web_kanban.xml | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/web_kanban/static/src/js/kanban.js b/addons/web_kanban/static/src/js/kanban.js index ce56b7a041f..3480418c755 100644 --- a/addons/web_kanban/static/src/js/kanban.js +++ b/addons/web_kanban/static/src/js/kanban.js @@ -219,6 +219,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ group.destroy(); }); this.groups = []; + this.$element.find('.oe_kanban_groups_headers, .oe_kanban_groups_records').empty(); }, do_add_groups: function(groups) { var self = this; @@ -226,7 +227,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({ self.groups[group.undefined_title ? 'unshift' : 'push'](group); }); var groups_started = _.map(this.groups, function(group) { - return group.insertBefore(self.$element.find('.oe_kanban_groups_headers td:last')); + return group.appendTo(self.$element.find('.oe_kanban_groups_headers')); }); return $.when.apply(null, groups_started).then(function () { self.on_groups_started(); @@ -393,7 +394,7 @@ instance.web_kanban.KanbanGroup = instance.web.OldWidget.extend({ self.quick.replace($(".oe_kanban_no_group_qc_placeholder")); } this.$records = $(QWeb.render('KanbanView.group_records_container', { widget : this})); - this.$records.insertBefore(this.view.$element.find('.oe_kanban_groups_records td:last')); + this.$records.appendTo(this.view.$element.find('.oe_kanban_groups_records')); this.$element.find(".oe_kanban_fold_icon").click(function() { self.do_toggle_fold(); self.view.compute_groups_width(); diff --git a/addons/web_kanban/static/src/xml/web_kanban.xml b/addons/web_kanban/static/src/xml/web_kanban.xml index 0557f71b85b..7eb453371b2 100644 --- a/addons/web_kanban/static/src/xml/web_kanban.xml +++ b/addons/web_kanban/static/src/xml/web_kanban.xml @@ -4,10 +4,8 @@
        - -
        From b0b5a5988f613350d16d50d09adc9c12eb15022a Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of openerp <> Date: Thu, 12 Jul 2012 04:58:48 +0000 Subject: [PATCH 298/317] Launchpad automatic translations update. bzr revid: launchpad_translations_on_behalf_of_openerp-20120712044116-gnxo3c234xwbzacm bzr revid: launchpad_translations_on_behalf_of_openerp-20120712045848-qoy4f00epmiytqw2 --- addons/account/i18n/zh_CN.po | 2 +- addons/base_setup/i18n/ja.po | 24 +++---- addons/point_of_sale/i18n/ja.po | 8 +-- addons/project_timesheet/i18n/mn.po | 2 +- addons/stock/i18n/ja.po | 6 +- addons/web_diagram/i18n/bg.po | 81 +++++++++++++++++++++ addons/web_gantt/i18n/bg.po | 28 ++++++++ addons/web_kanban/i18n/bg.po | 69 ++++++++++++++++++ addons/web_mobile/i18n/bg.po | 106 ++++++++++++++++++++++++++++ 9 files changed, 305 insertions(+), 21 deletions(-) create mode 100644 addons/web_diagram/i18n/bg.po create mode 100644 addons/web_gantt/i18n/bg.po create mode 100644 addons/web_kanban/i18n/bg.po create mode 100644 addons/web_mobile/i18n/bg.po diff --git a/addons/account/i18n/zh_CN.po b/addons/account/i18n/zh_CN.po index 37fe86db46b..96edc80159f 100644 --- a/addons/account/i18n/zh_CN.po +++ b/addons/account/i18n/zh_CN.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-07-11 05:15+0000\n" +"X-Launchpad-Export-Date: 2012-07-12 04:41+0000\n" "X-Generator: Launchpad (build 15593)\n" #. module: account diff --git a/addons/base_setup/i18n/ja.po b/addons/base_setup/i18n/ja.po index 8bf029ddbdb..7d6aaaee212 100644 --- a/addons/base_setup/i18n/ja.po +++ b/addons/base_setup/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-06-25 05:03+0000\n" -"Last-Translator: Tomomi Mengelberg \n" +"PO-Revision-Date: 2012-07-12 01:34+0000\n" +"Last-Translator: Akira Hiyama \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-26 05:22+0000\n" -"X-Generator: Launchpad (build 15482)\n" +"X-Launchpad-Export-Date: 2012-07-12 04:40+0000\n" +"X-Generator: Launchpad (build 15593)\n" #. module: base_setup #: field:user.preferences.config,menu_tips:0 @@ -200,17 +200,17 @@ msgstr "どのように顧客を呼びますか" #. module: base_setup #: field:migrade.application.installer.modules,quickbooks_ippids:0 msgid "Quickbooks Ippids" -msgstr "Quickbooks lppids" +msgstr "QuickBooksのIPP / IDS" #. module: base_setup #: selection:base.setup.terminology,partner:0 msgid "Client" -msgstr "取引先" +msgstr "顧客" #. module: base_setup #: field:migrade.application.installer.modules,import_saleforce:0 msgid "Import Saleforce" -msgstr "Saleforceを取り込む" +msgstr "Salesforceのインポート" #. module: base_setup #: field:user.preferences.config,context_tz:0 @@ -249,22 +249,22 @@ msgstr "user.preferences.config" #. module: base_setup #: model:ir.actions.act_window,name:base_setup.action_config_access_other_user msgid "Create Additional Users" -msgstr "追加ユーザを作成します。" +msgstr "追加ユーザの作成" #. module: base_setup #: model:ir.actions.act_window,name:base_setup.action_import_create_installer msgid "Create or Import Customers" -msgstr "顧客を作成または取り込みます。" +msgstr "顧客の作成 / インポート" #. module: base_setup #: field:migrade.application.installer.modules,import_sugarcrm:0 msgid "Import Sugarcrm" -msgstr "SugarCRMを取り込みます。" +msgstr "SugarCRMのインポート" #. module: base_setup #: help:product.installer,customers:0 msgid "Import or create customers" -msgstr "顧客を取り込みまたは作成します。" +msgstr "顧客の作成 / インポート" #. module: base_setup #: selection:user.preferences.config,view:0 @@ -279,7 +279,7 @@ msgstr "SugarCRMを取り込むために" #. module: base_setup #: selection:base.setup.terminology,partner:0 msgid "Partner" -msgstr "パートナー" +msgstr "パートナ" #. module: base_setup #: view:base.setup.terminology:0 diff --git a/addons/point_of_sale/i18n/ja.po b/addons/point_of_sale/i18n/ja.po index ce858ab93b6..ac3e2983d30 100644 --- a/addons/point_of_sale/i18n/ja.po +++ b/addons/point_of_sale/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-06-08 02:57+0000\n" +"PO-Revision-Date: 2012-07-11 05:37+0000\n" "Last-Translator: Akira Hiyama \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-06-09 05:39+0000\n" -"X-Generator: Launchpad (build 15376)\n" +"X-Launchpad-Export-Date: 2012-07-12 04:40+0000\n" +"X-Generator: Launchpad (build 15593)\n" #. module: point_of_sale #: field:report.transaction.pos,product_nb:0 @@ -765,7 +765,7 @@ msgstr "小計の合計" #. module: point_of_sale #: field:pos.order,lines:0 msgid "Order Lines" -msgstr "受注行" +msgstr "オーダー行" #. module: point_of_sale #: view:report.transaction.pos:0 diff --git a/addons/project_timesheet/i18n/mn.po b/addons/project_timesheet/i18n/mn.po index 0dbf42990af..47f4d277089 100644 --- a/addons/project_timesheet/i18n/mn.po +++ b/addons/project_timesheet/i18n/mn.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-07-11 05:15+0000\n" +"X-Launchpad-Export-Date: 2012-07-12 04:41+0000\n" "X-Generator: Launchpad (build 15593)\n" #. module: project_timesheet diff --git a/addons/stock/i18n/ja.po b/addons/stock/i18n/ja.po index cd0cc1d2155..524432fd1ce 100644 --- a/addons/stock/i18n/ja.po +++ b/addons/stock/i18n/ja.po @@ -8,14 +8,14 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-06-29 23:16+0000\n" +"PO-Revision-Date: 2012-07-11 05:35+0000\n" "Last-Translator: Akira Hiyama \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-07-01 04:39+0000\n" -"X-Generator: Launchpad (build 15520)\n" +"X-Launchpad-Export-Date: 2012-07-12 04:40+0000\n" +"X-Generator: Launchpad (build 15593)\n" #. module: stock #: field:product.product,track_outgoing:0 diff --git a/addons/web_diagram/i18n/bg.po b/addons/web_diagram/i18n/bg.po new file mode 100644 index 00000000000..746c127c8fc --- /dev/null +++ b/addons/web_diagram/i18n/bg.po @@ -0,0 +1,81 @@ +# Bulgarian translation for openerp-web +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-web package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-web\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-07-02 09:06+0200\n" +"PO-Revision-Date: 2012-07-11 13:48+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-12 04:58+0000\n" +"X-Generator: Launchpad (build 15593)\n" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:11 +msgid "Diagram" +msgstr "Диаграма" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:165 +msgid "Are you sure?" +msgstr "Сигурни ли сте?" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:195 +msgid "" +"Deleting this node cannot be undone.\n" +"It will also delete all connected transitions.\n" +"\n" +"Are you sure ?" +msgstr "" +"Изтриването на този възел не може да бъде отменено.\n" +"То също така ще изтрие и всички свързани преходи.\n" +"\n" +"Сигурни ли сте?" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:213 +msgid "" +"Deleting this transition cannot be undone.\n" +"\n" +"Are you sure ?" +msgstr "" +"Изтриването на този възел не може да бъде отменено.\n" +"\n" +"Сигурни ли сте?" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:224 +#: addons/web_diagram/static/src/js/diagram.js:257 +msgid "Activity" +msgstr "Дейност" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:232 +#: addons/web_diagram/static/src/js/diagram.js:296 +msgid "Open: " +msgstr "Отвори: " + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:262 +#: addons/web_diagram/static/src/js/diagram.js:314 +msgid "Create:" +msgstr "Създай:" + +#. openerp-web +#: addons/web_diagram/static/src/js/diagram.js:289 +#: addons/web_diagram/static/src/js/diagram.js:308 +msgid "Transition" +msgstr "Преход" + +#. openerp-web +#: addons/web_diagram/static/src/xml/base_diagram.xml:6 +msgid "New Node" +msgstr "Нов възел" diff --git a/addons/web_gantt/i18n/bg.po b/addons/web_gantt/i18n/bg.po new file mode 100644 index 00000000000..5b4bda644db --- /dev/null +++ b/addons/web_gantt/i18n/bg.po @@ -0,0 +1,28 @@ +# Bulgarian translation for openerp-web +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-web package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-web\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-07-02 09:06+0200\n" +"PO-Revision-Date: 2012-07-11 13:51+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-12 04:58+0000\n" +"X-Generator: Launchpad (build 15593)\n" + +#. openerp-web +#: addons/web_gantt/static/src/js/gantt.js:11 +msgid "Gantt" +msgstr "" + +#. openerp-web +#: addons/web_gantt/static/src/xml/web_gantt.xml:10 +msgid "Create" +msgstr "Създай" diff --git a/addons/web_kanban/i18n/bg.po b/addons/web_kanban/i18n/bg.po new file mode 100644 index 00000000000..21d063845af --- /dev/null +++ b/addons/web_kanban/i18n/bg.po @@ -0,0 +1,69 @@ +# Bulgarian translation for openerp-web +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-web package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-web\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-07-02 09:06+0200\n" +"PO-Revision-Date: 2012-07-11 14:02+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-12 04:58+0000\n" +"X-Generator: Launchpad (build 15593)\n" + +#. openerp-web +#: addons/web_kanban/static/src/js/kanban.js:10 +msgid "Kanban" +msgstr "Канбан" + +#. openerp-web +#: addons/web_kanban/static/src/js/kanban.js:372 +msgid "Undefined" +msgstr "Неопределен" + +#. openerp-web +#: addons/web_kanban/static/src/js/kanban.js:684 +msgid "Are you sure you want to delete this record ?" +msgstr "Сигурни ли сте, че искате да изтриете този запис?" + +#. openerp-web +#: addons/web_kanban/static/src/js/kanban.js:839 +msgid "Create: " +msgstr "" + +#. openerp-web +#: addons/web_kanban/static/src/xml/web_kanban.xml:53 +msgid "Show more... (" +msgstr "Покажи повече... (" + +#. openerp-web +#: addons/web_kanban/static/src/xml/web_kanban.xml:53 +msgid "remaining)" +msgstr "оставащ)" + +#. openerp-web +#: addons/web_kanban/static/src/xml/web_kanban.xml:71 +msgid "Add" +msgstr "" + +#. openerp-web +#: addons/web_kanban/static/src/xml/web_kanban.xml:71 +msgid "or" +msgstr "" + +#. openerp-web +#: addons/web_kanban/static/src/xml/web_kanban.xml:72 +msgid "Cancel" +msgstr "" + +#~ msgid "Create" +#~ msgstr "Създаване" + +#~ msgid "" +#~ msgstr "" diff --git a/addons/web_mobile/i18n/bg.po b/addons/web_mobile/i18n/bg.po new file mode 100644 index 00000000000..3c80927c542 --- /dev/null +++ b/addons/web_mobile/i18n/bg.po @@ -0,0 +1,106 @@ +# Bulgarian translation for openerp-web +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openerp-web package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-web\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-07-02 09:06+0200\n" +"PO-Revision-Date: 2012-07-11 14:08+0000\n" +"Last-Translator: FULL NAME \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-12 04:58+0000\n" +"X-Generator: Launchpad (build 15593)\n" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:17 +msgid "OpenERP" +msgstr "OpenERP" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:22 +msgid "Database:" +msgstr "База данни:" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:30 +msgid "Login:" +msgstr "Вход:" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:32 +msgid "Password:" +msgstr "Парола:" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:34 +msgid "Login" +msgstr "Вход" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:36 +msgid "Bad username or password" +msgstr "Грешно потребителско име или парола" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:42 +msgid "Powered by openerp.com" +msgstr "Powered by openerp.com" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:49 +msgid "Home" +msgstr "Начало" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:57 +msgid "Favourite" +msgstr "Любими" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:58 +msgid "Preference" +msgstr "Предпочитания" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:123 +msgid "Logout" +msgstr "Изход" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:132 +msgid "There are no records to show." +msgstr "Няма записи за показване." + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:183 +msgid "Open this resource" +msgstr "Отвори този ресурс" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:223 +#: addons/web_mobile/static/src/xml/web_mobile.xml:226 +msgid "Percent of tasks closed according to total of tasks to do..." +msgstr "Процент на приключените задачи съпоставен с общия брой задачи..." + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:264 +#: addons/web_mobile/static/src/xml/web_mobile.xml:268 +msgid "On" +msgstr "Включено" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:265 +#: addons/web_mobile/static/src/xml/web_mobile.xml:269 +msgid "Off" +msgstr "Изключено" + +#. openerp-web +#: addons/web_mobile/static/src/xml/web_mobile.xml:294 +msgid "Form View" +msgstr "" From 7bc912723985fbef0aab7856b30597806a29696b Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 12 Jul 2012 11:17:56 +0200 Subject: [PATCH 299/317] [FIX] Hide only last item on push bzr revid: fme@openerp.com-20120712091756-g8gsmdxuvte9phse --- addons/web/static/src/js/views.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 931019ce627..d2afb80ff23 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -28,9 +28,10 @@ instance.web.ActionManager = instance.web.Widget.extend({ } }, push_breadcrumb: function(item) { - _.each(this.breadcrumbs, function(i) { - i.hide(); - }); + var last = this.breadcrumbs.slice(-1)[0]; + if (last) { + last.hide(); + } item.id = _.uniqueId('breadcrumb_'); item.show = item.show || function() { item.widget.$element.show(); @@ -282,9 +283,6 @@ instance.web.ActionManager = instance.web.Widget.extend({ } }); -instance.web.BreadCrumb = instance.web.CallbackEnabled.extend({ -}); - instance.web.ViewManager = instance.web.Widget.extend({ template: "ViewManager", init: function(parent, dataset, views, flags) { From bdd6d0e5994045d6eadc443cd5d4d8d7549965fe Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 12 Jul 2012 11:37:08 +0200 Subject: [PATCH 300/317] [IMP] Use _.defaults bzr revid: fme@openerp.com-20120712093708-b5p58jzdn8y78xy4 --- addons/web/static/src/js/views.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index d2afb80ff23..62adafb2c05 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -33,18 +33,20 @@ instance.web.ActionManager = instance.web.Widget.extend({ last.hide(); } item.id = _.uniqueId('breadcrumb_'); - item.show = item.show || function() { - item.widget.$element.show(); - }; - item.hide = item.hide || function() { - item.widget.$element.hide(); - }; - item.destroy = item.destroy || function() { - item.widget.destroy(); - }; - item.get_title = item.get_title || function() { - return item.title || item.widget.get('title'); - }; + _.defaults(item, { + show: function() { + item.widget.$element.show(); + }, + hide: function() { + item.widget.$element.hide(); + }, + destroy: function() { + item.widget.destroy(); + }, + get_title: function() { + return item.title || item.widget.get('title'); + } + }); this.breadcrumbs.push(item); }, on_breadcrumb_clicked: function(ev) { From 76c0b261983c07147e875f41be9fdf54e7bc9063 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 12 Jul 2012 11:55:17 +0200 Subject: [PATCH 301/317] [ADD] Added doc to breadcrumb items callback bzr revid: fme@openerp.com-20120712095517-itzfdh52fd0zuzi4 --- addons/web/static/src/js/views.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 62adafb2c05..bf385ff97f3 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -34,16 +34,36 @@ instance.web.ActionManager = instance.web.Widget.extend({ } item.id = _.uniqueId('breadcrumb_'); _.defaults(item, { - show: function() { + show: function(index) { + /* + * This callback is used whenever the widget should be shown. + * If multiple titles are used, the index can be used in order + * to define which item of the breadcrumb has been trigerred. + */ item.widget.$element.show(); }, hide: function() { + /* + * This callback is used whenever the widget should be hidden. + * Called on the last pushed item before pusing a new + * breadcrumb. + */ item.widget.$element.hide(); }, destroy: function() { + /* + * This callback is used whenever the widget should be + * destroyed. Happens when the breadcrumb is cleared. + */ item.widget.destroy(); }, get_title: function() { + /* + * Should return the title of the widget as a string. If an + * array is returned, multiple titles can be used (eg: a + * widget switching views). The #show() callback will receive + * the index of the selected title. + */ return item.title || item.widget.get('title'); } }); From 0aaa77339598e3ff14879b81ccafd61bd61fc9a5 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 12 Jul 2012 11:56:54 +0200 Subject: [PATCH 302/317] [REM] Removed useless argument causing problem in case of buggy load_state bzr revid: fme@openerp.com-20120712095654-32pj8yrwubf2up1w --- addons/web/static/src/js/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index bf385ff97f3..9a998d78545 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -800,7 +800,7 @@ instance.web.ViewManagerAction = instance.web.ViewManager.extend({ view: controller, view_manager: self })); - self.set_title(fvg.arch.attrs.string || fvg.name); + self.set_title(); }); }, do_create_view: function(view_type) { From b4b5321738cf39dfd5c2ba3b15c31625e2440e0c Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 12 Jul 2012 12:27:25 +0200 Subject: [PATCH 303/317] [ADD] Added jsdoc bzr revid: fme@openerp.com-20120712102725-fjd8izjibbbe0ljg --- addons/web/static/src/js/views.js | 40 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 9a998d78545..1197ca2b4c8 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -27,6 +27,17 @@ instance.web.ActionManager = instance.web.Widget.extend({ this.dialog = null; } }, + /** + * Add a new item to the breadcrumb + * + * @param {Object} item breadcrumb item + * @param {Object} item.widget widget containing the view(s) to be added to the breadcrumb added + * @param {null|Function} item.show callback triggered whenever the widget should be shown back + * @param {null|Function} item.hide callback triggered whenever the widget should be shown hidden + * @param {null|Function} item.destroy callback triggered whenever the widget should be destroyed + * @param {null|String|Array} item.title title(s) of the view(s) to be displayed in the breadcrumb + * @param {null|Function} item.get_title function returning the title(s) of the view(s) to be displayed in the breadcrumb + */ push_breadcrumb: function(item) { var last = this.breadcrumbs.slice(-1)[0]; if (last) { @@ -35,35 +46,24 @@ instance.web.ActionManager = instance.web.Widget.extend({ item.id = _.uniqueId('breadcrumb_'); _.defaults(item, { show: function(index) { - /* - * This callback is used whenever the widget should be shown. - * If multiple titles are used, the index can be used in order - * to define which item of the breadcrumb has been trigerred. - */ + // If multiple titles are used, the index can be used in order + // to define which item of the breadcrumb has been trigerred. item.widget.$element.show(); }, hide: function() { - /* - * This callback is used whenever the widget should be hidden. - * Called on the last pushed item before pusing a new - * breadcrumb. - */ + // Called on the last pushed item before pusing a new breadcrumb. item.widget.$element.hide(); }, destroy: function() { - /* - * This callback is used whenever the widget should be - * destroyed. Happens when the breadcrumb is cleared. - */ + // Called on all breadcrumbs items when it should be cleared. + // Eg: new action triggered from menu item.widget.destroy(); }, get_title: function() { - /* - * Should return the title of the widget as a string. If an - * array is returned, multiple titles can be used (eg: a - * widget switching views). The #show() callback will receive - * the index of the selected title. - */ + // Should return the title(s) of the widget as a string. + // If an array is returned, multiple titles can be used + // (eg: a widget switching views). The #show() callback will receive + // the index of the selected title. return item.title || item.widget.get('title'); } }); From 87cf418d788c05adeaca0a31083f81bb51e52b98 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 12 Jul 2012 14:12:46 +0200 Subject: [PATCH 304/317] [FIX] Fixed loop bug bzr revid: fme@openerp.com-20120712121246-m16bo4d0cw7o7oz4 --- addons/web/static/src/js/views.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 1197ca2b4c8..842536f5d67 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -71,17 +71,15 @@ instance.web.ActionManager = instance.web.Widget.extend({ }, on_breadcrumb_clicked: function(ev) { var $e = $(ev.target); + var id = $e.data('id'); var item; - for (var i = 0; i < this.breadcrumbs.length; i += 1) { + for (var i = this.breadcrumbs.length - 1; i >= 0; i--) { var it = this.breadcrumbs[i]; - if (it.id == $e.data('id')) { + if (it.id == id) { item = it; - continue; - } - if (item) { - // Remove items after selected item - this.remove_breadcrumb(i); + break; } + this.remove_breadcrumb(i); } var index = $e.parent().find('.oe_breadcrumb_item[data-id=' + $e.data('id') + ']').index($e); item.show(index, $e); From 0c4b5b5cf2ec6d94163c5010080bd8841241d6fc Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Thu, 12 Jul 2012 16:46:00 +0200 Subject: [PATCH 305/317] [IMP] project.*: usability, review of form views bzr revid: qdp-launchpad@openerp.com-20120712144600-irb7zscuotkz4jsg --- addons/account/project/project_view.xml | 4 +- ...analytic_contract_expense_project_view.xml | 8 +-- .../analytic_contract_project_view.xml | 15 +++-- addons/project/project.py | 4 +- addons/project/project_view.xml | 56 ++++++++----------- addons/project_issue/project_issue_view.xml | 43 ++++++++------ .../project_long_term_view.xml | 38 ++++++------- addons/resource/resource.py | 4 +- addons/resource/resource_view.xml | 32 +++++------ 9 files changed, 100 insertions(+), 104 deletions(-) diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml index ca4d6f2214f..492ab249a39 100644 --- a/addons/account/project/project_view.xml +++ b/addons/account/project/project_view.xml @@ -264,8 +264,8 @@
        diff --git a/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml b/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml index d4350c7325f..3e892d5940f 100644 --- a/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml +++ b/addons/analytic_contract_expense_project/analytic_contract_expense_project_view.xml @@ -15,13 +15,13 @@ - + - + - + - +
    + + + +
    -
    + + + +