Skip to content

Commit

Permalink
[FIX] fiscal_company_sale/account: Full sale workflow. avoid error re…
Browse files Browse the repository at this point in the history
…garding taxes
  • Loading branch information
legalsylvain committed Jan 21, 2025
1 parent c88ecf2 commit e208134
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fiscal_company_account/models/account_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ class AccountMoveLine(models.Model):
account_id = fields.Many2one(check_company=False)

tax_ids = fields.Many2many(check_company=False)

tax_repartition_line_id = fields.Many2one(check_company=False)
1 change: 1 addition & 0 deletions fiscal_company_sale/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from . import sale_order
from . import sale_order_line
11 changes: 11 additions & 0 deletions fiscal_company_sale/models/sale_order_line.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (C) 2025-Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models


class SaleOrderLine(models.Model):
_inherit = "sale.order.line"

tax_id = fields.Many2many(check_company=False)

0 comments on commit e208134

Please sign in to comment.