health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #62771] doc/samples/interfaces/demographics/patient_up


From: Feng Shu
Subject: [Health-dev] [bug #62771] doc/samples/interfaces/demographics/patient_uploader.py can not handle federation_account
Date: Thu, 14 Jul 2022 20:15:06 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62771>

                 Summary:
doc/samples/interfaces/demographics/patient_uploader.py can not handle
federation_account
                 Project: GNU Health
               Submitter: tumashu
               Submitted: Fri 15 Jul 2022 12:15:05 AM UTC
                Category: Functionality
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Module: health


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 15 Jul 2022 12:15:05 AM UTC By: Feng Shu <tumashu>

7233 139797540673280 [2022-07-15 00:12:21,116] ERROR
trytond.protocols.dispatcher <class
'trytond.pool.party.party'>.create(*([{'activation_date': None, 'active':
True, 'addresses': [['create', [{'active': True, 'delivery': False, 'invoice':
False, 'is_school': False, 'is_work': False, 'street': 'C/ Buenos Aires 32',
'city': '35001 – Las Palmas'}]]], 'alternative_identification': False,
'citizenship': None, 'customer_location': 7, 'customer_payment_term': 2,
'customer_tax_rule': None, 'fed_country': None, 'fsync': True,
'is_healthprof': False, 'is_institution': False, 'is_insurance_company':
False, 'is_patient': True, 'is_person': True, 'is_pharmacy': False, 'lang':
24, 'residence': None, 'supplier_location': 6, 'supplier_tax_rule': None,
'unidentified': False, 'warehouse': None, 'name': 'Ana', 'lastname': 'Betz',
'ref': '', 'gender': 'f', 'dob': datetime.date(1971, 10, 12),
'contact_mechanisms': [['create', [{'active': True, 'delivery': False,
'emergency': False, 'invoice': False, 'type': 'mobile', 'value':
'+34928555555', 'skype': '+34928555555', 'other_value': '+34928555555',
'email': '+34928555555', 'sip': '+34928555555', 'website':
'+34928555555'}]]]}], {'company_filter': 'one', 'company': 1,
'company.rec_name': 'xxx', 'language': 'zh_CN', 'language_direction': 'ltr',
'groups': [7, 8, 1, 22, 4, 2, 5, 15, 34, 24, 25, 30, 26, 28, 31, 29, 20, 33,
3, 6, 12, 13, 14, 9, 10, 11], 'locale': {'date': '%Y-%m-%d', 'grouping': [3,
0], 'decimal_point': '.', 'thousands_sep': ','}}), **{}) from
admin@127.0.0.1/gnuhealth1/
Traceback (most recent call last):
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.20/trytond/protocols/dispatcher.py",
line 180, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.20/trytond/modules/health_federation/health_federation.py",
line 549, in create
    parties = super(PartyFed, cls).create(vlist)
  File
"/home/feng/gnuhealth/tryton/server/trytond-6.0.20/trytond/modules/health/health.py",
line 675, in create
    values['federation_account'] = values['fed_country'] + \
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'










    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62771>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]