Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2022-01-30 03:13:41 +00:00 committed by OCA2FC Migrator Bot
parent 61d0ecff85
commit 94eb568159
8 changed files with 604 additions and 93 deletions

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,7 @@ addon | version | summary
[partner_address_street3](partner_address_street3/) | 2.0.1.0.0| Add a third address line on partners
[partner_company_type](partner_company_type/) | 2.0.1.0.1| Adds a company type to partner that are companies
[partner_vat_unique](partner_vat_unique/) | 2.0.1.0.0| Module to make the VAT number unique for customers and suppliers.
[partner_contact_address_default](partner_contact_address_default/) | 2.0.1.0.0| Set a default delivery and invoice address for contacts
[partner_contact_address_default](partner_contact_address_default/) | 2.0.1.0.1| Set a default delivery and invoice address for contacts
[partner_contact_personal_information_page](partner_contact_personal_information_page/) | 2.0.1.0.0| Add a page to contacts form to put personal information
[partner_second_lastname](partner_second_lastname/) | 2.0.1.0.0| Have split first and second lastnames
[partner_employee_quantity](partner_employee_quantity/) | 2.0.1.0.0| Know how many employees a partner has

View File

@ -9,14 +9,15 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-21 01:49+0000\n"
"PO-Revision-Date: 2017-11-21 01:49+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"PO-Revision-Date: 2022-01-26 16:40+0000\n"
"Last-Translator: Simon S <simon.stromberg@vertel.se>\n"
"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: partner_company_type
#: model:res.partner.company.type,shortcut:partner_company_type.res_partner_company_type_sa
@ -26,24 +27,24 @@ msgstr ""
#. module: partner_company_type
#: model:ir.model.fields,field_description:partner_company_type.field_res_partner_company_type__shortcut
msgid "Abbreviation"
msgstr ""
msgstr "Förkortning"
#. module: partner_company_type
#: model:res.partner.company.type,name:partner_company_type.res_partner_company_type_sa
msgid "Anonymous Company"
msgstr ""
msgstr "Anonymt bolag"
#. module: partner_company_type
#: model:ir.actions.act_window,name:partner_company_type.res_partner_company_type_act_window
#: model:ir.ui.menu,name:partner_company_type.menu_partner_company_type
#: model_terms:ir.ui.view,arch_db:partner_company_type.res_partner_company_type_form_view
msgid "Company Types"
msgstr ""
msgstr "Bolagstyper"
#. module: partner_company_type
#: model:ir.model,name:partner_company_type.model_res_partner
msgid "Contact"
msgstr ""
msgstr "Kontakt"
#. module: partner_company_type
#: model:ir.model.fields,field_description:partner_company_type.field_res_partner_company_type__create_uid
@ -84,22 +85,22 @@ msgstr "Senast uppdaterad"
#: model:ir.model.fields,field_description:partner_company_type.field_res_partner__partner_company_type_id
#: model:ir.model.fields,field_description:partner_company_type.field_res_users__partner_company_type_id
msgid "Legal Form"
msgstr ""
msgstr "Juridiskt dokument"
#. module: partner_company_type
#: model:ir.model,name:partner_company_type.model_res_partner_company_type
msgid "Partner Company Type"
msgstr ""
msgstr "Partnerns bolagstyp"
#. module: partner_company_type
#: model:ir.model.constraint,message:partner_company_type.constraint_res_partner_company_type_name_uniq
msgid "Partner Company Type already exists!"
msgstr ""
msgstr "Partners bolagstyp finns redan!"
#. module: partner_company_type
#: model:ir.model.fields,field_description:partner_company_type.field_res_partner_company_type__name
msgid "Title"
msgstr ""
msgstr "Titel"
#~ msgid "Partner"
#~ msgstr "Företag"

View File

