Initial commit: Accounting packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:47 +02:00
commit 4ef34c2317
2661 changed files with 1709616 additions and 0 deletions

View file

@ -0,0 +1,11 @@
from odoo import models
class MergePartnerAutomatic(models.TransientModel):
_inherit = 'base.partner.merge.automatic.wizard'
def _get_summable_fields(self):
"""Add to summable fields list, fields created in this module.
- customer_rank and supplier_rank will have a better ranking for the merged partner
"""
return super()._get_summable_fields() + ['customer_rank', 'supplier_rank']