[FIX] pos_coupon : Couldn't start PoS
Current behavior : When installing l10n_de_pos_cert on runbot module you couldn't start a PoS session Steps to reproduce : Duplicate runbot database Install l10n_de_pos_cert Try to start a PoS session in a german store opw-2691615 closes odoo/odoo#80608 X-original-commit: 467708cbedfb2b8146c653afc06625dc4af7e893 Signed-off-by: Engels Robin (roen) <roen@odoo.com>
This commit is contained in:
@@ -67,7 +67,7 @@ class PosConfig(models.Model):
|
||||
)
|
||||
raise UserError(f"{intro}\n{invalid_reward_products_msg}")
|
||||
|
||||
return super(PosConfig, self).open_session_cb(check_coa)
|
||||
return super(PosConfig, self).open_session_cb()
|
||||
|
||||
def use_coupon_code(self, code, creation_date, partner_id, reserved_program_ids):
|
||||
coupon_to_check = self.env["coupon.coupon"].search(
|
||||
|
||||
Reference in New Issue
Block a user