Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] fiscal_company_sale/account: Full sale workflow. avoid error regarding taxes #74

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading