Files
partner-tools/partner_profiles
Stéphan Sainléger ca00968b63 [FIX] partner_profiles: remove writes to removed customer/supplier fields
In Odoo 16 the ``customer`` and ``supplier`` boolean fields on
``res.partner`` were replaced by the ``customer_rank`` /
``supplier_rank`` integer counters, but the migration kept the block
forcing them to ``False`` for public profiles. Any creation of a
public profile therefore raised
``AttributeError: 'res.partner' object has no attribute 'customer'``,
which also broke main profile creation through
``create_public_profile``.

Remove the dead block instead of porting it to the new fields: ranks
default to 0 and are only incremented on invoice posting through
``_increase_rank`` on the commercial partner, so a public profile
never becomes a customer or supplier anyway. The original intent is
preserved without redundant writes.
2026-11-03 14:07:53 +01:00
..

================
partner_profiles
================

Provide several profiles for one person.

Installation
============

Use Odoo normal module installation procedure to install
``partner_profiles``.

Known issues / Roadmap
======================

None yet.
Bug Tracker
===========

Bugs are tracked on `our issues website <https://github.com/elabore-coop/member-tools/issues>`_. In case of
trouble, please check there if your issue has already been
reported. If you spotted it first, help us smashing it by providing a
detailed and welcomed feedback.

Credits
=======

Contributors
------------

* Stéphan Sainléger

Funders
-------

The development of this module has been financially supported by:
* Elabore (https://elabore.coop)


Maintainer
----------

This module is maintained by Elabore.