add website_partner_directory

This commit is contained in:
Luis 2025-08-14 18:06:43 +02:00
commit 9cabf044c8
12 changed files with 275 additions and 0 deletions

View file

@ -0,0 +1 @@
from . import res_partner

View file

@ -0,0 +1,10 @@
from odoo import models, fields
class ResPartner(models.Model):
_inherit = "res.partner"
show_in_directory = fields.Boolean(
string="Show in directory",
help="If checked, this contact will appear in the public directory.",
)