Skip to content
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

[16.0][FIX] stock_picking_report_valued: Use original qty done column from … #308

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

EmilioPascual
Copy link
Contributor

@EmilioPascual EmilioPascual commented Apr 19, 2024

I don't understand why it is necessary to hide the original qty done column. This makes other modules that inherit the qty done column not work.

@Shide @yajo please review.

@moduon MT-5825

@EmilioPascual EmilioPascual changed the title [FIX] stock_picking_report_valued: Use original qty done column from … [16.0][FIX] stock_picking_report_valued: Use original qty done column from … Apr 19, 2024
Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

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

Make sense! It should be done with good inheritance

👍🏼

@@ -94,36 +88,18 @@
inherit_id="stock.stock_report_delivery_has_serial_move_line"
>
<xpath expr="//td[@name='move_line_lot_qty_done']" position="after">
Copy link
Member

Choose a reason for hiding this comment

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

suggestion: if possible, it's better to add a name attribute to the th above and find the corresponding position here in the tbody using this trick. Otherwise, other modules that extend the same report could put some column in the middle and break the layout.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool trick! I save it for the future. Thanks.
Now I fix with name for this case.

…Odoo

I don't understand why it is necessary to hide the original qty done column. This makes other modules that modify the qty done column not work.

@moduon MT-5825
@EmilioPascual EmilioPascual force-pushed the 16.0-fix_stock_picking_report_valued branch from 68c12ae to 8868129 Compare April 19, 2024 10:21
@rafaelbn rafaelbn added this to the 16.0 milestone Apr 19, 2024
Copy link
Contributor

@Gelojr Gelojr left a comment

Choose a reason for hiding this comment

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

LGTM

@rafaelbn
Copy link
Member

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-308-by-rafaelbn-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit cb4fa59 into OCA:16.0 Apr 19, 2024
5 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 94ce82f. Thanks a lot for contributing to OCA. ❤️

@Shide Shide deleted the 16.0-fix_stock_picking_report_valued branch April 22, 2024 05:56
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.

None yet

5 participants