diff --git a/.tx/config b/.tx/config index e2ade130fff..b4d4949d878 100644 --- a/.tx/config +++ b/.tx/config @@ -317,7 +317,7 @@ file_filter = addons/im_livechat/i18n/.po source_file = addons/im_livechat/i18n/im_livechat.pot source_lang = en -[odoo-master.l10n_multilang] +[odoo-10.l10n_multilang] file_filter = addons/l10n_multilang/i18n/.po source_file = addons/l10n_multilang/i18n/l10n_multilang.pot source_lang = en diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index 2512fe8ac30..439daf7bf33 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -1343,9 +1343,10 @@ class AccountInvoiceTax(models.Model): base = 0.0 for line in tax.invoice_id.invoice_line_ids: if tax.tax_id in line.invoice_line_tax_ids: - base += line.price_subtotal - # To add include base amount taxes - base += sum((line.invoice_line_tax_ids.filtered(lambda t: t.include_base_amount) - tax.tax_id).mapped('amount')) + price_unit = line.price_unit * (1 - (line.discount or 0.0) / 100.0) + base += (line.invoice_line_tax_ids - tax.tax_id).compute_all( + price_unit, line.invoice_id.currency_id, line.quantity, line.product_id, line.invoice_id.partner_id + )['base'] tax.base = base invoice_id = fields.Many2one('account.invoice', string='Invoice', ondelete='cascade', index=True) diff --git a/addons/hr_expense/models/hr_expense.py b/addons/hr_expense/models/hr_expense.py index c3733ba3f50..9b4367f2992 100644 --- a/addons/hr_expense/models/hr_expense.py +++ b/addons/hr_expense/models/hr_expense.py @@ -280,7 +280,7 @@ class HrExpense(models.Model): if help_message: alias_record = self.env.ref('hr_expense.mail_alias_expense') if alias_record and alias_record.alias_domain and alias_record.alias_name: - link = "%(email)s" % { + link = "%(email)s" % { 'email': '%s@%s' % (alias_record.alias_name, alias_record.alias_domain) } return '

%s
%s

%s' % ( diff --git a/addons/payment_paypal/controllers/main.py b/addons/payment_paypal/controllers/main.py index a74ab8e1d29..180c028edd1 100644 --- a/addons/payment_paypal/controllers/main.py +++ b/addons/payment_paypal/controllers/main.py @@ -62,7 +62,7 @@ class PaypalController(http.Controller): self.paypal_validate_data(**post) return '' - @http.route('/payment/paypal/dpn', type='http', auth="none", methods=['POST'], csrf=False) + @http.route('/payment/paypal/dpn', type='http', auth="none", methods=['POST', 'GET'], csrf=False) def paypal_dpn(self, **post): """ Paypal DPN """ _logger.info('Beginning Paypal DPN form_feedback with post data %s', pprint.pformat(post)) # debug diff --git a/addons/point_of_sale/models/pos_config.py b/addons/point_of_sale/models/pos_config.py index a68cbf05334..ad25692e1e3 100644 --- a/addons/point_of_sale/models/pos_config.py +++ b/addons/point_of_sale/models/pos_config.py @@ -71,7 +71,7 @@ class PosConfig(models.Model): iface_invoicing = fields.Boolean(string='Invoicing', help='Enables invoice generation from the Point of Sale', default=True) iface_big_scrollbars = fields.Boolean('Large Scrollbars', help='For imprecise industrial touchscreens') iface_print_auto = fields.Boolean(string='Automatic Receipt Printing', default=False, - help='The receipt will automatically be p-rinted at the end of each order') + help='The receipt will automatically be printed at the end of each order') iface_print_skip_screen = fields.Boolean(string='Skip Receipt Screen', default=True, help='The receipt screen will be skipped if the receipt can be printed automatically.') iface_precompute_cash = fields.Boolean(string='Prefill Cash Payment', diff --git a/addons/point_of_sale/static/description/index.html b/addons/point_of_sale/static/description/index.html index 56d377abe38..df254603ebf 100644 --- a/addons/point_of_sale/static/description/index.html +++ b/addons/point_of_sale/static/description/index.html @@ -32,7 +32,7 @@

An interface designed for productivity

-

The Point of Sales that keeps everything where you need it

+

The point of sale that keeps everything where you need it

@@ -80,7 +80,7 @@ While an Internet connection is required to start the Point of Sale, it will stay operational even after complete disconnection. Because it's extremely flexible, you can configure Odoo POS to meet your precise needs.

- No installation and no specific hardware is required to use Odoo POS. Our solution for point of sales is compatible with desktop PCs, iPads and other tablet computers, laptops and industrial POS machines. + No installation and no specific hardware is required to use Odoo POS. Our solution for points of sale is compatible with desktop PCs, iPads and other tablet computers, laptops and industrial POS machines.

@@ -128,7 +128,7 @@

- Odoo Point of Sales is more than an ordinary POS. + Odoo Point of Sale is more than an ordinary POS.
Our app provides extra features to deliver awesome customer service.

@@ -145,7 +145,7 @@

- Give your shopper a positive experience by improving your services. Handle refunds, track warranties, follow customer claims, plan order deliveries, etc... in one interface. Bring your sales at the next level. Odoo POS can produce customer invoices in just a few clicks and synchronize with Odoo Accounting. Your accounting will be easier and more accurate. Our Point of Sales helps you to control sales and cash in real time but also to keep your whole operations under control. + Give your shopper a positive experience by improving your services. Handle refunds, track warranties, follow customer claims, plan order deliveries, etc... in one interface. Bring your sales at the next level. Odoo POS can produce customer invoices in just a few clicks and synchronize with Odoo Accounting. Your accounting will be easier and more accurate. Our Point of Sale helps you to control sales and cash in real time but also to keep your whole operations under control.

diff --git a/addons/point_of_sale/views/res_config_view.xml b/addons/point_of_sale/views/res_config_view.xml index 91244ec7593..4e82b88ef7d 100644 --- a/addons/point_of_sale/views/res_config_view.xml +++ b/addons/point_of_sale/views/res_config_view.xml @@ -9,7 +9,7 @@