Hello,
After adding and printing bill in Odoo POS I'm not able to valide payment anymore. I'm getting the following error:
You cannot edit a payment for a printed order.
I'm using odoo to manage a Bar/restaurant
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
After adding and printing bill in Odoo POS I'm not able to valide payment anymore. I'm getting the following error:
You cannot edit a payment for a printed order.
I'm using odoo to manage a Bar/restaurant
I don't know why on earth is this logic exists but you can do
from "addons/point_of_sale/models/pos_order.py"
Comment This 2 lines
if order.nb_print > 0 and vals.get('payment_ids'):
raise UserError(_('You cannot change the payment of a printed order.'))
from "addons/point_of_sale/models/pos_payment.py"
Comment This 2 lines
elif payment.pos_order_id.nb_print > 0:
raise ValidationError(_('You cannot edit a payment for a printed order.'))
Save and restart odoo service
Hope it solves
Did you find a solution ?
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
5
Tem 25
|
3764 | ||
|
1
Mar 25
|
921 | ||
|
1
Kas 24
|
1250 | ||
|
3
Tem 25
|
2407 | ||
|
0
Tem 25
|
371 |