-
Notifications
You must be signed in to change notification settings - Fork 289
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
[IMP] stock_by_warehouse: Enhance stock visibility for warehouse-Wizard T#79454 #1685
[IMP] stock_by_warehouse: Enhance stock visibility for warehouse-Wizard T#79454 #1685
Conversation
Hi @luisg123v could you review it ? , please |
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
</td> | ||
</tr> | ||
</t> | ||
</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.
There are problems in the indentation
stock_by_warehouse/i18n/es.po
Outdated
#, python-format | ||
msgid "Incoming stock may not cover or will barely meet demand." | ||
msgstr "" | ||
"Es posible que el stock entrante no cubra o apenas satisfaga la demanda." |
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.
inventario
instead of stock
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
t-att-class=" | ||
line.virtual > 3 ? '' : | ||
(line.virtual > 0 ? 'text-warning' : 'text-danger')" | ||
> |
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.
Indentation
t-att-class=" | |
line.virtual > 3 ? '' : | |
(line.virtual > 0 ? 'text-warning' : 'text-danger')" | |
> | |
t-att-class=" | |
line.virtual > 3 ? '' : | |
(line.virtual > 0 ? 'text-warning' : 'text-danger')" | |
> |
Functionally LGTM |
097e90b
to
65c8b9f
Compare
54c758e
to
d9640c8
Compare
stock_by_warehouse/static/src/components/warehouse/warehouse_field.xml
Outdated
Show resolved
Hide resolved
d9640c8
to
306f91a
Compare
d0d1521
to
52b567a
Compare
<t t-if="line.virtual gt 0" t-set="saleable_qty_title_message"> | ||
<t> This quantity is available for immediate sale and delivery.</t> | ||
<t t-out="'\n'" /> | ||
<t> This represents on hand quantity minus the reserved stock.</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.
Just one more matter:
Is it accurate to mention reserved quantity? Be aware, starting from v17.0, the concept of reserved quantity doesn't exist anymore, not as handled in previous versions anyway, see odoo/odoo@7dda6bb9 for more info.
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.
ready!
:o This is important! tks c: @luisg123v
52b567a
to
832bc2b
Compare
832bc2b
to
8afba78
Compare
</td> | ||
<td style="text-align: center;"> | ||
<t t-if="line.virtual gt 0" t-set="saleable_qty_title_message"> | ||
<t> This quantity is available for immediate sale and delivery.</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.
Sorry for not noticing it before:
<t> This quantity is available for immediate sale and delivery.</t> | |
<t>This quantity is available for immediate sale and delivery.</t> |
Same below.
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.
@luisg123v no worries! No need to apologize 😉. Done!
Hi @rolandojduartem, This in general LGTM. Could you review again, please? Regards, |
8afba78
to
51664c0
Compare
452f43d
to
dbd590f
Compare
I like the new style, but in mobile is buggy Please, in this line https://github.com/Vauxoo/addons-vauxoo/blob/8dc846c4/stock_by_warehouse/static/src/components/warehouse/warehouse_field.esm.js#L78 Modify it to You could import isMobileOS as Currently, you could not see all the information but, the proposed solution will position the popover at the botton of the field and you can check the information easily. |
</td> | ||
<td style="text-align: center;"> | ||
<t t-if="line.virtual gt 0" t-set="saleable_qty_title_message"> | ||
<t>This quantity is available for immediate sale and delivery.</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.
So, @luisg123v, do we want these messages here?
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.
@luisg123v just this comment for me, if you are OK, so LGTM
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.
@rolandojduartem yes, it's expected. It's the improvement implemented here, showing not only the quantities but also their meaning.
To enhance user comprehension by improving the visibility of stock levels across different warehouses, especially when creating a sale and checking stock availability. This feature is particularly useful for managing stock across multiple locations. Additionally, conditional help tooltips have been added to assist in correctly interpreting the values, and translation terms have been updated.
dbd590f
to
f38c703
Compare
@rolandojduartem Tks u 4 the improvements, the changes have been added c: |
LGTM 👍 @luisg123v |
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.
LGTM 👍
To enhance user comprehension by improving the visibility of stock levels
across different warehouses, especially when creating a sale and checking
stock availability. This feature is particularly useful for managing stock
across multiple locations. Additionally, conditional help tooltips have
been added to assist in correctly interpreting the values, and translation
terms have been updated.
Requisition
Change the aesthetics of the Stock by Warehouse Wizard, which is optionally displayed in sales orders. Only the fields of interest need to be kept, and the structure should be made easier to understand.
Related to: vauxoo/typ#530
Sale order form view (Stock by Warehouse Wizard) :
Before development you have the following default view:
After development you have the following default view: