-
-
Notifications
You must be signed in to change notification settings - Fork 114
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] [ADD] mrp_order_report_lot #137
base: 16.0
Are you sure you want to change the base?
Conversation
47ebf9f
to
2daf109
Compare
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.
Thank you for this contribution
> | ||
<attribute | ||
name="t-if" | ||
t-translation="off" |
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.
TIL t-translation
💡
Odoo automatically exports translatable strings from “data”-type content:
- (...)
- QWeb templates (both server-side and client-side), all text nodes are exported except inside
t-translation="off"
blocks, the content of thetitle
,alt
,label
andplaceholder
attributes are also exported- (...)
https://www.odoo.com/documentation/16.0/developer/howtos/translations.html#implicit-exports
<t t-if="raw_line.product_id.tracking == 'lot'"> | ||
<div t-if="False in quantity_by_lot"> | ||
<span class="fst-italic"><t>Lot missing</t></span> | ||
</div> | ||
</t> |
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.
very nice enhancement, thanks
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.
Useful module, thanks
2daf109
to
778b26b
Compare
Splits components by lots like this:
Lot2
Lot missing
5
2
SN02
SN03