Browse Source

[FIX] partner_statement: Default value for required field

pull/654/head
Maxime Chambreuil 5 years ago
committed by mreficent
parent
commit
d8f9a8d26c
  1. 2
      partner_statement/__manifest__.py
  2. 1
      partner_statement/wizard/res_config_settings.py

2
partner_statement/__manifest__.py

@ -4,7 +4,7 @@
{ {
'name': 'Partner Statement', 'name': 'Partner Statement',
'version': '12.0.1.0.2',
'version': '12.0.1.0.3',
'category': 'Accounting & Finance', 'category': 'Accounting & Finance',
'summary': 'OCA Financial Reports', 'summary': 'OCA Financial Reports',
'author': "Eficent, Odoo Community Association (OCA)", 'author': "Eficent, Odoo Community Association (OCA)",

1
partner_statement/wizard/res_config_settings.py

@ -14,6 +14,7 @@ class ResConfigSettings(models.TransientModel):
[("days", "Age by Days"), ("months", "Age by Months")], [("days", "Age by Days"), ("months", "Age by Months")],
string="Aging Method", string="Aging Method",
required=True, required=True,
default="days",
default_model="statement.common.wizard", default_model="statement.common.wizard",
) )

Loading…
Cancel
Save