-
-
Notifications
You must be signed in to change notification settings - Fork 602
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] pos_disable_product_variant #970
Conversation
f87a003
to
b86f861
Compare
Apparently the module breaks the test of |
Can someone review this one please? |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
5a00394
to
74f7b67
Compare
@OCA/pos-maintainers Anyone willing to review? |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
records = super().create(vals_list) | ||
# Activate variants in POS | ||
records.filtered("available_in_pos").mapped("product_variant_ids").write( | ||
{"available_in_pos": True} |
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.
It might be a good idea to change the product.template field to a computed
field with inverse
and search
.
Similar to how Odoo core treats the barcode
, weight
, volume
, etc..
/ocabot rebase |
Congratulations, PR rebased to 16.0. |
74f7b67
to
b26a73d
Compare
Could you squash the |
New module for excluding specific variants from Point of Sale.
b26a73d
to
dbc2e3e
Compare
Rebased and squashed. |
Thanks! It looks like the Ci is broken after the rebase. |
Hello @ecino, I'm closing this PR due inactivity while the CI is broken Thanks |
New module for excluding specific variants from Point of Sale.