Revert controller and invoice page
This MR mainly reverts the changes caused by automatic translation of portal_type
. Thanks to Romain's foresight: jio@ff4846ab , portal type translated title value won't be used and also thanks to Refeal who has rebased our ERP5, making works to be done much easilier.
Thomas has quickly fixed the invoice page of SlapOS console page before: 7e49ec5e
Since bea2620a, the controller uses parent_relative_url instead of portal_type (because the portal_type canbe translated). For "Sale Invoice Transaction", the module is accounting, so rename the view page accordingly.
By reverting the changes of the invoice page's title as well as the controller page to use portal_type
rather than parent_relative_url
, we can go back to our track and cause no more problems with the massive change of controller_page.