diff --git a/addons/account/i18n/nb.po b/addons/account/i18n/nb.po index 516cc84eeb6..acdf13691f5 100644 --- a/addons/account/i18n/nb.po +++ b/addons/account/i18n/nb.po @@ -4608,7 +4608,7 @@ msgstr "" #. module: account #: model:ir.model.fields,field_description:account.field_account_journal__outbound_payment_method_ids msgid "For Outgoing Payments" -msgstr "" +msgstr "Til utbetalinger" #. module: account #: model:ir.model.fields,help:account.field_account_payment_term_line__value_amount @@ -6253,7 +6253,7 @@ msgstr "" #. module: account #: model_terms:ir.ui.view,arch_db:account.res_config_settings_view_form msgid "Let your customers pay their invoices online" -msgstr "" +msgstr "La kundene betale fakturaene sine på nett" #. module: account #: selection:account.account.type,internal_group:0 @@ -8825,7 +8825,7 @@ msgstr "" #. module: account #: model_terms:ir.ui.view,arch_db:account.onboarding_sample_invoice_step msgid "Send an invoice to test the customer portal." -msgstr "" +msgstr "Send en faktura for å teste kundeportalen." #. module: account #: model_terms:ir.ui.view,arch_db:account.onboarding_sample_invoice_step @@ -9199,6 +9199,10 @@ msgid "" "Today: Activity date is today\n" "Planned: Future activities." msgstr "" +"Status basert på aktiviteter\n" +"Utgått: Fristen er allerede passert\n" +"I dag: Aktiviteten skal gjøres i dag\n" +"Planlagt: Fremtidige aktiviteter." #. module: account #: model_terms:ir.ui.view,arch_db:account.onboarding_bank_account_step diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 67a6c6f381a..26805800f3b 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -1023,7 +1023,7 @@ class AccountMove(models.Model): vendor_display_name = _('From: ') + move.invoice_source_email move.invoice_vendor_icon = '@' else: - vendor_display_name = ('Created by: ') + move.sudo().create_uid.name + vendor_display_name = _('Created by: %s') % move.sudo().create_uid.name move.invoice_vendor_icon = '#' move.invoice_vendor_display_name = vendor_display_name diff --git a/addons/account/models/partner.py b/addons/account/models/partner.py index b9a3bb0c7ad..4661f48c6bb 100644 --- a/addons/account/models/partner.py +++ b/addons/account/models/partner.py @@ -453,6 +453,7 @@ class ResPartner(models.Model): return {'domain': {'property_account_position_id': [('company_id', 'in', [company.id, False])]}} def can_edit_vat(self): + ''' Can't edit `vat` if there is (non draft) issued invoices. ''' can_edit_vat = super(ResPartner, self).can_edit_vat() if not can_edit_vat: return can_edit_vat diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml index 4f8c00964d6..53c126e1bfc 100644 --- a/addons/account_payment/views/account_portal_templates.xml +++ b/addons/account_payment/views/account_portal_templates.xml @@ -38,7 +38,7 @@