-
-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[17.0][IMP] product_contract: Set description under product name instead of description #1187
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-30 12:54+0000\n" | ||
"PO-Revision-Date: 2024-08-30 15:06+0200\n" | ||
"POT-Creation-Date: 2025-01-24 14:18+0000\n" | ||
"PO-Revision-Date: 2025-01-24 15:19+0100\n" | ||
"Last-Translator: Pedro M. Baeza <[email protected]>\n" | ||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" | ||
"Language: es\n" | ||
|
@@ -20,6 +20,27 @@ msgstr "" | |
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Poedit 3.0.1\n" | ||
|
||
#. module: product_contract | ||
#. odoo-python | ||
#: code:addons/product_contract/models/sale_order_line.py:0 | ||
#, python-format | ||
msgid "- Date: {}" | ||
msgstr "- Fecha: {}" | ||
|
||
#. module: product_contract | ||
#. odoo-python | ||
#: code:addons/product_contract/models/sale_order_line.py:0 | ||
#, python-format | ||
msgid "- Invoicing Type: {}" | ||
msgstr "- Tipo de facturación: {}" | ||
|
||
#. module: product_contract | ||
#. odoo-python | ||
#: code:addons/product_contract/models/sale_order_line.py:0 | ||
#, python-format | ||
msgid "- Recurrency: {}" | ||
msgstr "- Recurrencia: {}" | ||
|
||
#. module: product_contract | ||
#: model_terms:ir.ui.view,arch_db:product_contract.contract_contract_customer_form_view | ||
msgid "<span class=\"o_stat_text\">Sale Orders</span>" | ||
|
@@ -361,6 +382,11 @@ msgstr "Producto" | |
msgid "Product Contract Configurator Wizard" | ||
msgstr "" | ||
|
||
#. module: product_contract | ||
#: model:ir.model.fields,field_description:product_contract.field_sale_order_line__product_contract_description | ||
msgid "Product Contract Description" | ||
msgstr "" | ||
|
||
#. module: product_contract | ||
#: model:ir.model.fields,field_description:product_contract.field_product_contract_configurator__product_uom_qty | ||
msgid "Quantity" | ||
|
@@ -616,53 +642,3 @@ msgstr "Años" | |
#, python-format | ||
msgid "You can't upsell or downsell a terminated contract" | ||
msgstr "No puede vender o vender un contrato terminado" | ||
|
||
#. module: product_contract | ||
#. odoo-python | ||
#: code:addons/product_contract/models/sale_order.py:0 | ||
#, python-format | ||
msgid "" | ||
"You must specify a contract template for '%(product_name)s' product in " | ||
"'%(company_name)s' company." | ||
msgstr "" | ||
"Debes especificar una plantilla de contrato para el producto " | ||
"'%(product_name)s' en la empresa '%(company_name)s'." | ||
|
||
#. module: product_contract | ||
#. odoo-python | ||
#: code:addons/product_contract/models/sale_order_line.py:0 | ||
#, python-format | ||
msgid "" | ||
"{product}:\n" | ||
" - Recurrency: {recurring_rule}\n" | ||
" - Invoicing Type: {invoicing_type}\n" | ||
" - Date: {date_text}\n" | ||
" " | ||
msgstr "" | ||
|
||
#, python-format | ||
#~ msgid "" | ||
#~ "{product}\n" | ||
#~ " - Recurrency: {recurring_rule}\n" | ||
#~ " - Invoicing Type: {invoicing_type}\n" | ||
#~ " - Date: {date_text}\n" | ||
#~ " " | ||
#~ msgstr "" | ||
#~ "{product}\n" | ||
#~ " - Periodicidad: {recurring_rule}\n" | ||
#~ " - Tipo de facturación: {invoicing_type}\n" | ||
#~ " - Fecha: {date_text}\n" | ||
#~ " " | ||
|
||
#~ msgid "Product Template" | ||
#~ msgstr "Plantilla de producto" | ||
|
||
#~ msgid "Sale Order" | ||
#~ msgstr "Pedido de Venta" | ||
|
||
#, python-format | ||
#~ msgid "" | ||
#~ "You must specify a contract template for '{}' product in '{}' company." | ||
#~ msgstr "" | ||
#~ "Debe especificar una plantilla de contrato para el producto '{}' en la " | ||
#~ "compañía '{}'." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
You can include the contract details on the sales order description by using the following system parameters: | ||
|
||
1. **Recurrency** -\> product_contract.show_recurrency | ||
2. **Invoicing Type** -\> product_contract.show_invoicing_type | ||
3. **Date** -\> product_contract.show_date |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is necessary to take into account whether the field is set or not before accessing it, or make it a required field in the product form view to prevent mistakes.
![image](https://private-user-images.githubusercontent.com/174346082/407062865-4b9078c5-933a-43ed-8036-c0d09db6cb8b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTU5ODEsIm5iZiI6MTczOTI5NTY4MSwicGF0aCI6Ii8xNzQzNDYwODIvNDA3MDYyODY1LTRiOTA3OGM1LTkzM2EtNDNlZC04MDM2LWMwZDA5ZGI2Y2I4Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxNzQxMjFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iODdiNGFjZjQ0MTFhZjI0NTc5ZDc1YWQxMTJlMWVlMTY4MGFmN2VjMmEzZDdhM2FmMDNhZWExOGY0MjQ3NjNjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.KzVF8HJJ_QmQr1gG4BHnUWwuu8qp-wht2O_5er-1-XY)
I set the field as empty intentionally, but the user can do the same. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be attended in this other PR: #1188