health-dev
[Top][All Lists]
Advanced

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

[Health-dev] Customizing a module


From: Carlos Eduardo Sotelo Pinto
Subject: [Health-dev] Customizing a module
Date: Sat, 12 Dec 2015 06:20:37 -0500

Dear comunity


I am working on customizing a module ( I couldnt get wjat I am looking form )

The module is named health, from gnuhealth, and my interested is on the appointments list view, what I have at normal behavior:

- one textbox filter
- one list box with whole  appointments

What I a m looking for:

- three filter boxes
* a calendar to choose a day
* a combo box for specialities
* a combo box gealth professionals
* a combo box to state of the row
- one list box with the filtered results. It means, that on inicial state must be clear, and after select
1. date
2. Speciality and then professional
* State must be "free" as default

The list box must be populated

Until now, I just have written

"""
class Appointment(ModelSQL, ModelView):
    'Patient Appointments'
    __name__ = 'gnuhealth.appointment'
   
    @classmethod
    def __setup__(cls):
        print "setup appointment"
        super(Appointment, cls).__setup__()
        #cls.domain.insert(('appointment_date', '>=', datetime.datetime.now()))
        print dir (cls)
        cls._order.insert(0, ('appointment_date', 'ASC'))

"""

I understsnd that the combo boxed are on a xml view over writting the a view secction on the main (mother) view

I am not looking for you write it for me, I am looking for information or samples on

0. intial list states
1. work with filters

Thanks a lot
 ​
--
Carlos Eduardo Sotelo Pinto
    Senior Software Analyst Developer
    Claro RPC +51983265994 | MOV RPM( # ) +51 966110066
    GTalk: address@hidden | Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

No availability between 08:30 and 18:00, I will answer as soon as posible

Please consider the environment before printing this email
Join the campaign at http://thinkBeforePrinting.org

reply via email to

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