Add basic support for exposing Customer.shoppers
now there is a Shoppers field when viewing a Customer, unless configured otherwise also tweaked some logic for navigating Customer/Person relationships, to handle implications of Shoppers being (maybe) present
This commit is contained in:
parent
afd5c3a5fd
commit
3fde80f991
5 changed files with 201 additions and 46 deletions
|
@ -4878,7 +4878,7 @@ class MasterView(View):
|
|||
elif simple.get('type') is bool:
|
||||
value = config.getbool(simple['section'],
|
||||
simple['option'],
|
||||
default=False)
|
||||
default=simple.get('default', False))
|
||||
else:
|
||||
value = config.get(simple['section'],
|
||||
simple['option'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue