forked from OCA/sale-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] sale_elaboration: Allow to select multiple elaborations
- Loading branch information
Ernesto Tejeda
committed
Jun 1, 2023
1 parent
d8a772c
commit 3acdafb
Showing
15 changed files
with
123 additions
and
49 deletions.
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
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 |
---|---|---|
|
@@ -6,8 +6,8 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2022-10-23 07:29+0000\n" | ||
"PO-Revision-Date: 2022-10-23 09:31+0200\n" | ||
"POT-Creation-Date: 2023-02-02 12:32+0000\n" | ||
"PO-Revision-Date: 2023-02-02 13:35+0100\n" | ||
"Last-Translator: Sergio Teruel <[email protected]>\n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
|
@@ -88,7 +88,6 @@ msgid "Display Name" | |
msgstr "Nombre a mostrar" | ||
|
||
#. module: sale_elaboration | ||
#: model:ir.model.fields,field_description:sale_elaboration.field_sale_order_line__elaboration_id | ||
#: model_terms:ir.ui.view,arch_db:sale_elaboration.elaboration_view_search | ||
#: model_terms:ir.ui.view,arch_db:sale_elaboration.view_sales_order_line_filter | ||
msgid "Elaboration" | ||
|
@@ -105,6 +104,7 @@ msgid "Elaboration notes will appear on the delivery slip" | |
msgstr "Las notas de elaboración aparecerán en los albaranes" | ||
|
||
#. module: sale_elaboration | ||
#: model:ir.model.fields,field_description:sale_elaboration.field_sale_order_line__elaboration_ids | ||
#: model_terms:ir.ui.view,arch_db:sale_elaboration.elaboration_view_form | ||
msgid "Elaborations" | ||
msgstr "Elaboraciones" | ||
|
@@ -222,15 +222,3 @@ msgstr "Nombre corto" | |
#: model:ir.model,name:sale_elaboration.model_stock_picking | ||
msgid "Transfer" | ||
msgstr "Transferir" | ||
|
||
#~ msgid "Is elaboration" | ||
#~ msgstr "Es elaboración" | ||
|
||
#~ msgid "Date on which the sales order is confirmed." | ||
#~ msgstr "Fecha en la que un pedido es confirmado." | ||
|
||
#~ msgid "Quotation" | ||
#~ msgstr "Presupuesto" | ||
|
||
#~ msgid "Confirmation Date" | ||
#~ msgstr "Fecha de confirmación" |
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,16 @@ | ||
# Copyright 2023 Tecnativa - Ernesto Tejeda | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
|
||
openupgrade.m2o_to_x2m( | ||
env.cr, | ||
env["sale.order.line"], | ||
"sale_order_line", | ||
"elaboration_ids", | ||
openupgrade.get_legacy_name("elaboration_id"), | ||
) |
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,9 @@ | ||
# Copyright 2023 Tecnativa - Ernesto Tejeda | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.rename_columns(env.cr, {"sale_order_line": [("elaboration_id", None)]}) |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
* Sergio Teruel | ||
* Pedro M. Baeza | ||
* Carlos Roca | ||
* Ernesto Tejeda |
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
Oops, something went wrong.