odoo/enterprise#97362

Created by Jérôme Belpaire (beje)
Merged at e8794c1453b6fce225f3ca7c58d22a6ca0122c62

Statuses:

Linked pull requests
label
odoo-dev:master-imp-documents-accounting-improve-server-actions-and-demo-documents-beje
head
fee2e7dcd1b539f465337c00133f220f1f568c75
merged
2 days ago by SM Learn, Stéphane Debauche (std)
odoo/odoo odoo/enterprise odoo/upgrade
master #247232 #97362 #9044

[IMP] documents_account: simplify server actions and remove order override

This pr first moves 2 demo invoices that used to be installed in the Taxes folder
when installing Documents with demo data. It is more relevant to add those
files after a user has installed accounting. The folder of the demo files
is now at the root of the 'Finance' folder instead of the less relevant 'Taxes' folder.

The second commit of this pr refactors the accounting server actions
(e.g., "Create Vendor Bill") to use a single documents_account_record_create
action instead of a multi action that combined a folder move with record creation.

Third commit removes a temporary workaround was required in ir.actions.server to enforce
a specific execution order for these multi-actions. This is fixed structurally by adding a default
order in the base module in community.

Additional improvements:
- When a journal is changed on an account.move, the tags from the previous
journal are now removed from the related document.
- _get_folder_embedded_actions now returns a defaultdict, simplifying
caller code by removing the need for manual .get() checks.
- Removed the "Create Vendor Receipt" action.
- Visual updates: Renamed actions for brevity (e.g., "Create Vendor Bill" ->
"Vendor Bill") and the cog menu button ("Add Custom Action" -> "Edit Actions").

task-5075610