Skip to content

Conversation

@yankinmax
Copy link
Contributor

No description provided.

@yankinmax yankinmax force-pushed the 18.0-mig-stock_picking_batch_extended branch from 13ea03a to 3d36345 Compare January 28, 2025 11:29
@rousseldenis
Copy link
Contributor

/ocabot migration stock_picking_batch_extended

Copy link

@gaetan-vaujour gaetan-vaujour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional validation is OK

@rousseldenis
Copy link
Contributor

IMHO those kind of modules should be avoided. As it is very difficult for users to determine what is the real purpose of it.

Copy link
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warf! This module is doing too many different things.
Can you split in several modules? One meaningful group of features per module.
And try to find meaningful module names

class ProductTemplate(models.Model):
_inherit = "product.template"

description_picking = fields.Text(string="Warehouse Description", translate=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where this is used. Should be in a separate module

class Company(models.Model):
_inherit = "res.company"

use_oca_batch_validation = fields.Boolean()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the OCA way? This is not clear, help missing. Rename field

@StephaneMangin
Copy link

Warf! This module is doing too many different things. Can you split in several modules? One meaningful group of features per module. And try to find meaningful module names

Spagetthi


def migrate(cr, version):
cr.execute("""
UPDATE product_template
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The field is set on product_product

class ProductTemplate(models.Model):
_inherit = "product.template"

description_picking = fields.Text(string="Warehouse Description", translate=True)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is actually exists, the override is about the string

RodrigoBM and others added 12 commits March 18, 2025 08:41
…Picking group

[REF] stock_picking_batch_extended: update picking_batch_configuration_settings img configuration
Currently translated at 22.2% (14 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 84.1% (53 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/pt_BR/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/pt_BR/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
…icking report on "print deliveries" button

TT50661
@leemannd leemannd force-pushed the 18.0-mig-stock_picking_batch_extended branch from 79aed17 to e3377c6 Compare March 18, 2025 07:41
@leemannd leemannd force-pushed the 18.0-mig-stock_picking_batch_extended branch from e3377c6 to 0569479 Compare March 18, 2025 07:53
david-banon-tecnativa added a commit to Tecnativa/stock-logistics-workflow that referenced this pull request Jun 23, 2025

name = fields.Char(
index=True,
readonly=False, # allow edition in draft state
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to set False, which is the default value?

invisible="not use_oca_batch_validation"
/>
</xpath>
<xpath expr="//div[@name='button_box']" position="inside">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add this missed commit:
d67c904

david-banon-tecnativa added a commit to Tecnativa/stock-logistics-workflow that referenced this pull request Jun 24, 2025
david-banon-tecnativa added a commit to Tecnativa/stock-logistics-workflow that referenced this pull request Jun 25, 2025
david-banon-tecnativa added a commit to Tecnativa/stock-logistics-workflow that referenced this pull request Jun 25, 2025
Comment on lines +25 to +26
location_name = operation.location_id.name_get()[0][1]
location_dest_name = operation.location_dest_id.name_get()[0][1]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
location_name = operation.location_id.name_get()[0][1]
location_dest_name = operation.location_dest_id.name_get()[0][1]
location_name = operation.location_id.display_name
location_dest_name = operation.location_dest_id.display_name

<thead>
<th>Product</th>
<th>Carrier</th>
<th class="text-right">QTY</th>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<th class="text-right">QTY</th>
<th class="text-end">QTY</th>

<td>
<span t-esc="carrier.name" />
</td>
<td class="text-right">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<td class="text-right">
<td class="text-end">

<tfoot>
<tr>
<td />
<td id="total_label" class="text-right">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<td id="total_label" class="text-right">
<td id="total_label" class="text-end">

Comment on lines +130 to +132
<td id="total_qty" class="text-right">
<strong t-esc="total_qty" />
</td>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<td id="total_qty" class="text-right">
<strong t-esc="total_qty" />
</td>
<td id="total_qty" class="text-end">
<strong t-out="total_qty" />
</td>

<span t-field="product.display_name" />
</td>
<td>
<span t-esc="carrier.name" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And check the remaining occurrences

Suggested change
<span t-esc="carrier.name" />
<span t-out="carrier.name" />

@andreampiovesana
Copy link
Contributor

@yankinmax can you commit changes requested?

@carlos-lopez-tecnativa
Copy link

Superseded by #2120

@pedrobaeza pedrobaeza closed this Oct 2, 2025
david-banon-tecnativa added a commit to Tecnativa/stock-logistics-workflow that referenced this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.