@ -4,7 +4,7 @@
{
"name": "Partner Contact address default",
"summary": "Set a default delivery and invoice address for contacts",
"version": "2.0.1.0.0",
"version": "2.0.1.0.1",
"development_status": "Beta",
"category": "Generic Modules/Base",
"website": "https://gitlab.com/flectra-community/partner-contact",

View File

@ -26,5 +26,5 @@ class ResPartner(models.Model):
for addr_type in default_address_type_list:
default_address_id = partner["partner_{}_id".format(addr_type)]
if default_address_id:
res[addr_type] = default_address_id
res[addr_type] = default_address_id.id
return res

View File

@ -31,11 +31,11 @@ class TestPartnerContactAddressDefault(common.TransactionCase):
self.partner.partner_delivery_id = self.partner
self.partner.partner_invoice_id = self.partner
res = self.partner.address_get()
self.assertEqual(res["delivery"], self.partner)
self.assertEqual(res["invoice"], self.partner)
self.assertEqual(res["delivery"], self.partner.id)
self.assertEqual(res["invoice"], self.partner.id)
self.partner_child_delivery2.partner_delivery_id = self.partner_child_delivery2
self.partner_child_delivery2.partner_invoice_id = self.partner_child_delivery2
res = self.partner_child_delivery2.address_get()
self.assertEqual(res["delivery"], self.partner_child_delivery2)
self.assertEqual(res["invoice"], self.partner_child_delivery2)
self.assertEqual(res["delivery"], self.partner_child_delivery2.id)
self.assertEqual(res["invoice"], self.partner_child_delivery2.id)

View File

@ -9,20 +9,21 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"PO-Revision-Date: 2022-01-26 16:40+0000\n"
"Last-Translator: Simon S <simon.stromberg@vertel.se>\n"
"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: partner_firstname
#: code:addons/partner_firstname/models/res_users.py:0
#, python-format
msgid "%s (copy)"
msgstr ""
msgstr "%s (kopia)"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_config_settings
@ -32,67 +33,67 @@ msgstr ""
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Contact"
msgstr ""
msgstr "Kontakt"
#. module: partner_firstname
#: model:ir.model.constraint,message:partner_firstname.constraint_res_partner_check_name
msgid "Contacts require a name."
msgstr ""
msgstr "Kontakter behöver ha ett namn."
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:0
#, python-format
msgid "Error(s) with partner %d's name."
msgstr ""
msgstr "Fel med partnern %d s namn."
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner__firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users__firstname
msgid "First name"
msgstr ""
msgstr "Förnamn"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner__lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users__lastname
msgid "Last name"
msgstr ""
msgstr "Efternamn"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner__name
#: model:ir.model.fields,field_description:partner_firstname.field_res_users__name
msgid "Name"
msgstr ""
msgstr "Namn"
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:0
#, python-format
msgid "No name is set."
msgstr ""
msgstr "Inget namn har angetts."
#. module: partner_firstname
#: model:ir.model.fields,help:partner_firstname.field_res_config_settings__partner_names_order
msgid "Order to compose partner fullname"
msgstr ""
msgstr "Ordning att arrangera partners fullständiga namn"
#. module: partner_firstname
#: model_terms:ir.ui.view,arch_db:partner_firstname.res_config_settings_view_form
msgid "Partner Names Order"
msgstr ""
msgstr "Namnordning för partners"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_config_settings__partner_names_order_changed
msgid "Partner Names Order Changed"
msgstr ""
msgstr "Partnerns namnordning ändrad"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_config_settings__partner_names_order
msgid "Partner names order"
msgstr ""
msgstr "Namnordning för partners"
#. module: partner_firstname
#: model_terms:ir.ui.view,arch_db:partner_firstname.res_config_settings_view_form
msgid "Recalculate names"
msgstr ""
msgstr "Beräkna om namn"
#. module: partner_firstname
#: model_terms:ir.ui.view,arch_db:partner_firstname.res_config_settings_view_form
@ -100,11 +101,13 @@ msgid ""
"Recalculate names for all partners. This process could take so much time if "
"there are more than 10,000 active partners"
msgstr ""
"Beräkna om namn för alla partners. Denna process kan ta lång tid om det "
"finns fler än 10 000 aktiva partners"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr ""
msgstr "Användare"
#~ msgid "Partner"
#~ msgstr "Företag"

View File

@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_phone_secondary
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-01-26 16:40+0000\n"
"Last-Translator: Simon S <simon.stromberg@vertel.se>\n"
"Language-Team: none\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
#. module: partner_phone_secondary
#: model:ir.model,name:partner_phone_secondary.model_res_partner
msgid "Contact"
msgstr "Kontakt"
#. module: partner_phone_secondary
#: model:ir.model.fields,field_description:partner_phone_secondary.field_res_partner__display_name
msgid "Display Name"
msgstr "Visningsnamn"
#. module: partner_phone_secondary
#: model:ir.model.fields,field_description:partner_phone_secondary.field_res_partner__id
msgid "ID"
msgstr "ID"
#. module: partner_phone_secondary
#: model:ir.model.fields,field_description:partner_phone_secondary.field_res_partner____last_update
msgid "Last Modified on"
msgstr "Senast redigerad den"
#. module: partner_phone_secondary
#: model:ir.model.fields,field_description:partner_phone_secondary.field_res_partner__phone2
#: model:ir.model.fields,field_description:partner_phone_secondary.field_res_users__phone2
msgid "Phone (Secondary)"
msgstr "Andra telefonnr"