Skip to content

Commit

Permalink
Merge pull request #180 from ecosoft-odoo/newtratip-patch-1
Browse files Browse the repository at this point in the history
[FIX] l10n_th_hr_expense_cash_basis: Future cash basis move no post automatically
  • Loading branch information
newtratip authored Mar 22, 2024
2 parents 8ae0515 + 00942ac commit e0e0306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def _create_tax_cash_basis_moves_expense(self):
"""Allow post cash basis for set to_clear_tax=True
and reset it back to draft"""
moves = super()._create_tax_cash_basis_moves_expense()
moves._post()
moves._post(soft=False)
# EXPERIMENT: remove income / expense account move lines
ml_groups = self.env["account.move.line"].read_group(
domain=[("move_id", "in", moves.ids)],
Expand Down

0 comments on commit e0e0306

Please sign in to comment.