Skip to content

Commit

Permalink
[FIX] sale_user_type, partner_attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kanda999 committed Apr 17, 2024
1 parent 8d742d0 commit 10867e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion partner_attribute/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ResPartner(models.Model):
)
newsletter = fields.Selection(
[("subscribe", "Subscribe"), ("unsubscribe", "Unsubscribe")],
default="subscribe",
default="unsubscribe",
)
department = fields.Char()

Expand Down
2 changes: 1 addition & 1 deletion sale_user_type/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ResPartner(models.Model):

user_type = fields.Selection(
[("b2c", "B2C"), ("b2b", "B2B")],
default="b2c",
default="b2b",
help="The setting of the parent is used for the sales order if there is a "
"parent.",
)

0 comments on commit 10867e6

Please sign in to comment.