add website_partner_directory
This commit is contained in:
commit
9cabf044c8
12 changed files with 275 additions and 0 deletions
10
website_partner_directory/models/res_partner.py
Normal file
10
website_partner_directory/models/res_partner.py
Normal 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.",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue