diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 00000000000..a281cf63870 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,10 @@ +Impacted versions: + +Steps to reproduce: + +Current behavior: + +Expected behavior: + +Video/Screenshot link (optional): + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000000..f6ed43bd61b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +Description of the issue/feature this PR addresses: + +Current behavior before PR: + +Desired behavior after PR is merged: + + +-- +I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 91e960c97be..002a48bda3f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ TL;DR * If you [make a pull request](https://github.com/odoo/odoo/wiki/Contributing#making-pull-requests), do not create an issue! Use the PR description for that * Issues are handled with a much lower priority than pull requests -* Use this [template](https://github.com/odoo/odoo/wiki/Contributing#reporting-issues) +* Use this [template](https://github.com/odoo/odoo/tree/9.0/.github/ISSUE_TEMPLATE.md) when reporting issues. Please search for duplicates first! * Pull requests must be made against the [correct version](https://github.com/odoo/odoo/wiki/Contributing#against-which-version-should-i-submit-a-patch) * There are restrictions on the kind of [changes allowed in stable series](https://github.com/odoo/odoo/wiki/Contributing#what-does-stable-mean) diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 9ecc153a498..b0fbb0e52d1 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -211,7 +211,7 @@ class AccountMove(models.Model): reversed_moves._post_validate() reversed_moves.post() return [x.id for x in reversed_moves] - return True + return [] @api.multi def open_reconcile_view(self): diff --git a/addons/account/wizard/account_report_aged_partner_balance.py b/addons/account/wizard/account_report_aged_partner_balance.py index c5579a32a56..9aefea22184 100644 --- a/addons/account/wizard/account_report_aged_partner_balance.py +++ b/addons/account/wizard/account_report_aged_partner_balance.py @@ -30,7 +30,7 @@ class AccountAgedTrialBalance(models.TransientModel): start = datetime.strptime(data['form']['date_from'], "%Y-%m-%d") for i in range(5)[::-1]: - stop = start - relativedelta(days=period_length) + stop = start - relativedelta(days=period_length - 1) res[str(i)] = { 'name': (i!=0 and (str((5-(i+1)) * period_length) + '-' + str((5-i) * period_length)) or ('+'+str(4 * period_length))), 'stop': start.strftime('%Y-%m-%d'), diff --git a/addons/crm/i18n/crm.pot b/addons/crm/i18n/crm.pot index 278a34952d1..16d54791d9f 100644 --- a/addons/crm/i18n/crm.pot +++ b/addons/crm/i18n/crm.pot @@ -273,6 +273,16 @@ msgid " Exerci " (Sales Manager)" msgstr "" +#. module: crm +#: model:web.tip,description:crm.crm_tip_4 +msgid "This is a business opportunity. Drag and drop it to another column while you move forward in the sales cycle. Click to zoom in the opportunity." +msgstr "" + +#. module: crm +#: model:web.tip,description:crm.crm_tip_6 +msgid "Click to register a new business opportunity. Once the opportunity is created, you will be able to drag and drop it in your sales pipeline." +msgstr "" + #. module: crm #: model:ir.ui.view,arch_db:crm.crm_planner msgid "Contact us to customize your application:
\n" @@ -886,6 +896,11 @@ msgstr "" msgid "Click to set a new stage in your lead/opportunity pipeline." msgstr "" +#. module: crm +#: model:web.tip,description:crm.crm_tip_2 +msgid "Click to view the opportunities related to this customer." +msgstr "" + #. module: crm #: model:ir.ui.view,arch_db:crm.base_partner_merge_automatic_wizard_form msgid "Close" @@ -1923,6 +1938,14 @@ msgstr "" msgid "Lead Created" msgstr "" +#. module: crm +#: model:ir.actions.act_window,name:crm.crm_lead_tag_action +#: model:ir.ui.menu,name:crm.menu_crm_lead_categ +#: model:ir.ui.view,arch_db:crm.crm_lead_tag_form +#: model:ir.ui.view,arch_db:crm.crm_lead_tag_tree +msgid "Lead Tags" +msgstr "" + #. module: crm #: model:ir.model,name:crm.model_crm_lead2opportunity_partner msgid "Lead To Opportunity Partner" @@ -2137,6 +2160,8 @@ msgstr "" #. module: crm #: model:ir.model.fields,field_description:crm.field_crm_lead_medium_id #: model:ir.model.fields,field_description:crm.field_crm_opportunity_report_medium_id +#: model:ir.ui.view,arch_db:crm.view_crm_case_leads_filter +#: model:ir.ui.view,arch_db:crm.view_crm_case_opportunities_filter msgid "Medium" msgstr "" @@ -2312,6 +2337,11 @@ msgstr "" msgid "Motivation letter from the management" msgstr "" +#. module: crm +#: model:ir.ui.view,arch_db:crm.view_crm_case_leads_filter +msgid "My Leads" +msgstr "" + #. module: crm #: model:ir.ui.view,arch_db:crm.crm_opportunity_report_view_search #: model:ir.ui.view,arch_db:crm.view_crm_case_leads_filter @@ -3229,6 +3259,11 @@ msgstr "" msgid "Subscription Management" msgstr "" +#. module: crm +#: model:web.tip,description:crm.crm_tip_5 +msgid "Switch to the graph view to get a clear reporting on your opportunities pipeline." +msgstr "" + #. module: crm #: model:ir.ui.view,arch_db:crm.crm_planner msgid "Systematic organization is what makes the difference\n" diff --git a/addons/event/i18n/event.pot b/addons/event/i18n/event.pot index b7a7adc1a56..5f17c44d9ed 100644 --- a/addons/event/i18n/event.pot +++ b/addons/event/i18n/event.pot @@ -517,6 +517,11 @@ msgstr "" msgid "Course Summary" msgstr "" +#. module: event +#: model:web.tip,description:event.event_tip_1 +msgid "Create and manage registrations for this event, send emails to attendees and print identification badges." +msgstr "" + #. module: event #: model:ir.model.fields,field_description:event.field_event_config_settings_create_uid #: model:ir.model.fields,field_description:event.field_event_confirm_create_uid @@ -1759,6 +1764,16 @@ msgstr "" msgid "Warning: This Event has not reached its Minimum Registration Limit. Are you sure you want to confirm it?" msgstr "" +#. module: event +#: model:ir.model.fields,field_description:event.field_event_event_website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: event +#: model:ir.model.fields,help:event.field_event_event_website_message_ids +msgid "Website communication history" +msgstr "" + #. module: event #: selection:event.mail,interval_unit:0 msgid "Week(s)" diff --git a/addons/hr/i18n/hr.pot b/addons/hr/i18n/hr.pot index c7d14da523f..dfdcb92a3d8 100644 --- a/addons/hr/i18n/hr.pot +++ b/addons/hr/i18n/hr.pot @@ -177,6 +177,11 @@ msgstr "" msgid "City" msgstr "" +#. module: hr +#: model:web.tip,description:hr.hr_tip_2 +msgid "Click here to change the recruitment goal!" +msgstr "" + #. module: hr #: model:ir.actions.act_window,help:hr.act_employee_from_department #: model:ir.actions.act_window,help:hr.open_view_employee_list_my @@ -721,6 +726,11 @@ msgstr "" msgid "Last Modified on" msgstr "" +#. module: hr +#: model:ir.model.fields,field_description:hr.field_res_users_last_website_so_id +msgid "Last Online Sale Order" +msgstr "" + #. module: hr #: model:ir.model.fields,field_description:hr.field_hr_department_write_uid #: model:ir.model.fields,field_description:hr.field_hr_employee_category_write_uid @@ -1145,6 +1155,11 @@ msgstr "" msgid "Subordinates" msgstr "" +#. module: hr +#: model:ir.model.fields,field_description:hr.field_res_users_subscription_count +msgid "Subscriptions" +msgstr "" + #. module: hr #: sql_constraint:hr.employee.category:0 msgid "Tag name already exists !" diff --git a/addons/hr_expense/i18n/hr_expense.pot b/addons/hr_expense/i18n/hr_expense.pot index 83a04cff319..891dcc3e98e 100644 --- a/addons/hr_expense/i18n/hr_expense.pot +++ b/addons/hr_expense/i18n/hr_expense.pot @@ -53,6 +53,7 @@ msgstr "" #. module: hr_expense #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_analytic_account_id +#: model:ir.ui.view,arch_db:hr_expense.view_hr_expense_filter msgid "Analytic Account" msgstr "" @@ -111,6 +112,11 @@ msgstr "" msgid "Click here to refuse" msgstr "" +#. module: hr_expense +#: model:web.tip,description:hr_expense.expense_tip_2 +msgid "Click on Action to submit multiple expenses to your manager." +msgstr "" + #. module: hr_expense #: model:ir.actions.act_window,help:hr_expense.hr_expense_product msgid "Click to create a new expense category." @@ -152,6 +158,7 @@ msgstr "" #. module: hr_expense #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_date +#: model:ir.ui.view,arch_db:hr_expense.report_expense msgid "Date" msgstr "" @@ -174,6 +181,7 @@ msgstr "" #. module: hr_expense #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_display_name #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_refuse_wizard_display_name +#: model:ir.model.fields,field_description:hr_expense.field_report_hr_expense_report_expense_display_name msgid "Display Name" msgstr "" @@ -368,6 +376,7 @@ msgstr "" #. module: hr_expense #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_id #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_refuse_wizard_id +#: model:ir.model.fields,field_description:hr_expense.field_report_hr_expense_report_expense_id msgid "ID" msgstr "" @@ -404,6 +413,7 @@ msgstr "" #. module: hr_expense #: model:ir.model.fields,field_description:hr_expense.field_hr_expense___last_update #: model:ir.model.fields,field_description:hr_expense.field_hr_expense_refuse_wizard___last_update +#: model:ir.model.fields,field_description:hr_expense.field_report_hr_expense_report_expense___last_update msgid "Last Modified on" msgstr "" @@ -594,6 +604,11 @@ msgstr "" msgid "Reporting" msgstr "" +#. module: hr_expense +#: model:web.tip,description:hr_expense.expense_tip_1 +msgid "Select the lines you want to submit to be reimbursed." +msgstr "" + #. module: hr_expense #: code:addons/hr_expense/models/hr_expense.py:73 #, python-format @@ -716,6 +731,11 @@ msgstr "" msgid "UoM" msgstr "" +#. module: hr_expense +#: model:web.tip,description:hr_expense.expense_tip_3 +msgid "Use the messaging tool to log a note and attach a document to the expense. (e.g. scan of the bill)" +msgstr "" + #. module: hr_expense #: selection:hr.expense,state:0 msgid "Waiting Payment" diff --git a/addons/hr_timesheet/hr_timesheet_view.xml b/addons/hr_timesheet/hr_timesheet_view.xml index a5eff146ee0..4ba9ff3def7 100644 --- a/addons/hr_timesheet/hr_timesheet_view.xml +++ b/addons/hr_timesheet/hr_timesheet_view.xml @@ -80,6 +80,8 @@ account.analytic.account form tree,form + [] + {} - - ITAX_21-OUT + + Base Imponible taxes - - OTAX_21-IN + + + Base Imponible - Ventas taxes - - ITAX_27-OUT + + + Ventas Gravadas con IVA taxes - - OTAX_27-IN + + + Ventas NO Gravadas (Exoneradas) taxes - - ITAX_105-OUT + + + Ventas Gravadas Fuera de Ámbito taxes - - OTAX_105-IN + + + Base Imponible - Compras taxes - - OTAX_02-IN + + + Compras Gravadas con IVA + taxes + + + + Compras NO Gravadas (Exoneradas) + taxes + + + + Compras Gravadas Fuera de Ámbito + taxes + + + + Impuesto General a las Ventas (IVA) Total a Pagar + taxes + + + + Impuesto Pagado + taxes + + + + Impuesto Pagado IVA + taxes + + + + Impuesto Pagado de Exonerados al IVA + taxes + + + + Impuesto Pagado Fuera de Ámbito + taxes + + + + Impuesto Cobrado + taxes + + + + Impuesto Cobrado IVA + taxes + + + + Impuesto Cobrado de Exonerados al IVA + taxes + + + + Impuesto Cobrado Fuera de Ámbito + taxes + + + + Impuesto Nacionales a Pagar + taxes + + + + Impuesto a las Ganancias a Pagar + taxes + + + + Impuesto a los Bienes Personales a Pagar + taxes + + + + Impuesto a la Ganancia Mínima Presunta a Pagar + taxes + + + + Monotributo a Pagar taxes @@ -42,7 +128,7 @@ sale - + @@ -54,7 +140,7 @@ purchase - + @@ -66,7 +152,7 @@ sale - + @@ -78,7 +164,7 @@ purchase - + @@ -90,7 +176,7 @@ sale - + @@ -102,7 +188,7 @@ purchase - + @@ -114,7 +200,7 @@ purchase - + diff --git a/addons/l10n_ar/migrations/2.0/post-migrate_tags_on_taxes.py b/addons/l10n_ar/migrations/2.0/post-migrate_tags_on_taxes.py new file mode 100644 index 00000000000..fa56fd00dfa --- /dev/null +++ b/addons/l10n_ar/migrations/2.0/post-migrate_tags_on_taxes.py @@ -0,0 +1,6 @@ +from openerp.modules.registry import RegistryManager + +def migrate(cr, version): + registry = RegistryManager.get(cr.dbname) + from openerp.addons.account.models.chart_template import migrate_tags_on_taxes + migrate_tags_on_taxes(cr, registry) diff --git a/addons/l10n_at/__openerp__.py b/addons/l10n_at/__openerp__.py index 17a4296e011..fd54d6e14e1 100644 --- a/addons/l10n_at/__openerp__.py +++ b/addons/l10n_at/__openerp__.py @@ -5,7 +5,7 @@ { 'name': 'Austria - Accounting', - 'version': '1.0', + 'version': '2.0', 'author': 'conexus.at', 'website': 'http://www.conexus.at', 'category': 'Localization/Account Charts', diff --git a/addons/l10n_at/account_tax.xml b/addons/l10n_at/account_tax.xml index 521245bda5b..f80488fe1ea 100644 --- a/addons/l10n_at/account_tax.xml +++ b/addons/l10n_at/account_tax.xml @@ -1,77 +1,142 @@ - + - - 10% Einfuhrumsatzsteuer + + UST Vorauszahlung / Überschuss - bitte dem Betrag ein Minuszeichen voranstellen taxes - - 20% Einfuhrumsatzsteuer + + Steuern taxes - - 20% USt EU + + Vorsteuer aus innergemeinschaftlichem Erwerb taxes - - 20% MwSt + + Innergemeinschaftliche Erwerbe taxes - - 10% USt EU + + Steuerpflichtige Umsätze (Lieferungen, sonstige Leistungen und Eigenverbrauch) taxes - - 10% MwSt + + zum Steuersatz von 20 % taxes - - innergem. Erwerb 20% + + BMGzum Steuersatz von 20 % taxes - - 20% VSt + + zum Steuersatz von 10 % taxes - - innergem. Erwerb 10% + + BMGzum Steuersatz von 10 % taxes - - 10% VSt + + Lieferungen, sonstige Leistungen und Eigenverbrauch taxes - - steuerfreie Ausfuhr + + Steuerpflichtige Umsätze (Lieferungen, sonstige Leistungen und Eigenverbrauch) taxes - - strf. i.g.L + + zum Steuersatz von 20 % taxes - - 10% EUSt + + zum Steuersatz von 10% taxes - - 20% EUSt + + Bemessungsgrundlage + taxes + + + + Steuern + taxes + + + + Lieferungen und sonstige Leistungen (einschließlich unentgeltlicher Wertabgaben) + taxes + + + + Steuerfreie Umsätze mit Vorsteuerabzug + taxes + + + + § 6 Abs. 1 Z 1 iVm § 7 (Ausfuhrlieferungen) + taxes + + + + Art. 6 Abs. 1 (Innergemeinschaftliche Lieferungen) + taxes + + + + Innergemeinschaftliche Erwerbe + taxes + + + + Vorsteuer (dient lediglich der Verprobung) + taxes + + + + Einfuhren + taxes + + + + Einfuhren zum Steuersatz von 10 % + taxes + + + + Einfuhren zum Steuersatz von 20 % + taxes + + + + Rechnungen von anderen Unternehmern und innergemeinschaftliche Dreiecksgeschäfte + taxes + + + + zum Steuersatz von 10 % + taxes + + + + zum Steuersatz von 20 % taxes @@ -87,7 +152,7 @@ sale - + @@ -99,7 +164,7 @@ sale - + @@ -111,7 +176,7 @@ purchase - + @@ -123,7 +188,7 @@ purchase - + @@ -135,7 +200,7 @@ purchase - + @@ -147,7 +212,7 @@ purchase - + @@ -170,7 +235,7 @@ none - + @@ -182,7 +247,7 @@ purchase group - + @@ -205,7 +270,7 @@ none - + @@ -216,7 +281,7 @@ group purchase - + @@ -228,7 +293,7 @@ sale - + @@ -240,7 +305,7 @@ sale - + @@ -252,7 +317,7 @@ sale - + @@ -264,7 +329,7 @@ sale - + diff --git a/addons/l10n_at/migrations/2.0/post-migrate_tags_on_taxes.py b/addons/l10n_at/migrations/2.0/post-migrate_tags_on_taxes.py new file mode 100644 index 00000000000..fa56fd00dfa --- /dev/null +++ b/addons/l10n_at/migrations/2.0/post-migrate_tags_on_taxes.py @@ -0,0 +1,6 @@ +from openerp.modules.registry import RegistryManager + +def migrate(cr, version): + registry = RegistryManager.get(cr.dbname) + from openerp.addons.account.models.chart_template import migrate_tags_on_taxes + migrate_tags_on_taxes(cr, registry) diff --git a/addons/l10n_at/migrations/2.0/pre-set_tags_and_taxes_updatable.py b/addons/l10n_at/migrations/2.0/pre-set_tags_and_taxes_updatable.py new file mode 100644 index 00000000000..f421a121a04 --- /dev/null +++ b/addons/l10n_at/migrations/2.0/pre-set_tags_and_taxes_updatable.py @@ -0,0 +1,6 @@ +from openerp.modules.registry import RegistryManager + +def migrate(cr, version): + registry = RegistryManager.get(cr.dbname) + from openerp.addons.account.models.chart_template import migrate_set_tags_and_taxes_updatable + migrate_set_tags_and_taxes_updatable(cr, registry, 'l10n_at') diff --git a/addons/l10n_bo/__openerp__.py b/addons/l10n_bo/__openerp__.py index c3752f6acc5..e82bcf39b85 100644 --- a/addons/l10n_bo/__openerp__.py +++ b/addons/l10n_bo/__openerp__.py @@ -5,7 +5,7 @@ { "name": "Bolivia - Accounting", - "version": "1.0", + "version": "2.0", "description": """ Bolivian accounting chart and tax localization. diff --git a/addons/l10n_bo/account_tax.xml b/addons/l10n_bo/account_tax.xml index fc7923798fa..99ce50f47ba 100644 --- a/addons/l10n_bo/account_tax.xml +++ b/addons/l10n_bo/account_tax.xml @@ -3,18 +3,108 @@ - - ITAX_03_OUT + + Impuesto a las Utilidades de la Empresa IUE (25%) taxes - - ITAX_21_OUT + + Impuesto a las Transacciones IT (3%) taxes - - OTAX_21_IN + + Impuesto a las Transacciones IT (3%) + taxes + + + + Impuesto al Valor Agregado (IVA) Total a Pagar + taxes + + + + Impuesto Cobrado + taxes + + + + Impuesto Cobrado Fuera de Ámbito + taxes + + + + Impuesto Cobrado de Exonerados al IVA + taxes + + + + Impuesto Cobrado IVA + taxes + + + + Impuesto Pagado + taxes + + + + Impuesto Pagado Fuera de Ámbito + taxes + + + + Impuesto Pagado de Exonerados al IVA + taxes + + + + Impuesto Pagado IVA + taxes + + + + Base Imponible + taxes + + + + Base Imponible - Compras + taxes + + + + Compras Gravadas Fuera de Ámbito + taxes + + + + Compras NO Gravadas (Exoneradas) + taxes + + + + Compras Gravadas con IVA + taxes + + + + Base Imponible - Ventas + taxes + + + + Ventas Gravadas Fuera de Ámbito + taxes + + + + Ventas NO Gravadas (Exoneradas) + taxes + + + + Impuesto al Valor Agregado con IVA taxes @@ -27,7 +117,7 @@ 1 - + @@ -39,7 +129,7 @@ 1 - + @@ -51,7 +141,7 @@ sale - + diff --git a/addons/l10n_bo/migrations/2.0/post-migrate_tags_on_taxes.py b/addons/l10n_bo/migrations/2.0/post-migrate_tags_on_taxes.py new file mode 100644 index 00000000000..fa56fd00dfa --- /dev/null +++ b/addons/l10n_bo/migrations/2.0/post-migrate_tags_on_taxes.py @@ -0,0 +1,6 @@ +from openerp.modules.registry import RegistryManager + +def migrate(cr, version): + registry = RegistryManager.get(cr.dbname) + from openerp.addons.account.models.chart_template import migrate_tags_on_taxes + migrate_tags_on_taxes(cr, registry) diff --git a/addons/l10n_cl/__openerp__.py b/addons/l10n_cl/__openerp__.py index 686c92a62f5..278afda5bd3 100644 --- a/addons/l10n_cl/__openerp__.py +++ b/addons/l10n_cl/__openerp__.py @@ -5,7 +5,7 @@ { 'name': 'Chile - Accounting', - 'version': '1.0', + 'version': '2.0', 'description': """ Chilean accounting chart and tax localization. ============================================== diff --git a/addons/l10n_cl/account_tax.xml b/addons/l10n_cl/account_tax.xml index bb138d7c8b0..1455b61851d 100644 --- a/addons/l10n_cl/account_tax.xml +++ b/addons/l10n_cl/account_tax.xml @@ -1,6 +1,6 @@ - + Open Account Dashboard Menu reload @@ -13,13 +13,103 @@ - - IVA 19% Venta + + Impuestos Directos a Pagar taxes - - IVA 19% Compra + + Impuesto a la Renta Primera Categoría a Pagar + taxes + + + + Impuesto General a las Ventas (IVA) Total a Pagar + taxes + + + + Impuesto Pagado + taxes + + + + Impuesto Pagado IVA + taxes + + + + Impuesto Pagado de Exonerados al IVA + taxes + + + + Impuesto Pagado Fuera de Ámbito + taxes + + + + Impuesto Cobrado + taxes + + + + Impuesto Cobrado IVA + taxes + + + + Impuesto Cobrado de Exonerados al IVA + taxes + + + + Impuesto Cobrado Fuera de Ámbito + taxes + + + + Base Imponible + taxes + + + + Base Imponible - Ventas + taxes + + + + Ventas Gravadas con IVA + taxes + + + + Ventas NO Gravadas (Exoneradas) + taxes + + + + Ventas Gravadas Fuera de Ámbito + taxes + + + + Base Imponible - Compras + taxes + + + + Compras Gravadas con IVA + taxes + + + + Compras NO Gravadas (Exoneradas) + taxes + + + + Compras Gravadas Fuera de Ámbito taxes @@ -32,7 +122,7 @@ sale - + @@ -44,7 +134,7 @@ purchase - + diff --git a/addons/l10n_cl/migrations/2.0/post-migrate_tags_on_taxes.py b/addons/l10n_cl/migrations/2.0/post-migrate_tags_on_taxes.py new file mode 100644 index 00000000000..fa56fd00dfa --- /dev/null +++ b/addons/l10n_cl/migrations/2.0/post-migrate_tags_on_taxes.py @@ -0,0 +1,6 @@ +from openerp.modules.registry import RegistryManager + +def migrate(cr, version): + registry = RegistryManager.get(cr.dbname) + from openerp.addons.account.models.chart_template import migrate_tags_on_taxes + migrate_tags_on_taxes(cr, registry) diff --git a/addons/l10n_cl/migrations/2.0/pre-set_tags_and_taxes_updatable.py b/addons/l10n_cl/migrations/2.0/pre-set_tags_and_taxes_updatable.py new file mode 100644 index 00000000000..55d15581a7d --- /dev/null +++ b/addons/l10n_cl/migrations/2.0/pre-set_tags_and_taxes_updatable.py @@ -0,0 +1,6 @@ +from openerp.modules.registry import RegistryManager + +def migrate(cr, version): + registry = RegistryManager.get(cr.dbname) + from openerp.addons.account.models.chart_template import migrate_set_tags_and_taxes_updatable + migrate_set_tags_and_taxes_updatable(cr, registry, 'l10n_cl') diff --git a/addons/mail/static/src/js/chat_manager.js b/addons/mail/static/src/js/chat_manager.js index d1c17e1b965..14551a258c0 100644 --- a/addons/mail/static/src/js/chat_manager.js +++ b/addons/mail/static/src/js/chat_manager.js @@ -338,7 +338,7 @@ function make_channel (data, options) { } else if (data.public === "private") { channel.type = "private"; } - if ('direct_partner' in data) { + if (_.size(data.direct_partner) > 0) { channel.type = "dm"; channel.name = data.direct_partner[0].name; channel.direct_partner_id = data.direct_partner[0].id; diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 2ac1033f67e..d2fcfbdfc6c 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -313,7 +313,7 @@ class mrp_bom(osv.osv): continue if previous_products and bom_line_id.product_id.product_tmpl_id.id in previous_products: - raise UserError(_('BoM "%s" contains a BoM line with a product recursion: "%s".') % (master_bom.name,bom_line_id.product_id.name_get()[0][1])) + raise UserError(_('BoM "%s" contains a BoM line with a product recursion: "%s".') % (master_bom.code or "", bom_line_id.product_id.name_get()[0][1])) quantity = _factor(bom_line_id.product_qty * factor, bom_line_id.product_efficiency, bom_line_id.product_rounding) bom_id = self._bom_find(cr, uid, product_id=bom_line_id.product_id.id, properties=properties, context=context) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index cdc92f94def..42372a7fb6f 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -1507,6 +1507,12 @@ td { font-size: 13px !important; width: 266px !important; } + .o_debug_manager { + display: none !important; + } + .o_chat_window { + display: none !important; + } } /* d) The Scale screen */ diff --git a/addons/point_of_sale/static/src/js/chrome.js b/addons/point_of_sale/static/src/js/chrome.js index 0c7d90612ca..ea2febfbf23 100644 --- a/addons/point_of_sale/static/src/js/chrome.js +++ b/addons/point_of_sale/static/src/js/chrome.js @@ -759,7 +759,13 @@ var Chrome = PosBaseWidget.extend({ return { Chrome: Chrome, + DebugWidget: DebugWidget, + HeaderButtonWidget: HeaderButtonWidget, OrderSelectorWidget: OrderSelectorWidget, + ProxyStatusWidget: ProxyStatusWidget, + StatusWidget: StatusWidget, + SynchNotificationWidget: SynchNotificationWidget, + UsernameWidget: UsernameWidget, }; }); diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js index 22c3b662867..e3a217c93cc 100644 --- a/addons/point_of_sale/static/src/js/models.js +++ b/addons/point_of_sale/static/src/js/models.js @@ -1537,6 +1537,19 @@ exports.Order = Backbone.Model.extend({ this.session_id = json.pos_session_id; this.uid = json.uid; this.name = _t("Order ") + this.uid; + + if (json.fiscal_position_id) { + var fiscal_position = _.find(this.pos.fiscal_positions, function (fp) { + return fp.id === json.fiscal_position_id; + }); + + if (fiscal_position) { + this.fiscal_position = fiscal_position; + } else { + console.error('ERROR: trying to load a fiscal position not available in the pos'); + } + } + if (json.partner_id) { client = this.pos.db.get_partner_by_id(json.partner_id); if (!client) { diff --git a/addons/point_of_sale/static/src/js/screens.js b/addons/point_of_sale/static/src/js/screens.js index beffd60af28..15fba3f1975 100644 --- a/addons/point_of_sale/static/src/js/screens.js +++ b/addons/point_of_sale/static/src/js/screens.js @@ -1962,6 +1962,11 @@ return { ProductScreenWidget: ProductScreenWidget, ProductListWidget: ProductListWidget, ClientListScreenWidget: ClientListScreenWidget, + ActionpadWidget: ActionpadWidget, + DomCache: DomCache, + ProductCategoriesWidget: ProductCategoriesWidget, + ScaleScreenWidget: ScaleScreenWidget, + set_fiscal_position_button: set_fiscal_position_button, }; }); diff --git a/addons/project/i18n/project.pot b/addons/project/i18n/project.pot index 9c05ae7364d..e376d3e83c5 100644 --- a/addons/project/i18n/project.pot +++ b/addons/project/i18n/project.pot @@ -1242,6 +1242,13 @@ msgstr "" msgid "Development Process" msgstr "" +#. module: project +#. openerp-web +#: code:addons/project/static/src/js/project.js:50 +#, python-format +msgid "Discard" +msgstr "" + #. module: project #: model:ir.model.fields,field_description:project.field_project_config_settings_display_name #: model:ir.model.fields,field_description:project.field_project_project_display_name @@ -1410,6 +1417,11 @@ msgid "Every business is different.
\n" " Odoo allows you to customize every application and it's usually a good idea to customize screens to fit your project needs." msgstr "" +#. module: project +#: model:web.tip,description:project.project_tip_3 +msgid "Every event on a task is logged in this section. Send a new message to notify followers or log an internal note." +msgstr "" + #. module: project #: model:ir.ui.view,arch_db:project.project_planner msgid "Examples" @@ -2385,6 +2397,12 @@ msgstr "" msgid "Project Tasks" msgstr "" +#. module: project +#: model:ir.model.fields,field_description:project.field_res_company_project_time_mode_id +#: model:ir.model.fields,field_description:project.project_time_mode_id_duplicate_xmlid +msgid "Project Time Unit" +msgstr "" + #. module: project #: model:res.request.link,name:project.req_link_task msgid "Project task" @@ -2399,15 +2417,23 @@ msgstr "" #: code:addons/project/project.py:282 #: model:ir.actions.act_window,name:project.open_view_project_all #: model:ir.actions.act_window,name:project.open_view_project_all_config +#: model:ir.model.fields,field_description:project.field_account_analytic_account_project_ids +#: model:ir.model.fields,field_description:project.field_project_project_project_ids #: model:ir.model.fields,field_description:project.field_project_task_type_project_ids #: model:ir.ui.menu,name:project.menu_projects_config #: model:ir.ui.menu,name:project.portal_services_projects +#: model:ir.ui.view,arch_db:project.analytic_account_inherited_form #: model:ir.ui.view,arch_db:project.task_company #: model:ir.ui.view,arch_db:project.view_project #, python-format msgid "Projects" msgstr "" +#. module: project +#: model:ir.ui.view,arch_db:project.task_type_edit +msgid "Projects using this stage" +msgstr "" + #. module: project #: model:ir.model.fields,help:project.field_project_config_settings_module_project_issue_sheet msgid "Provides timesheet support for the issues/bugs management in project.\n" @@ -2511,6 +2537,13 @@ msgstr "" msgid "Remaining Time" msgstr "" +#. module: project +#. openerp-web +#: code:addons/project/static/src/js/project.js:48 +#, python-format +msgid "Remove Cover Image" +msgstr "" + #. module: project #: model:ir.ui.view,arch_db:project.project_planner msgid "Repair Workshop" @@ -2583,6 +2616,13 @@ msgstr "" msgid "Search Project" msgstr "" +#. module: project +#. openerp-web +#: code:addons/project/static/src/js/project.js:46 +#, python-format +msgid "Select" +msgstr "" + #. module: project #: model:ir.ui.view,arch_db:project.project_planner msgid "Send an alert when a task is stuck in red for more than a few days" @@ -2722,6 +2762,11 @@ msgstr "" msgid "Starting Date" msgstr "" +#. module: project +#: model:ir.model.fields,field_description:project.field_project_project_account_type +msgid "State" +msgstr "" + #. module: project #: model:ir.model.fields,field_description:project.field_project_project_state #: model:ir.model.fields,field_description:project.field_report_project_task_user_state @@ -2729,6 +2774,11 @@ msgstr "" msgid "Status" msgstr "" +#. module: project +#: model:ir.model.fields,field_description:project.field_project_project_subscription_ids +msgid "Subscriptions" +msgstr "" + #. module: project #: sql_constraint:project.tags:0 msgid "Tag name already exists !" @@ -2866,6 +2916,7 @@ msgstr "" #: model:ir.actions.act_window,name:project.action_view_task #: model:ir.model.fields,field_description:project.field_account_analytic_account_use_tasks #: model:ir.model.fields,field_description:project.field_project_project_task_count +#: model:ir.model.fields,field_description:project.field_project_project_task_needaction_count #: model:ir.model.fields,field_description:project.field_project_project_use_tasks #: model:ir.model.fields,field_description:project.field_res_partner_task_ids #: model:ir.ui.menu,name:project.menu_action_view_task @@ -3024,6 +3075,7 @@ msgstr "" #. module: project #: model:ir.model.fields,help:project.field_res_company_project_time_mode_id +#: model:ir.model.fields,help:project.project_time_mode_id_duplicate_xmlid msgid "This will set the unit of measure used in projects and tasks.\n" "If you use the timesheet linked to projects (project_timesheet module), don't forget to setup the right unit of measure in your employees." msgstr "" @@ -3423,6 +3475,9 @@ msgid "to describe
your experience or to suggest improvements !" msgstr "" #. module: project +#: model:ir.model.fields,field_description:project.field_account_analytic_account_project_count +#: model:ir.model.fields,field_description:project.field_project_project_project_count +#: model:ir.model.fields,field_description:project.field_project_project_subscription_count #: model:ir.model.fields,field_description:project.field_project_project_task_ids msgid "unknown" msgstr "" diff --git a/addons/project_issue_sheet/project_issue_sheet_view.xml b/addons/project_issue_sheet/project_issue_sheet_view.xml index bd34c011bd2..4f54078ab27 100644 --- a/addons/project_issue_sheet/project_issue_sheet_view.xml +++ b/addons/project_issue_sheet/project_issue_sheet_view.xml @@ -24,7 +24,7 @@ - + diff --git a/addons/purchase/i18n/purchase.pot b/addons/purchase/i18n/purchase.pot index 6e49fef5436..0f726bcc722 100644 --- a/addons/purchase/i18n/purchase.pot +++ b/addons/purchase/i18n/purchase.pot @@ -446,6 +446,11 @@ msgstr "" msgid "Click to define a new product." msgstr "" +#. module: purchase +#: model:web.tip,description:purchase.purchase_tip_1 +msgid "Click to mark products as received." +msgstr "" + #. module: purchase #: model:ir.actions.act_window,help:purchase.purchase_open_invoice msgid "Click to record a vendor bill related to this purchase." @@ -578,6 +583,11 @@ msgstr "" msgid "Description" msgstr "" +#. module: purchase +#: model:ir.model.fields,field_description:purchase.field_purchase_order_default_location_dest_id_usage +msgid "Destination Location Type" +msgstr "" + #. module: purchase #: model:ir.model.fields,field_description:purchase.field_purchase_config_settings_display_name #: model:ir.model.fields,field_description:purchase.field_purchase_order_display_name @@ -664,6 +674,11 @@ msgstr "" msgid "Get 2 levels of approvals to confirm a purchase order" msgstr "" +#. module: purchase +#: model:web.tip,description:purchase.purchase_tip_3 +msgid "Get all the shipments related to this order." +msgstr "" + #. module: purchase #: model:ir.ui.view,arch_db:purchase.purchase_order_line_search #: model:ir.ui.view,arch_db:purchase.view_purchase_order_filter @@ -684,6 +699,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: purchase +#: model:web.tip,description:purchase.purchase_tip_2 +msgid "If a product has been broken or damaged during the transport, you can scrap it with this button." +msgstr "" + #. module: purchase #: model:ir.ui.view,arch_db:purchase.purchase_order_form msgid "If a purchase order is done, you cannot modify it manually anymore. You will not be able to receive invoices anymore for this purchase order." @@ -1108,6 +1128,11 @@ msgstr "" msgid "Provide a double validation mechanism for purchases" msgstr "" +#. module: purchase +#: model:ir.model.fields,field_description:purchase.field_mail_mail_website_published +msgid "Published" +msgstr "" + #. module: purchase #: model:ir.ui.menu,name:purchase.menu_procurement_management msgid "Purchase" @@ -1460,6 +1485,11 @@ msgstr "" msgid "Taxes" msgstr "" +#. module: purchase +#: model:ir.model.fields,help:purchase.field_purchase_order_default_location_dest_id_usage +msgid "Technical field used to display the Drop Ship Address" +msgstr "" + #. module: purchase #: model:ir.model.fields,field_description:purchase.field_purchase_order_notes msgid "Terms and Conditions" @@ -1671,6 +1701,11 @@ msgid "Vendors bills can be pre-generated based on purchase\n" " document in Odoo." msgstr "" +#. module: purchase +#: model:ir.model.fields,help:purchase.field_mail_mail_website_published +msgid "Visible on the website as a comment" +msgstr "" + #. module: purchase #: selection:purchase.order,invoice_status:0 msgid "Waiting Invoices" @@ -1725,3 +1760,8 @@ msgstr "" msgid "purchase.config.settings" msgstr "" +#. module: purchase +#: model:ir.model.fields,field_description:purchase.field_mail_mail_description +msgid "unknown" +msgstr "" + diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index 8408a1d5f9a..1d45ea88278 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -537,7 +537,7 @@ {} - [('product_id','in',active_ids)] + [('product_id.product_tmpl_id','in',active_ids)] Purchases purchase.order.line diff --git a/addons/sale/i18n/sale.pot b/addons/sale/i18n/sale.pot index 2ce03cb92df..193c460faf2 100644 --- a/addons/sale/i18n/sale.pot +++ b/addons/sale/i18n/sale.pot @@ -394,6 +394,7 @@ msgid "Customer Reference" msgstr "" #. module: sale +#: model:ir.model.fields,field_description:sale.field_product_product_taxes_id #: model:ir.model.fields,field_description:sale.field_sale_advance_payment_inv_deposit_taxes_id msgid "Customer Taxes" msgstr "" @@ -585,6 +586,11 @@ msgstr "" msgid "Enable customer portal to track orders, delivery and invoices" msgstr "" +#. module: sale +#: model:ir.model.fields,field_description:sale.field_product_product_property_account_expense_id +msgid "Expense Account" +msgstr "" + #. module: sale #: model:ir.model.fields,field_description:sale.field_sale_order_validity_date msgid "Expiration Date" @@ -664,6 +670,7 @@ msgid "If checked, new messages require your attention." msgstr "" #. module: sale +#: model:ir.model.fields,field_description:sale.field_product_product_property_account_income_id #: model:ir.model.fields,field_description:sale.field_sale_advance_payment_inv_deposit_account_id msgid "Income Account" msgstr "" @@ -1628,11 +1635,33 @@ msgstr "" msgid "There is no income account defined for this product: \"%s\". You may have to install a chart of account from Accounting app, settings menu." msgstr "" +#. module: sale +#: code:addons/sale/sale.py:316 +#, python-format +msgid "There is no invoicable line." +msgstr "" + #. module: sale #: model:ir.ui.view,arch_db:sale.view_order_product_search msgid "This Year" msgstr "" +#. module: sale +#: model:ir.model.fields,help:sale.field_product_product_property_account_expense_id +msgid "This account will be used for invoices instead of the default one to value expenses for the current product." +msgstr "" + +#. module: sale +#: model:ir.model.fields,help:sale.field_product_product_property_account_income_id +msgid "This account will be used for invoices instead of the default one to value sales for the current product." +msgstr "" + +#. module: sale +#: model:web.tip,description:sale.sale_tip_1 +msgid "This progress bar shows the stages your quotation will go through.\n" +" Use buttons on the left to move forward to the next stages." +msgstr "" + #. module: sale #: model:ir.actions.act_window,help:sale.action_order_report_all msgid "This report performs analysis on your quotations and sales orders. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application." @@ -1720,6 +1749,11 @@ msgstr "" msgid "Untaxed Amount" msgstr "" +#. module: sale +#: model:ir.model.fields,field_description:sale.field_sale_report_price_subtotal +msgid "Untaxed Total Price" +msgstr "" + #. module: sale #: model:ir.ui.view,arch_db:sale.view_sales_order_filter msgid "Upselling" @@ -1731,6 +1765,12 @@ msgstr "" msgid "Upselling Opportunity" msgstr "" +#. module: sale +#: model:web.tip,description:sale.sale_tip_2 +msgid "Use pivot and graph views to analyze your sales pipeline.\n" +" Select measures, filter and group dimensions to get the perfect report according to your needs." +msgstr "" + #. module: sale #: model:ir.model.fields,field_description:sale.field_sale_config_settings_group_sale_pricelist msgid "Use pricelists to adapt your price per customers" diff --git a/addons/web_tip/i18n/web_tip.pot b/addons/web_tip/i18n/web_tip.pot index ba49b02dcbb..906161d1911 100644 --- a/addons/web_tip/i18n/web_tip.pot +++ b/addons/web_tip/i18n/web_tip.pot @@ -41,6 +41,11 @@ msgstr "" msgid "Consumed by" msgstr "" +#. module: web_tip +#: model:web.tip,description:web_tip.web_tip_3 +msgid "Create one column per stage in your working process. For example, in a development project, stages might be: Specifications, Development, Test, Done." +msgstr "" + #. module: web_tip #: model:ir.model.fields,field_description:web_tip.field_web_tip_create_uid msgid "Created by" @@ -81,6 +86,11 @@ msgstr "" msgid "ID" msgstr "" +#. module: web_tip +#: model:web.tip,description:web_tip.web_tip_4 +msgid "If you're done with this item, click here to archive it. It won't appear again, but you can display it with the 'Archived' filter, and reactivate it if necessary." +msgstr "" + #. module: web_tip #: model:ir.model.fields,field_description:web_tip.field_web_tip___last_update msgid "Last Modified on" @@ -127,6 +137,11 @@ msgstr "" msgid "Model type, e.g. lead or opportunity for crm.lead" msgstr "" +#. module: web_tip +#: model:web.tip,description:web_tip.web_tip_1 +msgid "Navigate easily between documents using the navigation path to go back to previous screens." +msgstr "" + #. module: web_tip #: model:ir.model.fields,field_description:web_tip.field_web_tip_placement msgid "Placement" @@ -137,6 +152,11 @@ msgstr "" msgid "Popover placement, bottom, top, left or right" msgstr "" +#. module: web_tip +#: model:web.tip,description:web_tip.web_tip_2 +msgid "Save time and change the document stage right here, no need to go back to your pipeline." +msgstr "" + #. module: web_tip #: model:ir.model.fields,help:web_tip.field_web_tip_action_id msgid "The action that will trigger the tip" diff --git a/addons/web_tip/web_tip.py b/addons/web_tip/web_tip.py index 0ff1068b20b..f13631fbd46 100644 --- a/addons/web_tip/web_tip.py +++ b/addons/web_tip/web_tip.py @@ -13,7 +13,7 @@ class tip(models.Model): self.is_consumed = self.env.user in self.user_ids title = fields.Char('Tip title') - description = fields.Html('Tip Description', required=True) + description = fields.Html('Tip Description', required=True, translate=True) action_id = fields.Many2one('ir.actions.act_window', string="Action", help="The action that will trigger the tip") model = fields.Char("Model", help="Model name on which to trigger the tip, e.g. 'res.partner'.") diff --git a/addons/website_event_sale/views/website_event_sale.xml b/addons/website_event_sale/views/website_event_sale.xml index 047e9e5a4d1..f58e426bf94 100644 --- a/addons/website_event_sale/views/website_event_sale.xml +++ b/addons/website_event_sale/views/website_event_sale.xml @@ -80,6 +80,9 @@ + + event.event_ticket_ids +