mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-23 08:02:08 +02:00
Initial commit: Accounting packages
This commit is contained in:
commit
4ef34c2317
2661 changed files with 1709616 additions and 0 deletions
|
|
@ -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']
|
||||
Loading…
Add table
Add a link
Reference in a new issue