I inherited a project on SF 1.4.

There is a custom admin panel, for each model, its own forms are created, separate pages that contain only those fields that are in the base model. I need to add an additional column on the listing (list of positions) page, which should contain a value from another table (different from the base model), but these tables can be linked by key fields.

For clarity, I give a specific example:
There is an order page that displays the model / table "order", the order can be sent by any transport company.
I keep all the numbers of TTN in a separate table "order_delivery", here there are fields with the status of sent parcels that are updated by krone.
My task on the page of the list of orders is to display the status field of the order, the value from the tab "order_delivery" for the corresponding orders

The question is how can this be implemented?

    1 answer 1

    If the links are correctly spelled out, you can get something like this:

    $order->getOrderDelivery()->getStatus()