Skip to content

Commit

Permalink
[FIX] Update field type from Monetary to Float. Issue found on V17whe…
Browse files Browse the repository at this point in the history
…n it is set as Monetary causing to have "Invalid Type"

Note: With other project with the same module this is not happening. This needs to be investigated further.
  • Loading branch information
agyamuta committed Apr 19, 2024
1 parent 8362599 commit 2987bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osi_partner_credit_limit/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Partner(models.Model):
default=False,
help="If checked, new quotations cannot be confirmed",
)
credit_limit = fields.Monetary(string="Credit Limit")
credit_limit = fields.Float(string="Credit Limit")
grace_period = fields.Integer(
string="Grace Period",
help="Grace period added on top of the customer \
Expand Down

0 comments on commit 2987bef

Please sign in to comment.