[16.0][ADD] pos_hide_receipt_line#1404
Conversation
d19bf98 to
ef1d2f7
Compare
|
This PR has the |
ef1d2f7 to
6507164
Compare
6507164 to
d6ae78e
Compare
ivantodorovich
left a comment
There was a problem hiding this comment.
Thanks for your contribution!
I just have a comment regarding the unit tests
| ) | ||
|
|
||
| def test_hide_receipt_line(self): | ||
| self.assertTrue(self.product.pos_hide_receipt_line) |
There was a problem hiding this comment.
This test doesn't add any value. It's just testing the ORM, and we don't have to do that.
What would be useful is to test this module with a js tour that makes sure the receipt line is not actually displayed.
|
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. |
Good morning, this add-on allows you to hide product lines on the point of sale receipt, as long as the line's price is 0.
To do this, go to the product in the backend and enable the Hide Receipt Line field, which is only visible if the product is available in the point of sale. After that, simply go to the point of sale and create a line with the product at a price of 0.