remove account_move

This commit is contained in:
Kristof Bernaert
2026-02-02 11:31:57 +01:00
parent 41869d9494
commit 711e65c63c
8 changed files with 0 additions and 46 deletions
@@ -8,7 +8,6 @@ Copies the selected customer (Klant) directly to the invoice address
on sale orders and invoices, without collapsing to the commercial partner.
""",
"depends": [
"account",
"sale",
],
"installable": True,
@@ -1,2 +1 @@
from . import account_move
from . import sale_order
@@ -1,12 +0,0 @@
from odoo import api, models
class AccountMove(models.Model):
_inherit = "account.move"
@api.onchange("partner_id")
def _onchange_partner_copy_to_invoice_address(self):
for move in self:
if move.partner_id:
# Copy Klant exactly to Factuuradres
move.partner_invoice_id = move.partner_id