[tryton-commits] changeset in modules/sale_amendment:default Reset amendments fie...
changeset 9716c380619d in modules/sale_amendment:default details: https://hg.tryton.org/modules/sale_amendment?cmd=changeset;node=9716c380619d description: Reset amendments field when copying document issue8728 review258311002 diffstat: sale.py | 9 + 1 files changed, 9 insertions(+), 0 deletions(-) diffs (19 lines): diff -r 632e5e9794c2 -r 9716c380619d sale.py --- a/sale.py Sun Sep 29 18:29:40 2019 +0200 +++ b/sale.py Tue Oct 15 09:39:16 2019 +0200 @@ -23,6 +23,15 @@ }, depends=['state']) +@classmethod +def copy(cls, sales, default=None): +if default is None: +default = {} +else: +default = default.copy() +default.setdefault('amendments') +return super().copy(sales, default=default) + class Amendment(Workflow, ModelSQL, ModelView): "Sale Amendment"
[tryton-commits] changeset in modules/purchase_amendment:default Reset amendments...
changeset 03aef44a0d29 in modules/purchase_amendment:default details: https://hg.tryton.org/modules/purchase_amendment?cmd=changeset;node=03aef44a0d29 description: Reset amendments field when copying document issue8728 review258311002 diffstat: purchase.py | 9 + 1 files changed, 9 insertions(+), 0 deletions(-) diffs (19 lines): diff -r b48342026b34 -r 03aef44a0d29 purchase.py --- a/purchase.py Sun Sep 29 18:29:23 2019 +0200 +++ b/purchase.py Tue Oct 15 09:39:16 2019 +0200 @@ -23,6 +23,15 @@ }, depends=['state']) +@classmethod +def copy(cls, purchases, default=None): +if default is None: +default = {} +else: +default = default.copy() +default.setdefault('amendments') +return super().copy(purchases, default=default) + class Amendment(Workflow, ModelSQL, ModelView): "Purchase Amendment"
[tryton-commits] changeset in modules/account_es:default Add missing extras_depen...
changeset 64978d918dba in modules/account_es:default details: https://hg.tryton.org/modules/account_es?cmd=changeset;node=64978d918dba description: Add missing extras_depend on account_asset diffstat: tryton.cfg | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diffs (12 lines): diff -r eedbc353ec27 -r 64978d918dba tryton.cfg --- a/tryton.cfgSun Oct 13 21:57:22 2019 +0200 +++ b/tryton.cfgTue Oct 15 09:37:59 2019 +0200 @@ -6,6 +6,8 @@ account_eu account_invoice party +extras_depend: +account_asset xml: tax_groups.xml account_normal.xml
[tryton-commits] changeset in weblate:default Prepare release 5.4
changeset a5339397a90a in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=a5339397a90a description: Prepare release 5.4 diffstat: templates/account_asset.pot | 20 ++ templates/account_payment_sepa.pot | 48 templates/account_payment_stripe.pot| 96 +++- templates/party.pot | 28 + templates/product_cost_fifo.pot | 12 templates/production_work_timesheet.pot | 4 + templates/res.pot | 64 ++ templates/sale_subscription.pot | 4 +- templates/sao.pot | 2 +- 9 files changed, 271 insertions(+), 7 deletions(-) diffs (526 lines): diff -r 4338e5126f60 -r a5339397a90a templates/account_asset.pot --- a/templates/account_asset.pot Mon Oct 14 02:05:50 2019 + +++ b/templates/account_asset.pot Tue Oct 15 10:02:16 2019 +0200 @@ -30,6 +30,14 @@ msgid "Customer Invoice Line" msgstr "" +msgctxt "field:account.asset,depreciated_amount:" +msgid "Depreciated Amount" +msgstr "" + +msgctxt "field:account.asset,depreciating_value:" +msgid "Depreciating Value" +msgstr "" + msgctxt "field:account.asset,depreciation_method:" msgid "Depreciation Method" msgstr "" @@ -262,6 +270,18 @@ msgid "Depreciation Duration" msgstr "" +msgctxt "help:account.asset,depreciated_amount:" +msgid "The amount already depreciated at the start date." +msgstr "" + +msgctxt "help:account.asset,depreciating_value:" +msgid "The value of the asset at the start date." +msgstr "" + +msgctxt "help:account.asset,value:" +msgid "The value of the asset when purchased." +msgstr "" + msgctxt "help:account.asset.update.show_depreciation,date:" msgid "" "The date must be between the last update/depreciation date and the next " diff -r 4338e5126f60 -r a5339397a90a templates/account_payment_sepa.pot --- a/templates/account_payment_sepa.potMon Oct 14 02:05:50 2019 + +++ b/templates/account_payment_sepa.potTue Oct 15 10:02:16 2019 +0200 @@ -63,10 +63,18 @@ msgid "Payable Flavor" msgstr "" +msgctxt "field:account.payment.journal,sepa_payable_initiator_id:" +msgid "SEPA Payable Initiator Identifier" +msgstr "" + msgctxt "field:account.payment.journal,sepa_receivable_flavor:" msgid "Receivable Flavor" msgstr "" +msgctxt "field:account.payment.journal,sepa_receivable_initiator_id:" +msgid "SEPA Receivable Initiator Identifier" +msgstr "" + msgctxt "field:account.payment.sepa.mandate,account_number:" msgid "Account Number" msgstr "" @@ -139,6 +147,10 @@ msgid "Type" msgstr "" +msgctxt "field:party.identifier,sepa_es_suffix:" +msgid "SEPA Suffix" +msgstr "" + msgctxt "field:party.party,sepa_creditor_identifier_used:" msgid "SEPA Creditor Identifier Used" msgstr "" @@ -147,6 +159,14 @@ msgid "SEPA Mandates" msgstr "" +msgctxt "help:account.payment.journal,sepa_payable_initiator_id:" +msgid "The identifier used for the initiating party." +msgstr "" + +msgctxt "help:account.payment.journal,sepa_receivable_initiator_id:" +msgid "The identifier used for the initiating party." +msgstr "" + msgctxt "model:account.configuration.sepa_mandate_sequence,name:" msgid "Account Configuration SEPA Mandate Sequence" msgstr "" @@ -236,6 +256,10 @@ "valid." msgstr "" +msgctxt "model:ir.message,text:msg_party_no_id" +msgid "The party \"%(party)s\" is missing a \"%(type)s\" identifier." +msgstr "" + msgctxt "model:ir.message,text:msg_payment_process_no_iban" msgid "To process payment \"%(payment)s\" you must define IBAN for it." msgstr "" @@ -442,6 +466,30 @@ msgid "Shared" msgstr "" +msgctxt "selection:account.payment.journal,sepa_payable_initiator_id:" +msgid "Belgian Enterprise Number" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_payable_initiator_id:" +msgid "SEPA Creditor Identifier" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_payable_initiator_id:" +msgid "Spanish VAT Number" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_receivable_initiator_id:" +msgid "Belgian Enterprise Number" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_receivable_initiator_id:" +msgid "SEPA Creditor Identifier" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_receivable_initiator_id:" +msgid "Spanish VAT Number" +msgstr "" + msgctxt "selection:account.payment.sepa.mandate,scheme:" msgid "Business to Business" msgstr "" diff -r 4338e5126f60 -r a5339397a90a templates/account_payment_stripe.pot --- a/templates/account_payment_stripe.pot Mon Oct 14 02:05:50 2019 + +++ b/templates/account_payment_stripe.pot Tue Oct 15 10:02:16 2019 +0200 @@ -10,6 +10,10 @@ msgid "Stripe Amount" msgstr "" +msgctxt "field:account.payment,stripe_capturable:" +msgid "Stripe Capturable" +msgstr "" + msgctxt "field:account.payment,stripe_capture:" msgid "Stripe Capture" msgstr "" @@ -42,6 +46,14 @@ msgid "Stripe Customer" msgst
[tryton-commits] changeset in weblate:default Update translation files
changeset 2e4b35966612 in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=2e4b35966612 description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/account_asset Translate-URL: https://translate.tryton.org/projects/tryton/account_asset/ diffstat: modules/account_asset/locale/ar.po | 22 ++ modules/account_asset/locale/bg.po | 22 ++ modules/account_asset/locale/ca.po | 22 ++ modules/account_asset/locale/cs.po | 22 ++ modules/account_asset/locale/de.po | 22 ++ modules/account_asset/locale/el.po | 22 ++ modules/account_asset/locale/es.po | 22 ++ modules/account_asset/locale/es_419.po | 22 ++ modules/account_asset/locale/et.po | 22 ++ modules/account_asset/locale/fa.po | 22 ++ modules/account_asset/locale/fi.po | 22 ++ modules/account_asset/locale/fr.po | 22 ++ modules/account_asset/locale/hu.po | 22 ++ modules/account_asset/locale/id.po | 22 ++ modules/account_asset/locale/it.po | 22 ++ modules/account_asset/locale/ja.po | 22 ++ modules/account_asset/locale/lo.po | 22 ++ modules/account_asset/locale/lt.po | 22 ++ modules/account_asset/locale/nl.po | 22 ++ modules/account_asset/locale/pl.po | 22 ++ modules/account_asset/locale/pt.po | 22 ++ modules/account_asset/locale/ru.po | 22 ++ modules/account_asset/locale/sl.po | 22 ++ modules/account_asset/locale/tr.po | 22 ++ modules/account_asset/locale/zh_CN.po | 22 ++ 25 files changed, 550 insertions(+), 0 deletions(-) diffs (975 lines): diff -r a5339397a90a -r 2e4b35966612 modules/account_asset/locale/ar.po --- a/modules/account_asset/locale/ar.poTue Oct 15 10:02:16 2019 +0200 +++ b/modules/account_asset/locale/ar.poTue Oct 15 08:02:33 2019 + @@ -30,6 +30,16 @@ msgid "Customer Invoice Line" msgstr "" +#, fuzzy +msgctxt "field:account.asset,depreciated_amount:" +msgid "Depreciated Amount" +msgstr "Depreciation Table" + +#, fuzzy +msgctxt "field:account.asset,depreciating_value:" +msgid "Depreciating Value" +msgstr "Depreciation Table" + msgctxt "field:account.asset,depreciation_method:" msgid "Depreciation Method" msgstr "" @@ -265,6 +275,18 @@ msgid "Depreciation Duration" msgstr "" +msgctxt "help:account.asset,depreciated_amount:" +msgid "The amount already depreciated at the start date." +msgstr "" + +msgctxt "help:account.asset,depreciating_value:" +msgid "The value of the asset at the start date." +msgstr "" + +msgctxt "help:account.asset,value:" +msgid "The value of the asset when purchased." +msgstr "" + msgctxt "help:account.asset.update.show_depreciation,date:" msgid "" "The date must be between the last update/depreciation date and the next " diff -r a5339397a90a -r 2e4b35966612 modules/account_asset/locale/bg.po --- a/modules/account_asset/locale/bg.poTue Oct 15 10:02:16 2019 +0200 +++ b/modules/account_asset/locale/bg.poTue Oct 15 08:02:33 2019 + @@ -34,6 +34,16 @@ msgid "Customer Invoice Line" msgstr "" +#, fuzzy +msgctxt "field:account.asset,depreciated_amount:" +msgid "Depreciated Amount" +msgstr "Depreciation Table" + +#, fuzzy +msgctxt "field:account.asset,depreciating_value:" +msgid "Depreciating Value" +msgstr "Depreciation Table" + msgctxt "field:account.asset,depreciation_method:" msgid "Depreciation Method" msgstr "" @@ -293,6 +303,18 @@ msgid "Depreciation Duration" msgstr "" +msgctxt "help:account.asset,depreciated_amount:" +msgid "The amount already depreciated at the start date." +msgstr "" + +msgctxt "help:account.asset,depreciating_value:" +msgid "The value of the asset at the start date." +msgstr "" + +msgctxt "help:account.asset,value:" +msgid "The value of the asset when purchased." +msgstr "" + msgctxt "help:account.asset.update.show_depreciation,date:" msgid "" "The date must be between the last update/depreciation date and the next " diff -r a5339397a90a -r 2e4b35966612 modules/account_asset/locale/ca.po --- a/modules/account_asset/locale/ca.poTue Oct 15 10:02:16 2019 +0200 +++ b/modules/account_asset/locale/ca.poTue Oct 15 08:02:33 2019 + @@ -30,6 +30,16 @@ msgid "Customer Invoice Line" msgstr "Línia de factura de client" +#, fuzzy +msgctxt "field:account.asset,depreciated_amount:" +msgid "Depreciated Amount" +msgstr "Compte d'amortització" + +#, fuzzy +msgctxt "field:account.asset,
[tryton-commits] changeset in weblate:default Update translation files
changeset 64fa900d1053 in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=64fa900d1053 description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/res Translate-URL: https://translate.tryton.org/projects/tryton/res/ diffstat: trytond/trytond/res/locale/ar.po | 67 + trytond/trytond/res/locale/bg.po | 71 +++ trytond/trytond/res/locale/ca.po | 73 trytond/trytond/res/locale/cs.po | 67 + trytond/trytond/res/locale/de.po | 73 trytond/trytond/res/locale/el.po | 67 + trytond/trytond/res/locale/es.po | 73 trytond/trytond/res/locale/es_419.po | 64 +++ trytond/trytond/res/locale/et.po | 73 trytond/trytond/res/locale/fa.po | 71 +++ trytond/trytond/res/locale/fi.po | 67 + trytond/trytond/res/locale/fr.po | 73 trytond/trytond/res/locale/hu.po | 71 +++ trytond/trytond/res/locale/id.po | 69 ++ trytond/trytond/res/locale/it.po | 71 +++ trytond/trytond/res/locale/ja.po | 67 + trytond/trytond/res/locale/lo.po | 71 +++ trytond/trytond/res/locale/lt.po | 70 ++ trytond/trytond/res/locale/nl.po | 73 trytond/trytond/res/locale/pl.po | 71 +++ trytond/trytond/res/locale/pt.po | 71 +++ trytond/trytond/res/locale/ru.po | 71 +++ trytond/trytond/res/locale/sl.po | 71 +++ trytond/trytond/res/locale/tr.po | 67 + trytond/trytond/res/locale/zh_CN.po | 71 +++ 25 files changed, 1753 insertions(+), 0 deletions(-) diffs (2528 lines): diff -r 2e4b35966612 -r 64fa900d1053 trytond/trytond/res/locale/ar.po --- a/trytond/trytond/res/locale/ar.po Tue Oct 15 08:02:33 2019 + +++ b/trytond/trytond/res/locale/ar.po Tue Oct 15 08:02:37 2019 + @@ -11,6 +11,33 @@ msgid "Group" msgstr "Groups" +#, fuzzy +msgctxt "field:ir.export,groups:" +msgid "Groups" +msgstr "Groups" + +msgctxt "field:ir.export,write_groups:" +msgid "Modification Groups" +msgstr "" + +msgctxt "field:ir.export-res.group,export:" +msgid "Export" +msgstr "" + +#, fuzzy +msgctxt "field:ir.export-res.group,group:" +msgid "Group" +msgstr "Groups" + +msgctxt "field:ir.export-write-res.group,export:" +msgid "Export" +msgstr "" + +#, fuzzy +msgctxt "field:ir.export-write-res.group,group:" +msgid "Group" +msgstr "Groups" + msgctxt "field:ir.model.button-res.group,button:" msgid "Button" msgstr "" @@ -232,6 +259,14 @@ msgid "User" msgstr "Users" +msgctxt "help:ir.export,groups:" +msgid "The user groups that can use the export." +msgstr "" + +msgctxt "help:ir.export,write_groups:" +msgid "The user groups that can modify the export." +msgstr "" + msgctxt "help:ir.sequence.type,groups:" msgid "Groups allowed to edit the sequences of this type." msgstr "" @@ -260,6 +295,14 @@ msgid "Action - Group" msgstr "" +msgctxt "model:ir.export-res.group,name:" +msgid "Export Group" +msgstr "" + +msgctxt "model:ir.export-write-res.group,name:" +msgid "Export Modification Group" +msgstr "" + msgctxt "model:ir.message,text:msg_password_email" msgid "The password cannot be the same as user's email address." msgstr "" @@ -334,6 +377,30 @@ msgid "User in groups" msgstr "" +msgctxt "model:ir.rule.group,name:rule_group_export_any" +msgid "Any export" +msgstr "" + +msgctxt "model:ir.rule.group,name:rule_group_export_line_any" +msgid "Any export" +msgstr "" + +msgctxt "model:ir.rule.group,name:rule_group_export_line_read" +msgid "User in groups" +msgstr "" + +msgctxt "model:ir.rule.group,name:rule_group_export_line_write" +msgid "User in modification groups" +msgstr "" + +msgctxt "model:ir.rule.group,name:rule_group_export_read" +msgid "User in groups" +msgstr "" + +msgctxt "model:ir.rule.group,name:rule_group_export_write" +msgid "User in modification groups" +msgstr "" + msgctxt "model:ir.rule.group,name:rule_group_menu" msgid "User in groups" msgstr "" diff -r 2e4b35966612 -r 64fa900d1053 trytond/trytond/res/locale/bg.po --- a/trytond/trytond/res/locale/bg.po Tue Oct 15 08:02:33 2019 + +++ b/trytond/trytond/res/locale/bg.po Tue Oct 15 08:02:37 2019 + @@ -10,6 +10,34 @@ msgid "Group" msgstr
[tryton-commits] changeset in weblate:default Update translation files
changeset 446d5b14b9ae in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=446d5b14b9ae description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/account_payment_sepa Translate-URL: https://translate.tryton.org/projects/tryton/account_payment_sepa/ diffstat: modules/account_payment_sepa/locale/ar.po | 48 modules/account_payment_sepa/locale/bg.po | 48 modules/account_payment_sepa/locale/ca.po | 52 +++ modules/account_payment_sepa/locale/cs.po | 48 modules/account_payment_sepa/locale/de.po | 52 +++ modules/account_payment_sepa/locale/el.po | 48 modules/account_payment_sepa/locale/es.po | 52 +++ modules/account_payment_sepa/locale/es_419.po | 48 modules/account_payment_sepa/locale/et.po | 52 +++ modules/account_payment_sepa/locale/fa.po | 52 +++ modules/account_payment_sepa/locale/fi.po | 48 modules/account_payment_sepa/locale/fr.po | 52 +++ modules/account_payment_sepa/locale/hu.po | 48 modules/account_payment_sepa/locale/id.po | 48 modules/account_payment_sepa/locale/it.po | 52 +++ modules/account_payment_sepa/locale/ja.po | 48 modules/account_payment_sepa/locale/lo.po | 48 modules/account_payment_sepa/locale/lt.po | 48 modules/account_payment_sepa/locale/nl.po | 52 +++ modules/account_payment_sepa/locale/pl.po | 48 modules/account_payment_sepa/locale/pt.po | 52 +++ modules/account_payment_sepa/locale/ru.po | 48 modules/account_payment_sepa/locale/sl.po | 52 +++ modules/account_payment_sepa/locale/tr.po | 48 modules/account_payment_sepa/locale/zh_CN.po | 48 25 files changed, 1240 insertions(+), 0 deletions(-) diffs (2290 lines): diff -r 64fa900d1053 -r 446d5b14b9ae modules/account_payment_sepa/locale/ar.po --- a/modules/account_payment_sepa/locale/ar.po Tue Oct 15 08:02:37 2019 + +++ b/modules/account_payment_sepa/locale/ar.po Tue Oct 15 08:02:53 2019 + @@ -65,10 +65,18 @@ msgid "Payable Flavor" msgstr "" +msgctxt "field:account.payment.journal,sepa_payable_initiator_id:" +msgid "SEPA Payable Initiator Identifier" +msgstr "" + msgctxt "field:account.payment.journal,sepa_receivable_flavor:" msgid "Receivable Flavor" msgstr "" +msgctxt "field:account.payment.journal,sepa_receivable_initiator_id:" +msgid "SEPA Receivable Initiator Identifier" +msgstr "" + msgctxt "field:account.payment.sepa.mandate,account_number:" msgid "Account Number" msgstr "" @@ -141,6 +149,10 @@ msgid "Type" msgstr "" +msgctxt "field:party.identifier,sepa_es_suffix:" +msgid "SEPA Suffix" +msgstr "" + msgctxt "field:party.party,sepa_creditor_identifier_used:" msgid "SEPA Creditor Identifier Used" msgstr "" @@ -150,6 +162,14 @@ msgid "SEPA Mandates" msgstr "SEPA Mandates" +msgctxt "help:account.payment.journal,sepa_payable_initiator_id:" +msgid "The identifier used for the initiating party." +msgstr "" + +msgctxt "help:account.payment.journal,sepa_receivable_initiator_id:" +msgid "The identifier used for the initiating party." +msgstr "" + msgctxt "model:account.configuration.sepa_mandate_sequence,name:" msgid "Account Configuration SEPA Mandate Sequence" msgstr "" @@ -245,6 +265,10 @@ "valid." msgstr "" +msgctxt "model:ir.message,text:msg_party_no_id" +msgid "The party \"%(party)s\" is missing a \"%(type)s\" identifier." +msgstr "" + msgctxt "model:ir.message,text:msg_payment_process_no_iban" msgid "To process payment \"%(payment)s\" you must define IBAN for it." msgstr "" @@ -456,6 +480,30 @@ msgid "Shared" msgstr "" +msgctxt "selection:account.payment.journal,sepa_payable_initiator_id:" +msgid "Belgian Enterprise Number" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_payable_initiator_id:" +msgid "SEPA Creditor Identifier" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_payable_initiator_id:" +msgid "Spanish VAT Number" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_receivable_initiator_id:" +msgid "Belgian Enterprise Number" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_receivable_initiator_id:" +msgid "SEPA Creditor Identifier" +msgstr "" + +msgctxt "selection:account.payment.journal,sepa_receivable_initiator_id:" +msgid "Spanish VAT Number" +msgstr "" + m
[tryton-commits] changeset in weblate:default Update translation files
changeset e4fa0f2a713e in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=e4fa0f2a713e description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/party Translate-URL: https://translate.tryton.org/projects/tryton/party/ diffstat: modules/party/locale/ar.po | 28 +++ modules/party/locale/bg.po | 34 + modules/party/locale/ca.po | 35 ++ modules/party/locale/cs.po | 34 + modules/party/locale/de.po | 35 ++ modules/party/locale/el.po | 28 +++ modules/party/locale/es.po | 35 ++ modules/party/locale/es_419.po | 33 modules/party/locale/et.po | 35 ++ modules/party/locale/fa.po | 35 ++ modules/party/locale/fi.po | 28 +++ modules/party/locale/fr.po | 35 ++ modules/party/locale/hu.po | 35 ++ modules/party/locale/id.po | 29 modules/party/locale/it.po | 35 ++ modules/party/locale/ja.po | 28 +++ modules/party/locale/lo.po | 35 ++ modules/party/locale/lt.po | 34 + modules/party/locale/nl.po | 43 ++--- modules/party/locale/pl.po | 35 ++ modules/party/locale/pt.po | 35 ++ modules/party/locale/ru.po | 35 ++ modules/party/locale/sl.po | 35 ++ modules/party/locale/tr.po | 28 +++ modules/party/locale/zh_CN.po | 35 ++ 25 files changed, 833 insertions(+), 4 deletions(-) diffs (1975 lines): diff -r 817b1f27bbd5 -r e4fa0f2a713e modules/party/locale/ar.po --- a/modules/party/locale/ar.poTue Oct 15 08:02:55 2019 + +++ b/modules/party/locale/ar.poTue Oct 15 08:03:26 2019 + @@ -35,6 +35,10 @@ msgid "Subdivision" msgstr "" +msgctxt "field:party.address,subdivision_types:" +msgid "Subdivision Types" +msgstr "" + msgctxt "field:party.address,zip:" msgid "Zip" msgstr "" @@ -51,6 +55,14 @@ msgid "Language Code" msgstr "" +msgctxt "field:party.address.subdivision_type,country_code:" +msgid "Country Code" +msgstr "" + +msgctxt "field:party.address.subdivision_type,types:" +msgid "Subdivision Types" +msgstr "" + msgctxt "field:party.category,childs:" msgid "Children" msgstr "" @@ -350,6 +362,10 @@ msgid "Address Formats" msgstr "Address Formats" +msgctxt "model:ir.action,name:act_address_subdivision_type_form" +msgid "Address Subdivision Types" +msgstr "" + msgctxt "model:ir.action,name:act_category_list" msgid "Categories" msgstr "Categories" @@ -394,6 +410,10 @@ msgid "You cannot change the party of address \"%(address)s\"." msgstr "" +msgctxt "model:ir.message,text:msg_address_subdivision_country_code_unique" +msgid "The country code on subdivision type must be unique." +msgstr "" + msgctxt "model:ir.message,text:msg_category_name_unique" msgid "The name of party category must be unique by parent." msgstr "" @@ -454,6 +474,10 @@ msgid "Address Formats" msgstr "Address Formats" +msgctxt "model:ir.ui.menu,name:menu_address_subdivision_type_form" +msgid "Address Subdivision Types" +msgstr "" + msgctxt "model:ir.ui.menu,name:menu_category_list" msgid "Categories" msgstr "Categories" @@ -492,6 +516,10 @@ msgid "Address Format" msgstr "Address Formats" +msgctxt "model:party.address.subdivision_type,name:" +msgid "Address Subdivision Type" +msgstr "" + msgctxt "model:party.category,name:" msgid "Category" msgstr "" diff -r 817b1f27bbd5 -r e4fa0f2a713e modules/party/locale/bg.po --- a/modules/party/locale/bg.poTue Oct 15 08:02:55 2019 + +++ b/modules/party/locale/bg.poTue Oct 15 08:03:26 2019 + @@ -35,6 +35,11 @@ msgid "Subdivision" msgstr "Подразделение" +#, fuzzy +msgctxt "field:party.address,subdivision_types:" +msgid "Subdivision Types" +msgstr "Подразделение" + msgctxt "field:party.address,zip:" msgid "Zip" msgstr "Пощ. код" @@ -53,6 +58,16 @@ msgid "Language Code" msgstr "Език" +#, fuzzy +msgctxt "field:party.address.subdivision_type,country_code:" +msgid "Country Code" +msgstr "Държава" + +#, fuzzy +msgctxt "field:party.address.subdivision_type,types:" +msgid "Subdivision Types" +msgstr "Подразделение" + msgctxt "field:party.category,childs:" msgid "Children" msgstr "Наследници" @@ -353,6 +368,11 @@ msgstr "Address Formats"
[tryton-commits] changeset in weblate:default Update translation files
changeset 1de46cb3c1ff in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=1de46cb3c1ff description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/product_cost_fifo Translate-URL: https://translate.tryton.org/projects/tryton/product_cost_fifo/ diffstat: modules/product_cost_fifo/locale/ar.po | 14 +- modules/product_cost_fifo/locale/bg.po | 15 ++- modules/product_cost_fifo/locale/ca.po | 13 + modules/product_cost_fifo/locale/cs.po | 14 +- modules/product_cost_fifo/locale/de.po | 13 + modules/product_cost_fifo/locale/el.po | 14 +- modules/product_cost_fifo/locale/es.po | 13 + modules/product_cost_fifo/locale/es_419.po | 14 +- modules/product_cost_fifo/locale/et.po | 18 +++--- modules/product_cost_fifo/locale/fa.po | 13 + modules/product_cost_fifo/locale/fi.po | 14 +- modules/product_cost_fifo/locale/fr.po | 13 + modules/product_cost_fifo/locale/hu.po | 13 + modules/product_cost_fifo/locale/id.po | 14 +- modules/product_cost_fifo/locale/it.po | 15 ++- modules/product_cost_fifo/locale/ja.po | 14 +- modules/product_cost_fifo/locale/lo.po | 14 +- modules/product_cost_fifo/locale/lt.po | 14 +- modules/product_cost_fifo/locale/nl.po | 15 ++- modules/product_cost_fifo/locale/pl.po | 13 + modules/product_cost_fifo/locale/pt.po | 13 + modules/product_cost_fifo/locale/ru.po | 14 +- modules/product_cost_fifo/locale/sl.po | 13 + modules/product_cost_fifo/locale/tr.po | 13 + modules/product_cost_fifo/locale/zh_CN.po | 14 +- 25 files changed, 330 insertions(+), 17 deletions(-) diffs (665 lines): diff -r e4fa0f2a713e -r 1de46cb3c1ff modules/product_cost_fifo/locale/ar.po --- a/modules/product_cost_fifo/locale/ar.poTue Oct 15 08:03:26 2019 + +++ b/modules/product_cost_fifo/locale/ar.poTue Oct 15 08:03:33 2019 + @@ -1,11 +1,23 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=UTF-8\n" msgctxt "field:stock.move,fifo_quantity:" msgid "FIFO Quantity" msgstr "" +msgctxt "field:stock.move,fifo_quantity_available:" +msgid "FIFO Quantity Available" +msgstr "" + +msgctxt "help:stock.move,fifo_quantity:" +msgid "Quantity used by FIFO." +msgstr "" + +msgctxt "help:stock.move,fifo_quantity_available:" +msgid "Quantity available for FIFO" +msgstr "" + msgctxt "model:ir.message,text:msg_move_delete_fifo" msgid "" "You cannot delete move \"%(move)s\" because it is used for FIFO cost price " diff -r e4fa0f2a713e -r 1de46cb3c1ff modules/product_cost_fifo/locale/bg.po --- a/modules/product_cost_fifo/locale/bg.poTue Oct 15 08:03:26 2019 + +++ b/modules/product_cost_fifo/locale/bg.poTue Oct 15 08:03:33 2019 + @@ -1,11 +1,24 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=UTF-8\n" msgctxt "field:stock.move,fifo_quantity:" msgid "FIFO Quantity" msgstr "FIFO количество" +#, fuzzy +msgctxt "field:stock.move,fifo_quantity_available:" +msgid "FIFO Quantity Available" +msgstr "FIFO количество" + +msgctxt "help:stock.move,fifo_quantity:" +msgid "Quantity used by FIFO." +msgstr "" + +msgctxt "help:stock.move,fifo_quantity_available:" +msgid "Quantity available for FIFO" +msgstr "" + msgctxt "model:ir.message,text:msg_move_delete_fifo" msgid "" "You cannot delete move \"%(move)s\" because it is used for FIFO cost price " diff -r e4fa0f2a713e -r 1de46cb3c1ff modules/product_cost_fifo/locale/ca.po --- a/modules/product_cost_fifo/locale/ca.poTue Oct 15 08:03:26 2019 + +++ b/modules/product_cost_fifo/locale/ca.poTue Oct 15 08:03:33 2019 + @@ -6,6 +6,19 @@ msgid "FIFO Quantity" msgstr "Quantitat FIFO" +#, fuzzy +msgctxt "field:stock.move,fifo_quantity_available:" +msgid "FIFO Quantity Available" +msgstr "Quantitat FIFO" + +msgctxt "help:stock.move,fifo_quantity:" +msgid "Quantity used by FIFO." +msgstr "" + +msgctxt "help:stock.move,fifo_quantity_available:" +msgid "Quantity available for FIFO" +msgstr "" + msgctxt "model:ir.message,text:msg_move_delete_fifo" msgid "" "You cannot delete move \"%(move)s\" because it is used for FIFO cost price " diff -r e4fa0f2a713e -r 1de46cb3c1ff modules/product_cost_fifo/locale/cs.po --- a/modules/product_cost_fifo/locale/cs.poTue Oct 15 08:03:26 2019 + +++ b/modules/product_cost_fifo/locale/cs.poTue Oct 15 08:03:33 2019 + @@ -1,11 +1,23 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=
[tryton-commits] changeset in weblate:default Update translation files
changeset 8aa6462a69c8 in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=8aa6462a69c8 description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/production_work_timesheet Translate-URL: https://translate.tryton.org/projects/tryton/production_work_timesheet/ diffstat: modules/production_work_timesheet/locale/ar.po | 6 +- modules/production_work_timesheet/locale/bg.po | 7 ++- modules/production_work_timesheet/locale/ca.po | 7 ++- modules/production_work_timesheet/locale/cs.po | 6 +- modules/production_work_timesheet/locale/de.po | 7 ++- modules/production_work_timesheet/locale/el.po | 6 +- modules/production_work_timesheet/locale/es.po | 7 ++- modules/production_work_timesheet/locale/es_419.po | 6 +- modules/production_work_timesheet/locale/et.po | 7 ++- modules/production_work_timesheet/locale/fa.po | 7 ++- modules/production_work_timesheet/locale/fi.po | 6 +- modules/production_work_timesheet/locale/fr.po | 7 ++- modules/production_work_timesheet/locale/hu.po | 7 ++- modules/production_work_timesheet/locale/id.po | 6 +- modules/production_work_timesheet/locale/it.po | 6 +- modules/production_work_timesheet/locale/ja.po | 6 +- modules/production_work_timesheet/locale/lo.po | 7 ++- modules/production_work_timesheet/locale/lt.po | 6 +- modules/production_work_timesheet/locale/nl.po | 7 ++- modules/production_work_timesheet/locale/pl.po | 6 +- modules/production_work_timesheet/locale/pt.po | 7 ++- modules/production_work_timesheet/locale/ru.po | 7 ++- modules/production_work_timesheet/locale/sl.po | 7 ++- modules/production_work_timesheet/locale/tr.po | 7 ++- modules/production_work_timesheet/locale/zh_CN.po | 6 +- 25 files changed, 139 insertions(+), 25 deletions(-) diffs (565 lines): diff -r 1de46cb3c1ff -r 8aa6462a69c8 modules/production_work_timesheet/locale/ar.po --- a/modules/production_work_timesheet/locale/ar.poTue Oct 15 08:03:33 2019 + +++ b/modules/production_work_timesheet/locale/ar.poTue Oct 15 08:03:41 2019 + @@ -1,6 +1,6 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=UTF-8\n" msgctxt "field:production.routing.operation,timesheet_available:" msgid "Available on timesheets" @@ -14,6 +14,10 @@ msgid "Timesheet Lines" msgstr "" +msgctxt "field:production.work,timesheet_work:" +msgid "Timesheet Work" +msgstr "" + msgctxt "field:production.work,timesheet_works:" msgid "Timesheet Works" msgstr "" diff -r 1de46cb3c1ff -r 8aa6462a69c8 modules/production_work_timesheet/locale/bg.po --- a/modules/production_work_timesheet/locale/bg.poTue Oct 15 08:03:33 2019 + +++ b/modules/production_work_timesheet/locale/bg.poTue Oct 15 08:03:41 2019 + @@ -1,6 +1,6 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=UTF-8\n" #, fuzzy msgctxt "field:production.routing.operation,timesheet_available:" @@ -17,6 +17,11 @@ msgid "Timesheet Lines" msgstr "Редове от график" +#, fuzzy +msgctxt "field:production.work,timesheet_work:" +msgid "Timesheet Work" +msgstr "Редове от график" + msgctxt "field:production.work,timesheet_works:" msgid "Timesheet Works" msgstr "" diff -r 1de46cb3c1ff -r 8aa6462a69c8 modules/production_work_timesheet/locale/ca.po --- a/modules/production_work_timesheet/locale/ca.poTue Oct 15 08:03:33 2019 + +++ b/modules/production_work_timesheet/locale/ca.poTue Oct 15 08:03:41 2019 + @@ -1,6 +1,6 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=UTF-8\n" msgctxt "field:production.routing.operation,timesheet_available:" msgid "Available on timesheets" @@ -14,6 +14,11 @@ msgid "Timesheet Lines" msgstr "Línies del full de treball" +#, fuzzy +msgctxt "field:production.work,timesheet_work:" +msgid "Timesheet Work" +msgstr "Treballs del full" + msgctxt "field:production.work,timesheet_works:" msgid "Timesheet Works" msgstr "Treballs del full" diff -r 1de46cb3c1ff -r 8aa6462a69c8 modules/production_work_timesheet/locale/cs.po --- a/modules/production_work_timesheet/locale/cs.poTue Oct 15 08:03:33 2019 + +++ b/modules/production_work_timesheet/locale/cs.poTue Oct 15 08:03:41 2019 + @@ -1,6 +1,6 @@ # msgid "" -msgstr "Content-Type: text/plain; charset=utf-8\n" +msgstr "Content-Type: text/plain; charset=UTF-8\n" msgctxt "field:production.routing.operation,timesheet_available:" msgid "Available on timesheets" @@ -14,6 +14,10 @@ msgid "Timesheet Lines" msgstr "" +msgctxt "field:production.work,timesheet_work:" +msgid "Timesheet Work" +msgstr "" + msgctx
[tryton-commits] changeset in weblate:default Update translation files
changeset 63d41edadb37 in weblate:default details: https://hg.tryton.org/weblate?cmd=changeset;node=63d41edadb37 description: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Tryton/sale_subscription Translate-URL: https://translate.tryton.org/projects/tryton/sale_subscription/ diffstat: modules/sale_subscription/locale/ar.po | 7 --- modules/sale_subscription/locale/bg.po | 7 --- modules/sale_subscription/locale/ca.po | 5 +++-- modules/sale_subscription/locale/cs.po | 7 --- modules/sale_subscription/locale/de.po | 5 +++-- modules/sale_subscription/locale/el.po | 7 --- modules/sale_subscription/locale/es.po | 5 +++-- modules/sale_subscription/locale/es_419.po | 4 ++-- modules/sale_subscription/locale/et.po | 5 +++-- modules/sale_subscription/locale/fa.po | 5 +++-- modules/sale_subscription/locale/fi.po | 7 --- modules/sale_subscription/locale/fr.po | 5 +++-- modules/sale_subscription/locale/hu.po | 7 --- modules/sale_subscription/locale/id.po | 4 ++-- modules/sale_subscription/locale/it.po | 7 --- modules/sale_subscription/locale/ja.po | 7 --- modules/sale_subscription/locale/lo.po | 7 --- modules/sale_subscription/locale/lt.po | 7 --- modules/sale_subscription/locale/nl.po | 5 +++-- modules/sale_subscription/locale/pl.po | 7 --- modules/sale_subscription/locale/pt.po | 5 +++-- modules/sale_subscription/locale/ru.po | 7 --- modules/sale_subscription/locale/sl.po | 5 +++-- modules/sale_subscription/locale/tr.po | 7 --- modules/sale_subscription/locale/zh_CN.po | 7 --- 25 files changed, 87 insertions(+), 64 deletions(-) diffs (401 lines): diff -r 8aa6462a69c8 -r 63d41edadb37 modules/sale_subscription/locale/ar.po --- a/modules/sale_subscription/locale/ar.poTue Oct 15 08:03:41 2019 + +++ b/modules/sale_subscription/locale/ar.poTue Oct 15 08:04:05 2019 + @@ -77,9 +77,10 @@ msgid "Date" msgstr "" -msgctxt "field:sale.subscription.line,consumed:" -msgid "Consumed" -msgstr "" +#, fuzzy +msgctxt "field:sale.subscription.line,consumed_until:" +msgid "Consumed until" +msgstr "Consumptions" msgctxt "field:sale.subscription.line,consumption_delay:" msgid "Consumption Delay" diff -r 8aa6462a69c8 -r 63d41edadb37 modules/sale_subscription/locale/bg.po --- a/modules/sale_subscription/locale/bg.poTue Oct 15 08:03:41 2019 + +++ b/modules/sale_subscription/locale/bg.poTue Oct 15 08:04:05 2019 + @@ -77,9 +77,10 @@ msgid "Date" msgstr "" -msgctxt "field:sale.subscription.line,consumed:" -msgid "Consumed" -msgstr "" +#, fuzzy +msgctxt "field:sale.subscription.line,consumed_until:" +msgid "Consumed until" +msgstr "Consumptions" msgctxt "field:sale.subscription.line,consumption_delay:" msgid "Consumption Delay" diff -r 8aa6462a69c8 -r 63d41edadb37 modules/sale_subscription/locale/ca.po --- a/modules/sale_subscription/locale/ca.poTue Oct 15 08:03:41 2019 + +++ b/modules/sale_subscription/locale/ca.poTue Oct 15 08:04:05 2019 + @@ -74,8 +74,9 @@ msgid "Date" msgstr "Data" -msgctxt "field:sale.subscription.line,consumed:" -msgid "Consumed" +#, fuzzy +msgctxt "field:sale.subscription.line,consumed_until:" +msgid "Consumed until" msgstr "S'ha consumit" msgctxt "field:sale.subscription.line,consumption_delay:" diff -r 8aa6462a69c8 -r 63d41edadb37 modules/sale_subscription/locale/cs.po --- a/modules/sale_subscription/locale/cs.poTue Oct 15 08:03:41 2019 + +++ b/modules/sale_subscription/locale/cs.poTue Oct 15 08:04:05 2019 + @@ -77,9 +77,10 @@ msgid "Date" msgstr "" -msgctxt "field:sale.subscription.line,consumed:" -msgid "Consumed" -msgstr "" +#, fuzzy +msgctxt "field:sale.subscription.line,consumed_until:" +msgid "Consumed until" +msgstr "Consumptions" msgctxt "field:sale.subscription.line,consumption_delay:" msgid "Consumption Delay" diff -r 8aa6462a69c8 -r 63d41edadb37 modules/sale_subscription/locale/de.po --- a/modules/sale_subscription/locale/de.poTue Oct 15 08:03:41 2019 + +++ b/modules/sale_subscription/locale/de.poTue Oct 15 08:04:05 2019 + @@ -74,8 +74,9 @@ msgid "Date" msgstr "Datum" -msgctxt "field:sale.subscription.line,consumed:" -msgid "Consumed" +#, fuzzy +msgctxt "field:sale.subscription.line,consumed_until:" +msgid "Consumed until" msgstr "Verbraucht" msgctxt "field:sale.subscription.line,consumption_delay:" diff -r 8aa6462a69c8 -r 63d41edadb37 modules/sale_subscription/locale/el.po --- a/modules/sale_subscription/locale/el.poTue Oct 15 08:03:41 2019 + +++ b/modules/sale_subscription/locale/el.poTue Oct 15 08:04:05 2019 + @@ -77,9 +77,10 @@ msgid "Date" msgstr "" -msgctxt "field:sale.subscription.line,consumed:" -msgid "Consumed" -msgstr "" +#, fuzzy +msgctxt "field:sale.subscription.line,co
[tryton-commits] changeset in www.tryton.org:default Add success stories GotSHO -...
changeset 5373d0e05793 in www.tryton.org:default details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=5373d0e05793 description: Add success stories GotSHO - LIMS issue8661 review284041002 diffstat: app.py |4 + static/images/success-stories/gotsho-lims.jpg| Bin static/images/success-stories/gotsho-lims/banner.jpg | Bin static/images/success-stories/gotsho-lims/screenshot.jpg | Bin templates/success_stories/gotsho-lims.html | 45 +++ 5 files changed, 49 insertions(+), 0 deletions(-) diffs (69 lines): diff -r 041b10e7f92f -r 5373d0e05793 app.py --- a/app.pySat Oct 12 23:05:58 2019 +0200 +++ b/app.pyTue Oct 15 10:32:31 2019 +0200 @@ -412,6 +412,10 @@ description="A stamp and signalisation company.", story=True), Case( +title="GotSHO LIMS", +description="Software Solution for genomic world.", +story=True), +Case( title="Grufesa", description="Exports strawberries in Europe.", story=True), diff -r 041b10e7f92f -r 5373d0e05793 static/images/success-stories/gotsho-lims.jpg Binary file static/images/success-stories/gotsho-lims.jpg has changed diff -r 041b10e7f92f -r 5373d0e05793 static/images/success-stories/gotsho-lims/banner.jpg Binary file static/images/success-stories/gotsho-lims/banner.jpg has changed diff -r 041b10e7f92f -r 5373d0e05793 static/images/success-stories/gotsho-lims/screenshot.jpg Binary file static/images/success-stories/gotsho-lims/screenshot.jpg has changed diff -r 041b10e7f92f -r 5373d0e05793 templates/success_stories/gotsho-lims.html --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/templates/success_stories/gotsho-lims.htmlTue Oct 15 10:32:31 2019 +0200 @@ -0,0 +1,45 @@ +{% set title = "GotSHO" %} +{% set description = "Success story of GotSHO developing LIMS with Tryton" %} +{% set keywords = ["success story", "review", "case study"] %} +{% set banner = "gotsho-lims/banner.jpg" %} +{% set logo = "images/success-stories/gotsho-lims.jpg" %} +{% extends "success_stories/layout.html" %} +{% block customer %} +{{ super() }} +Since 2013, http://www.gotsho.com/";>GotSHO LTD a private company established in Israel, India and Europe, have developed software for the world of genomics. +Their clients are large genetics and diagnostics companies in Israel and abroad. +{% endblock customer %} +{% block challenge %} +{{ super() }} +Faced with the need for technological systems that manage and safeguard valuable data sets in the biological, medical and genetic fields, GotSHO came to gcoop with the intention of implementing and developing a LIMS (Laboratory Information Management System). +This development work involved research into, and the participation of, different laboratories, and the collaboration GotSHO and gcoop (a company specialized in development using the Tryton framework). +The development of LIMS with Tryton has allowed laboratories to move from an ad-hoc system, to a complete laboratory management system, taking into account the specific processes that are unique to this field. +{% endblock challenge %} +{% block solution %} +{{ super() }} +The Tryton framework provides a great starting point for many different kinds of project, and this was proved here. +The only core module that was needed was the party module, since all the other modules were developed specifically for this project. +LIMS needed modules and reports for Referrals, Tests, Samples, Jobs, Batch Tests, Patients, Doctors and Medical Institutions. +These were easy to implement thanks to the clean abstractions and core functionality provided by the Tryton framework. +{% endblock solution %} +{% block implementation %} +{{ super() }} +In order to make good management decisions you need information that is presented in the right way. +So, in addition to collecting the data the system must also be able to generate meaningful statistics from it. +For this, several reports were developed that are then visualized onto a dashboard for the users. +GotSHO implemented their own tryton front-end with https://reactjs.org/";>React.js to better visualize the large amount of information that the tests generate. + + + +{% endblock implementation %} +{% block results %} +{{ super() }} +After initial testing in one of the laboratories, system errors were discovered which were quickly corrected. +There has also been some great feedback which is now being used to continue improving and developing the system. +Currently gcoop and GotSHO are adding additional features to LIMS to make it an even better choice for companies and laboratories. +{% endblock %} +{% block provider %} +{{ super() }} +http://www.gcoop.coop/";>gcoop provided its development experience with Tryton +http://www.gotsho.com/";>GotSHO provided its experience in software development for the world of genomics +{
[tryton-commits] changeset in tryton-tweet:default Add GotSHO success story
changeset 28d822e1a58a in tryton-tweet:default details: https://hg.tryton.org/tryton-tweet?cmd=changeset;node=28d822e1a58a description: Add GotSHO success story issue8661 review282251004 diffstat: success-stories | 4 1 files changed, 4 insertions(+), 0 deletions(-) diffs (11 lines): diff -r d953a0dd383c -r 28d822e1a58a success-stories --- a/success-stories Sat Oct 12 23:06:35 2019 +0200 +++ b/success-stories Tue Oct 15 10:33:38 2019 +0200 @@ -24,3 +24,7 @@ The Revelle Group manages its energy and environmental projects with #Tryton https://www.tryton.org/success-stories/revelle + +GotSHO is using #Tryton as framework to develop its LIMS solution for genetics +and diagnostics companies +https://www.tryton.org/success-stories/gotsho-lims
[tryton-commits] changeset in www.tryton.org:default Lazy load background images ...
changeset 2357a8c88505 in www.tryton.org:default details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=2357a8c88505 description: Lazy load background images with dominant color diffstat: app.py | 16 gulpfile.js | 3 ++- js/lazy.js | 18 ++ requirements.txt | 1 + templates/contribute.html| 4 ++-- templates/donate.html| 4 ++-- templates/download.html | 4 ++-- templates/forum.html | 4 ++-- templates/foundation.html| 4 ++-- templates/index.html | 2 +- templates/layout.html| 2 +- templates/not_found.html | 4 ++-- templates/presentations.html | 4 ++-- templates/service_providers_start.html | 4 ++-- templates/success_stories.html | 4 ++-- templates/success_stories/als-swiss.html | 2 +- templates/success_stories/ammeba.html| 2 +- templates/success_stories/blue-box-distribution.html | 2 +- templates/success_stories/camir.html | 2 +- templates/success_stories/expertise-vision.html | 2 +- templates/success_stories/felber.html| 2 +- templates/success_stories/gotsho-lims.html | 2 +- templates/success_stories/grufesa.html | 2 +- templates/success_stories/koolvet.html | 2 +- templates/success_stories/layout.html| 8 ++-- templates/success_stories/revelle.html | 2 +- templates/utils.html | 10 +++--- 27 files changed, 80 insertions(+), 36 deletions(-) diffs (457 lines): diff -r 5373d0e05793 -r 2357a8c88505 app.py --- a/app.pyTue Oct 15 10:32:31 2019 +0200 +++ b/app.pyTue Oct 15 12:09:06 2019 +0200 @@ -2,6 +2,7 @@ import ast import datetime import functools +import glob import hashlib import logging import os @@ -17,6 +18,7 @@ from urllib.parse import urlparse import requests +from colorthief import ColorThief from flask import (Flask, render_template, redirect, url_for, request, make_response, abort) from flask.logging import default_handler @@ -213,6 +215,18 @@ return dict(url_for_canonical=url_for_canonical) +@cache.memoize(timeout=365 * 24 * 60 * 60) +def dominant_color(path): +color = ColorThief( +os.path.join(app.static_folder, path)).get_color(quality=1) +return '#%02x%02x%02x' % color + + +@app.context_processor +def inject_dominant_color(): +return dict(dominant_color=dominant_color) + + HEART = ('' @@ -757,6 +771,8 @@ hash, s='198', d=gravatar.default, r=gravatar.rating) except Exception: app.logger.warning('fail to fetch gravatar') +for path in glob.glob(os.path.join(app.static_folder, '**/*.jpg')): +dominant_color(os.path.relpath(path, app.static_folder)) return '', HTTPStatus.NO_CONTENT diff -r 5373d0e05793 -r 2357a8c88505 gulpfile.js --- a/gulpfile.js Tue Oct 15 10:32:31 2019 +0200 +++ b/gulpfile.js Tue Oct 15 12:09:06 2019 +0200 @@ -18,7 +18,8 @@ 'node_modules/bootstrap/dist/js/bootstrap.js', 'node_modules/loading-attribute-polyfill/loading-attribute-polyfill.js', 'js/highlight.pack.js', -'js/highlight.js']) +'js/highlight.js', +'js/lazy.js']) .pipe(sourcemaps.init()) .pipe(gulp.dest('static/js/')) .pipe(concat('main.js')) diff -r 5373d0e05793 -r 2357a8c88505 js/lazy.js --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/js/lazy.jsTue Oct 15 12:09:06 2019 +0200 @@ -0,0 +1,18 @@ +$(document).ready(function() { +if ("IntersectionObserver" in window) { +lazyElements = document.querySelectorAll(".lazy"); +var lazyObserver = new IntersectionObserver(function(entries, observer) { +entries.forEach(function(entry) { +if (entry.isIntersecting) { +var element = entry.target; +element.classList.remove("lazy"); +lazyObserver.unobserve(element); +} +}); +}); + +lazyElements.forEach(function(element) { +lazyObserver.observe(element); +}); +} +}); diff -r 5373d0e05793 -r 2357a8c88505 requirements.txt --- a/requirements.txt Tue Oct 15 10:32:31 2019 +0200 +++ b/requirements.txt Tue Oct 15 12:09:06 2019 +0200 @@ -9,3 +9,4 @@ python-memcached requests werkzeug +colorthief diff -r 5373d0e05793 -r 2357a8c88505 templates/contribute.html --- a/templates/contribute.html Tue Oct 15 10:32:3
[tryton-commits] changeset in www.tryton.org:default Add optimized sizes for succ...
changeset 0dc9db8e0346 in www.tryton.org:default details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=0dc9db8e0346 description: Add optimized sizes for success stories banner diffstat: static/images/success-stories/als-swiss/banner-400px.jpg | Bin static/images/success-stories/als-swiss/banner-800px.jpg | Bin static/images/success-stories/ammeba/banner-400px.jpg| Bin static/images/success-stories/ammeba/banner-800px.jpg| Bin static/images/success-stories/blue-box-distribution/banner-400px.jpg | Bin static/images/success-stories/blue-box-distribution/banner-800px.jpg | Bin static/images/success-stories/camir/banner-400px.jpg | Bin static/images/success-stories/camir/banner-800px.jpg | Bin static/images/success-stories/expertise-vision/banner-400px.jpg | Bin static/images/success-stories/expertise-vision/banner-800px.jpg | Bin static/images/success-stories/felber/banner-400px.jpg| Bin static/images/success-stories/felber/banner-800px.jpg| Bin static/images/success-stories/gotsho-lims/banner-400px.jpg | Bin static/images/success-stories/gotsho-lims/banner-800px.jpg | Bin static/images/success-stories/grufesa/banner-400px.jpg | Bin static/images/success-stories/grufesa/banner-800px.jpg | Bin static/images/success-stories/koolvet/banner-400px.jpg | Bin static/images/success-stories/koolvet/banner-800px.jpg | Bin static/images/success-stories/revelle/banner-400px.jpg | Bin static/images/success-stories/revelle/banner-800px.jpg | Bin 20 files changed, 0 insertions(+), 0 deletions(-) diffs (40 lines): diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/als-swiss/banner-400px.jpg Binary file static/images/success-stories/als-swiss/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/als-swiss/banner-800px.jpg Binary file static/images/success-stories/als-swiss/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/ammeba/banner-400px.jpg Binary file static/images/success-stories/ammeba/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/ammeba/banner-800px.jpg Binary file static/images/success-stories/ammeba/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/blue-box-distribution/banner-400px.jpg Binary file static/images/success-stories/blue-box-distribution/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/blue-box-distribution/banner-800px.jpg Binary file static/images/success-stories/blue-box-distribution/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/camir/banner-400px.jpg Binary file static/images/success-stories/camir/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/camir/banner-800px.jpg Binary file static/images/success-stories/camir/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/expertise-vision/banner-400px.jpg Binary file static/images/success-stories/expertise-vision/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/expertise-vision/banner-800px.jpg Binary file static/images/success-stories/expertise-vision/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/felber/banner-400px.jpg Binary file static/images/success-stories/felber/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/felber/banner-800px.jpg Binary file static/images/success-stories/felber/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/gotsho-lims/banner-400px.jpg Binary file static/images/success-stories/gotsho-lims/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/gotsho-lims/banner-800px.jpg Binary file static/images/success-stories/gotsho-lims/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/grufesa/banner-400px.jpg Binary file static/images/success-stories/grufesa/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/grufesa/banner-800px.jpg Binary file static/images/success-stories/grufesa/banner-800px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/koolvet/banner-400px.jpg Binary file static/images/success-stories/koolvet/banner-400px.jpg has changed diff -r 2357a8c88505 -r 0dc9db8e0346 static/images/success-stories/koolvet/banner-800px.jpg Binary file static/images/success-stori
[tryton-commits] changeset in modules/product_price_list:default Do not use Mock ...
changeset a8b1c36591ab in modules/product_price_list:default details: https://hg.tryton.org/modules/product_price_list?cmd=changeset;node=a8b1c36591ab description: Do not use Mock product to check_formula issue8713 review268081002 diffstat: price_list.py | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diffs (28 lines): diff -r 05d20a707786 -r a8b1c36591ab price_list.py --- a/price_list.py Sun Sep 29 12:13:49 2019 +0200 +++ b/price_list.py Tue Oct 15 17:33:12 2019 +0200 @@ -129,23 +129,12 @@ for line in lines: line.check_formula() -@classmethod -def get_check_formula_product(cls): -pool = Pool() -Product = pool.get('product.product') - -class Mock(Product): -def get_multivalue(self, name, **pattern): -return Decimal(0) -product = Mock() -return product - def check_formula(self): ''' Check formula ''' context = self.price_list.get_context_formula( -None, self.get_check_formula_product(), Decimal('0'), 0, None) +None, None, Decimal('0'), 0, None) try: if not isinstance(self.get_unit_price(**context), Decimal):
[tryton-commits] changeset in www.tryton.org:default Allow navigation without Jav...
changeset 42584becae2a in www.tryton.org:default details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=42584becae2a description: Allow navigation without JavaScript diffstat: sass/header/_header.scss | 1 - templates/index.html | 28 templates/layout.html| 9 + templates/service_providers.html | 9 - templates/utils.html | 17 + 5 files changed, 58 insertions(+), 6 deletions(-) diffs (151 lines): diff -r 0dc9db8e0346 -r 42584becae2a sass/header/_header.scss --- a/sass/header/_header.scss Tue Oct 15 12:33:59 2019 +0200 +++ b/sass/header/_header.scss Tue Oct 15 20:12:45 2019 +0200 @@ -74,7 +74,6 @@ } bottom: $carousel-controls-bottom; - display: flex; left: 0; position: absolute; right: 0; diff -r 0dc9db8e0346 -r 42584becae2a templates/index.html --- a/templates/index.html Tue Oct 15 12:33:59 2019 +0200 +++ b/templates/index.html Tue Oct 15 20:12:45 2019 +0200 @@ -14,12 +14,29 @@ {{ super() }} - - - - + + + + + + + + + + + + + + + + + + + + + {{ slide_img(1) }} @@ -34,6 +51,7 @@ + {{ slide_img(2) }} @@ -48,6 +66,7 @@ + {{ slide_img(3) }} @@ -62,6 +81,7 @@ + {{ slide_img(4) }} diff -r 0dc9db8e0346 -r 42584becae2a templates/layout.html --- a/templates/layout.html Tue Oct 15 12:33:59 2019 +0200 +++ b/templates/layout.html Tue Oct 15 20:12:45 2019 +0200 @@ -40,6 +40,9 @@ {% block style %} + + + {% endblock style %} @@ -57,6 +60,12 @@ + + + + + + {% for title, items in menu.items() %} diff -r 0dc9db8e0346 -r 42584becae2a templates/service_providers.html --- a/templates/service_providers.html Tue Oct 15 12:33:59 2019 +0200 +++ b/templates/service_providers.html Tue Oct 15 20:12:45 2019 +0200 @@ -9,7 +9,7 @@ {{ title }} - + @@ -44,6 +44,13 @@ {% block style %} {{ super() }} + + +#map-card { +display: none!important; +} + + {% endblock style %} {% block script %} diff -r 0dc9db8e0346 -r 42584becae2a templates/utils.html --- a/templates/utils.html Tue Oct 15 12:33:59 2019 +0200 +++ b/templates/utils.html Tue Oct 15 20:12:45 2019 +0200 @@ -18,6 +18,23 @@ } } + + +.background-{{ name | replace('/', '-') }}.lazy { +background-image: url('{{ url_for('static', filename='images/%s.jpg' % name) }}'); +} +@media (max-width: 800px) { +.background-{{ name | replace('/', '-') }}.lazy { +background-image: url('{{ url_for('static', filename='images/%s-800px.jpg' % name) }}'); +} +} +@media (max-width: 400px) { +.background-{{ name | replace('/', '-') }}.lazy { +background-image:url('{{ url_for('static', filename='images/%s-400px.jpg' % name) }}'); +} +} + + {% endmacro %} {% macro case_card(case, classes='') %}
[tryton-commits] changeset in www.tryton.org:default Add missing noscript file
changeset 625a10c1c0b3 in www.tryton.org:default details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=625a10c1c0b3 description: Add missing noscript file diffstat: sass/noscript.scss | 54 ++ 1 files changed, 54 insertions(+), 0 deletions(-) diffs (58 lines): diff -r 42584becae2a -r 625a10c1c0b3 sass/noscript.scss --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/sass/noscript.scssTue Oct 15 21:54:37 2019 +0200 @@ -0,0 +1,54 @@ +.dropdown { + &:active, + &:focus-within { +> .dropdown-menu { + display: block; +} + } +} + +*[data-toggle='collapse'] { + display: none; +} + +label { + &[for] { +cursor: pointer; + } +} + +.navbar-toggler { + &:checked ~ .navbar-collapse { +display: block; + } +} + +.carousel-active { + &:checked + .carousel-item { +display: block; +opacity: 1; +z-index: 1; + } +} + +.carousel-indicators { + li { +height: 10px; +opacity: .5; +text-indent: 0; + +&.active { + opacity: .5; +} + +label { + height: 100%; + margin: 0; + width: 100%; +} + } +} + +.carousel-controls { + display: none; +}