[IMP] website_sale_aplicoop: improve i18n label fallbacks and response parsing
Add hardcoded fallback translations for es/eu when PO-based translation returns the source string unchanged. Expand labels dict with all keys needed by the frontend. Fix JSON response parsing in template (data.result || data). Add js_translations keys. Add pot file for stock_picking_batch_custom. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
647438e012
commit
5eea3e2a23
7 changed files with 346 additions and 20 deletions
228
stock_picking_batch_custom/i18n/stock_picking_batch_custom.pot
Normal file
228
stock_picking_batch_custom/i18n/stock_picking_batch_custom.pot
Normal file
|
|
@ -0,0 +1,228 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * stock_picking_batch_custom
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 18.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2026-05-21 13:17+0000\n"
|
||||
"PO-Revision-Date: 2026-05-21 13:17+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields.selection,name:stock_picking_batch_custom.selection__res_company__batch_detailed_restriction_scope__all
|
||||
msgid "All detailed lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields.selection,name:stock_picking_batch_custom.selection__res_company__batch_summary_restriction_scope__all
|
||||
msgid "All summary products"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_stock_backorder_confirmation
|
||||
msgid "Backorder Confirmation"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__batch_id
|
||||
msgid "Batch"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking__batch_consumer_group_id
|
||||
msgid "Batch Consumer Group"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model_terms:ir.ui.view,arch_db:stock_picking_batch_custom.res_config_settings_view_form_inherit_batch_custom
|
||||
msgid "Batch Detailed Operations Restriction"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_stock_picking_batch_summary_line
|
||||
msgid "Batch Product Summary Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model_terms:ir.ui.view,arch_db:stock_picking_batch_custom.res_config_settings_view_form_inherit_batch_custom
|
||||
msgid "Batch Product Summary Restriction"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_stock_picking_batch
|
||||
msgid "Batch Transfer"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_move_line__is_collected
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__is_collected
|
||||
msgid "Collected"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_res_company
|
||||
msgid "Companies"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_res_config_settings
|
||||
msgid "Config Settings"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model_terms:ir.ui.view,arch_db:stock_picking_batch_custom.res_config_settings_view_form_inherit_batch_custom
|
||||
msgid "Configuración de restricciones para la pestaña Operaciones Detalladas."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model_terms:ir.ui.view,arch_db:stock_picking_batch_custom.res_config_settings_view_form_inherit_batch_custom
|
||||
msgid "Configuración de restricciones para la pestaña Product Summary."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_move_line__consumer_group_id
|
||||
msgid "Consumer Group"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__create_uid
|
||||
msgid "Created by"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__create_date
|
||||
msgid "Created on"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__qty_demanded
|
||||
msgid "Demanded Quantity"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_company__batch_detailed_restriction_scope
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_config_settings__batch_detailed_restriction_scope
|
||||
msgid "Detailed Operations Restriction Scope"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__qty_done
|
||||
msgid "Done Quantity"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_company__batch_detailed_restriction_enabled
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_config_settings__batch_detailed_restriction_enabled
|
||||
msgid "Enforce Detailed Operations Restriction"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_company__batch_summary_restriction_enabled
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_config_settings__batch_summary_restriction_enabled
|
||||
msgid "Enforce Product Summary Restriction"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_move_line__home_delivery
|
||||
msgid "Home Delivery"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__write_uid
|
||||
msgid "Last Updated by"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__write_date
|
||||
msgid "Last Updated on"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields.selection,name:stock_picking_batch_custom.selection__res_company__batch_detailed_restriction_scope__processed
|
||||
msgid "Only processed lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields.selection,name:stock_picking_batch_custom.selection__res_company__batch_summary_restriction_scope__processed
|
||||
msgid "Only processed products"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__qty_pending
|
||||
msgid "Pending Quantity"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#. odoo-python
|
||||
#: code:addons/stock_picking_batch_custom/models/stock_picking_batch.py:0
|
||||
msgid "Pending products: %(products)s"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__product_id
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__product_categ_id
|
||||
msgid "Product Category"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_move_line__product_categ_id
|
||||
msgid "Product Category (Batch)"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_stock_move_line
|
||||
msgid "Product Moves (Stock Move Line)"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch__summary_line_ids
|
||||
#: model_terms:ir.ui.view,arch_db:stock_picking_batch_custom.view_stock_picking_batch_form_inherit_summary
|
||||
msgid "Product Summary"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_company__batch_summary_restriction_scope
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_res_config_settings__batch_summary_restriction_scope
|
||||
msgid "Product Summary Restriction Scope"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.constraint,message:stock_picking_batch_custom.constraint_stock_picking_batch_summary_line_product_required
|
||||
msgid "Product is required for summary lines."
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model,name:stock_picking_batch_custom.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,field_description:stock_picking_batch_custom.field_stock_picking_batch_summary_line__product_uom_id
|
||||
msgid "Unit of Measure"
|
||||
msgstr ""
|
||||
|
||||
#. module: stock_picking_batch_custom
|
||||
#: model:ir.model.fields,help:stock_picking_batch_custom.field_stock_move_line__home_delivery
|
||||
msgid "Whether this picking includes home delivery (from sale order)"
|
||||
msgstr ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue