11 lines
405 B
Python
11 lines
405 B
Python
from odoo import models, _
|
|
from odoo.tools import float_is_zero
|
|
|
|
class PosSession(models.Model):
|
|
_inherit = 'pos.session'
|
|
|
|
# The manual creation of journal entries for 100% discount orders
|
|
# has been removed because it duplicates the aggregated entries that
|
|
# Odoo POS natively creates when closing a session. The mapping is
|
|
# instead handled at the pos.order.line level dynamically.
|