TT#174405 actual_billing_profile fix billing_profile relation

* the relation was incorrectly performed by the contract_id
  instead of billing_profile_id

Change-Id: I34bd736ab8028d57d8ee69022b15711a6fc4bb1e
(cherry picked from commit a3c70dca13)
mr10.1
Kirill Solomko 3 years ago
parent 3c22534d71
commit fbfbeabbee

@ -41,7 +41,7 @@ __PACKAGE__->belongs_to(
__PACKAGE__->belongs_to(
"billing_profile",
"NGCP::Schema::Result::billing_profiles",
{ id => "contract_id" },
{ id => "billing_profile_id" },
{ cascade_copy => 0, cascade_delete => 0 },
);

Loading…
Cancel
Save