diff --git a/account_invoice_address_from_partner/__init__.py b/account_invoice_address_from_partner/__init__.py deleted file mode 100755 index 0650744..0000000 --- a/account_invoice_address_from_partner/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/account_invoice_address_from_partner/__manifest__.py b/account_invoice_address_from_partner/__manifest__.py deleted file mode 100755 index 211a8ed..0000000 --- a/account_invoice_address_from_partner/__manifest__.py +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "Invoice address same as customer", - "version": "16.0.1.0.0", - "category": "Accounting", - "summary": "Keep invoice address exactly the same as the selected customer", - "description": """ -When selecting a customer on an invoice, the invoice address -(partner_invoice_id) is set to exactly the same partner record, -without collapsing to the commercial parent. -""", - "depends": [ - "account", - ], - "data": [], - "installable": True, - "application": False, - "license": "LGPL-3", -} diff --git a/account_invoice_address_from_partner/models/__init__.py b/account_invoice_address_from_partner/models/__init__.py deleted file mode 100755 index 9c0a421..0000000 --- a/account_invoice_address_from_partner/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import account_move diff --git a/account_invoice_address_from_partner/models/account_move.py b/account_invoice_address_from_partner/models/account_move.py deleted file mode 100755 index a7a29e3..0000000 --- a/account_invoice_address_from_partner/models/account_move.py +++ /dev/null @@ -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 diff --git a/archived_partner_show_warning/i18n/nl_BE.mo b/archived_partner_show_warning/i18n/nl_BE.mo new file mode 100755 index 0000000..145f543 Binary files /dev/null and b/archived_partner_show_warning/i18n/nl_BE.mo differ diff --git a/legaladdress_from_customer/__manifest__.py b/legaladdress_from_customer/__manifest__.py index 7ce3990..d1e0b5c 100755 --- a/legaladdress_from_customer/__manifest__.py +++ b/legaladdress_from_customer/__manifest__.py @@ -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, diff --git a/legaladdress_from_customer/models/__init__.py b/legaladdress_from_customer/models/__init__.py index df48fd8..6aacb75 100755 --- a/legaladdress_from_customer/models/__init__.py +++ b/legaladdress_from_customer/models/__init__.py @@ -1,2 +1 @@ -from . import account_move from . import sale_order diff --git a/legaladdress_from_customer/models/account_move.py b/legaladdress_from_customer/models/account_move.py deleted file mode 100755 index a7a29e3..0000000 --- a/legaladdress_from_customer/models/account_move.py +++ /dev/null @@ -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