diff --git a/addons/account/account_cash_statement.py b/addons/account/account_cash_statement.py index 2bb89a84cdc..9af0dcf60f4 100644 --- a/addons/account/account_cash_statement.py +++ b/addons/account/account_cash_statement.py @@ -169,7 +169,7 @@ class account_cash_statement(osv.osv): return result _columns = { - 'total_entry_encoding': fields.function(_get_sum_entry_encoding, string="Total Cash Transactions", + 'total_entry_encoding': fields.function(_get_sum_entry_encoding, string="Total Transactions", store = { 'account.bank.statement': (lambda self, cr, uid, ids, context=None: ids, ['line_ids','move_line_ids'], 10), 'account.bank.statement.line': (_get_statement_from_line, ['amount'], 10), diff --git a/addons/account/account_report.xml b/addons/account/account_report.xml index 7b574c8960e..d258bb0b140 100644 --- a/addons/account/account_report.xml +++ b/addons/account/account_report.xml @@ -20,6 +20,7 @@ rml="account/report/account_print_invoice.rml" string="Invoices" attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')" + attachment_use="True" usage="default" /> diff --git a/addons/account_voucher/test/case1_usd_usd.yml b/addons/account_voucher/test/case1_usd_usd.yml index 5ff48e7d35d..d8ac932a055 100644 --- a/addons/account_voucher/test/case1_usd_usd.yml +++ b/addons/account_voucher/test/case1_usd_usd.yml @@ -141,7 +141,7 @@ !context 'type': 'receipt' - - I create the first voucher of payment with values 240 USD, journal USD, + On the first March, I create the first voucher of payment with values 240 USD, journal USD, - !record {model: account.voucher, id: account_voucher_1_case1, view: view_vendor_receipt_form}: account_id: account.cash @@ -235,7 +235,7 @@ move_line = move_line_obj.browse(cr, uid, move_lines[0]) assert (move_line.amount_residual_currency == 30.0) , "Residual amount is not correct for first Invoice" - - I create the second voucher of payment with values 45 USD, journal USD, + On the first April, I create the second voucher of payment with values 45 USD, journal USD, - !record {model: account.voucher, id: account_voucher_2_case1}: account_id: account.cash diff --git a/addons/base_setup/res_config.py b/addons/base_setup/res_config.py index 7e85925b1c9..059a674e5f1 100644 --- a/addons/base_setup/res_config.py +++ b/addons/base_setup/res_config.py @@ -53,6 +53,8 @@ class sale_config_settings(osv.osv_memory): _name = 'sale.config.settings' _inherit = 'res.config.settings' _columns = { + 'module_web_linkedin': fields.boolean('get contacts automatically from LinkedIn', + help="""When you create a new contact (person or company), you will be able to load all the data from LinkedIn (photos, address, etc)."""), 'module_crm': fields.boolean('CRM'), 'module_plugin_thunderbird': fields.boolean('enable Thunderbird plugin', help="""The plugin allows you archive email and its attachments to the selected diff --git a/addons/base_setup/res_config_view.xml b/addons/base_setup/res_config_view.xml index 7a0aa615b2d..59841b6988e 100644 --- a/addons/base_setup/res_config_view.xml +++ b/addons/base_setup/res_config_view.xml @@ -71,6 +71,18 @@ or