Dear All ...

Continued from my post at http://www.openobject.com/forum/topic18032.html

as you can see, each table have :
1. Table taxi.car
a. "name"
b. ticket --> it will hold the current assignment ticket of each car

2. Table taxi.driver
a. "name"
b. ticket --> it will hold the current assignment ticket of each driver

3. Table taxi.ticket
a. name
b. car_id : a many2one relation to taxi.car
c. driver_id : a many2one relation to taxi.driver


When I change the value of car field in "ticket_form", I want also :
1. Search for taxi.car for taxi.car.ticket = taxi.ticket.car OLD-value
2. change that record taxi.car.ticket field to "None"
3. Search for taxi.car for taxi.car.ticket = taxi.ticket.car NEWvalue
4. change that record taxi.car.ticket field to taxi.ticket.id value

I read http://doc.openerp.com/developer/2_6_views_events/events/events.html ,
but I failed to understand.

Kindly please give me any clue

Sincerely
-bino-




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=60770#60770

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to