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

[14.0][FIX] sale_restricted_qty domain of warnings #3443

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions sale_restricted_qty/views/sale_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
for="sale_min_qty"
string="Min Quantity Recommended"
attrs="{'invisible': ['|', ('is_qty_less_min_qty','=', False),
'&', ('is_qty_less_min_qty','=', True), ('force_sale_min_qty','=', False,)]}"
'&', ('is_qty_less_min_qty','=', True), ('force_sale_min_qty','=', False)]}"
style="background-color:yellow"
/>
<label
colspan="2"
for="sale_min_qty"
string="Min Quantity Required"
attrs="{'invisible': ['|', ('is_qty_less_min_qty','=', False),
'&amp;', ('is_qty_less_min_qty','=', True), ('force_sale_min_qty','=', True,)]}"
'&amp;', ('is_qty_less_min_qty','=', True), ('force_sale_min_qty','=', True)]}"
style="background-color:red"
/>
<label
Expand All @@ -46,15 +46,15 @@
for="sale_min_qty"
string="Max Quantity Recommended"
attrs="{'invisible': ['|', ('is_qty_bigger_max_qty','=', False),
'&amp;', ('is_qty_bigger_max_qty','=', True), ('force_sale_max_qty','=', False,)]}"
'&amp;', ('is_qty_bigger_max_qty','=', True), ('force_sale_max_qty','=', False)]}"
style="background-color:yellow"
/>
<label
colspan="2"
for="sale_min_qty"
string="Max Quantity Exceeded"
attrs="{'invisible': ['|', ('is_qty_bigger_max_qty','=', True),
'&amp;', ('is_qty_bigger_max_qty','=', True), ('force_sale_max_qty','=', True,)]}"
attrs="{'invisible': ['|', ('is_qty_bigger_max_qty','=', False),
'&amp;', ('is_qty_bigger_max_qty','=', True), ('force_sale_max_qty','=', True)]}"
style="background-color:red"
/>
</xpath>
Expand Down
Loading