diff --git a/modules/account/fiscalyear.xml b/modules/account/fiscalyear.xml
index 7fb3497c55..bd8ab58cf7 100644
--- a/modules/account/fiscalyear.xml
+++ b/modules/account/fiscalyear.xml
@@ -61,28 +61,26 @@ this repository contains the full copyright notices and license terms. -->
+ account.fiscalyear
create_periods
Create Periods
-
+ account.fiscalyear
reopen
Re-Open
-
+ account.fiscalyear
close
Close
-
+ account.fiscalyear
lock_
Lock
Are you sure you want to lock the fiscal year?
-
diff --git a/modules/account/journal.xml b/modules/account/journal.xml
index e88312dc12..9d0de1e2be 100644
--- a/modules/account/journal.xml
+++ b/modules/account/journal.xml
@@ -212,19 +212,16 @@ this repository contains the full copyright notices and license terms. -->
+ account.journal.period
open
-
+ account.journal.period
close
-
+ account.journal.period
reopen
-
diff --git a/modules/account/move.xml b/modules/account/move.xml
index 90c60fafc2..043d0fd937 100644
--- a/modules/account/move.xml
+++ b/modules/account/move.xml
@@ -68,9 +68,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.move
post
Post
-
Account Move
diff --git a/modules/account/period.xml b/modules/account/period.xml
index 73c4654b18..0ea496f533 100644
--- a/modules/account/period.xml
+++ b/modules/account/period.xml
@@ -43,22 +43,22 @@ this repository contains the full copyright notices and license terms. -->
id="menu_period_form"/>
+ account.period
close
Close
-
+ account.period
reopen
Re-Open
-
+ account.period
lock_
Lock
Are you sure you want to lock the period?
-
diff --git a/modules/account_asset/asset.xml b/modules/account_asset/asset.xml
index 3dad652d87..50c4f4e708 100644
--- a/modules/account_asset/asset.xml
+++ b/modules/account_asset/asset.xml
@@ -133,40 +133,40 @@
+ account.asset
draft
Draft
-
+ account.asset
close
Close
Are you sure you want to close the asset?
-
+ account.asset
run
Run
-
+ account.asset
create_lines
Create Lines
-
+ account.asset
clear_lines
Clear Lines
-
+ account.asset
update
Update Asset
-
diff --git a/modules/account_budget/account.xml b/modules/account_budget/account.xml
index 38c91dc9f0..8cdb5a9635 100644
--- a/modules/account_budget/account.xml
+++ b/modules/account_budget/account.xml
@@ -59,15 +59,15 @@ this repository contains the full copyright notices and license terms. -->
id="menu_budget_form"/>
+ account.budget
update_lines
Update Lines
-
+ account.budget
copy_button
Copy
-
@@ -184,9 +184,9 @@ this repository contains the full copyright notices and license terms. -->
id="menu_budget_report"/>
+ account.budget.line
create_periods
Create Periods
-
diff --git a/modules/account_deposit/invoice.xml b/modules/account_deposit/invoice.xml
index 9985ab4d9e..e1cbf737b0 100644
--- a/modules/account_deposit/invoice.xml
+++ b/modules/account_deposit/invoice.xml
@@ -21,9 +21,9 @@ this repository contains the full copyright notices and license terms. -->
invoice_form
+ account.invoice
recall_deposit
Recall Deposit
-
diff --git a/modules/account_dunning/dunning.xml b/modules/account_dunning/dunning.xml
index 1a9d745cee..2a5f1da503 100644
--- a/modules/account_dunning/dunning.xml
+++ b/modules/account_dunning/dunning.xml
@@ -254,9 +254,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.dunning
reschedule
Reschedule
-
diff --git a/modules/account_fr_chorus/account.xml b/modules/account_fr_chorus/account.xml
index 4d54582116..1bcd3fa313 100644
--- a/modules/account_fr_chorus/account.xml
+++ b/modules/account_fr_chorus/account.xml
@@ -85,15 +85,15 @@ this repository contains the full copyright notices and license terms. -->
+ account.invoice.chorus
send
Send
-
+ account.invoice.chorus
update
Update
-
diff --git a/modules/account_invoice/invoice.xml b/modules/account_invoice/invoice.xml
index 396ccc1041..8ffca21fe7 100644
--- a/modules/account_invoice/invoice.xml
+++ b/modules/account_invoice/invoice.xml
@@ -204,55 +204,55 @@ this repository contains the full copyright notices and license terms. -->
+ account.invoice
cancel
Cancel
Are you sure you want to cancel the invoices?
Cancel the invoice
-
+ account.invoice
draft
Draft
-
+ account.invoice
validate_invoice
Validate
Also known as Pro Forma
-
+ account.invoice
post
Post
Are you sure you want to post the invoices?
-
+ account.invoice
pay
Pay
-
+ account.invoice
reschedule_lines_to_pay
Reschedule
-
+ account.invoice
delegate_lines_to_pay
Modify Payee
-
+ account.invoice
process
Process
-
diff --git a/modules/account_invoice_correction/invoice.xml b/modules/account_invoice_correction/invoice.xml
index 70ccd42705..4f26203468 100644
--- a/modules/account_invoice_correction/invoice.xml
+++ b/modules/account_invoice_correction/invoice.xml
@@ -21,9 +21,9 @@ this repository contains the full copyright notices and license terms. -->
account.invoice
+ account.invoice
correct
Correct
-
diff --git a/modules/account_invoice_defer/account.xml b/modules/account_invoice_defer/account.xml
index 9c66b926d6..d327826116 100644
--- a/modules/account_invoice_defer/account.xml
+++ b/modules/account_invoice_defer/account.xml
@@ -132,11 +132,11 @@ this repository contains the full copyright notices and license terms. -->
+ account.invoice.deferred
run
Run
Are you sure you want to defer the invoices?
Start deferring the invoice
-
diff --git a/modules/account_payment/account.xml b/modules/account_payment/account.xml
index 43b90d7df1..5bb1dc87b3 100644
--- a/modules/account_payment/account.xml
+++ b/modules/account_payment/account.xml
@@ -118,9 +118,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.move.line
pay
Pay
-
@@ -128,9 +128,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.move.line
payment_block
Block
-
@@ -139,9 +139,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.move.line
payment_unblock
Unblock
-
diff --git a/modules/account_payment/payment.xml b/modules/account_payment/payment.xml
index f18220a17a..137f87385b 100644
--- a/modules/account_payment/payment.xml
+++ b/modules/account_payment/payment.xml
@@ -185,9 +185,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.group
succeed
Succeed
-
+ account.payment
draft
Draft
-
+ account.payment
submit
Submit
-
+ account.payment
approve
Approve
-
@@ -520,28 +520,28 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment
process_wizard
Process
-
Are you sure you want to process the payments?
+ account.payment
proceed
Processing
-
+ account.payment
succeed
Succeed
-
+ account.payment
fail
Fail
-
diff --git a/modules/account_payment_braintree/account.xml b/modules/account_payment_braintree/account.xml
index bf9cef9c75..f2f4104afd 100644
--- a/modules/account_payment_braintree/account.xml
+++ b/modules/account_payment_braintree/account.xml
@@ -42,10 +42,10 @@ this repository contains the full copyright notices and license terms. -->
id="menu_account_form"/>
+ account.payment.braintree.account
new_identifier
New URL
This action will make the previous URL unusable. Do you want to continue?
-
@@ -104,21 +104,21 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment
braintree_checkout
Braintree Checkout
-
+ account.payment
braintree_do_settle_payment
Braintree Settle Payment
-
+ account.payment
braintree_do_pull
Braintree Pull
-
@@ -212,21 +212,21 @@ this repository contains the full copyright notices and license terms. -->
id="menu_refund_form"/>
+ account.payment.braintree.refund
draft
Draft
-
+ account.payment.braintree.refund
submit
Submit
-
+ account.payment.braintree.refund
approve
Approve
-
@@ -289,9 +289,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.braintree.customer
braintree_checkout
Add Card
-
@@ -307,9 +307,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.braintree.customer
delete_payment_method
Delete Payment Method
-
diff --git a/modules/account_payment_clearing/payment.xml b/modules/account_payment_clearing/payment.xml
index d7f0e30110..b080cd98b7 100644
--- a/modules/account_payment_clearing/payment.xml
+++ b/modules/account_payment_clearing/payment.xml
@@ -40,9 +40,9 @@ this repository contains the full copyright notices and license terms. -->
succeed_start_form
+ account.payment
succeed_wizard
Succeed
-
diff --git a/modules/account_payment_sepa/payment.xml b/modules/account_payment_sepa/payment.xml
index cc21cd1951..8aff4a661c 100644
--- a/modules/account_payment_sepa/payment.xml
+++ b/modules/account_payment_sepa/payment.xml
@@ -132,32 +132,28 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.sepa.mandate
cancel
Cancel
Are you sure you want to cancel the mandate?
-
+ account.payment.sepa.mandate
draft
Draft
-
+ account.payment.sepa.mandate
validate_mandate
Validate
-
+ account.payment.sepa.mandate
request
Request
-
@@ -277,40 +273,35 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.sepa.message
cancel
Cancel
Are you sure you want to cancel the messages?
-
+ account.payment.sepa.message
draft
Draft
-
+ account.payment.sepa.message
wait
Wait
-
+ account.payment.sepa.message
do
Do
Are you sure you want to process the messages?
-
+ account.payment.group
sepa_generate_message
Generate SEPA Message
-
diff --git a/modules/account_payment_stripe/payment.xml b/modules/account_payment_stripe/payment.xml
index b23cffddc8..f3b6de845e 100644
--- a/modules/account_payment_stripe/payment.xml
+++ b/modules/account_payment_stripe/payment.xml
@@ -100,21 +100,21 @@ this repository contains the full copyright notices and license terms. -->
id="menu_refund_form"/>
+ account.payment.stripe.refund
draft
Draft
-
+ account.payment.stripe.refund
submit
Submit
-
+ account.payment.stripe.refund
approve
Approve
-
@@ -134,10 +134,10 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.stripe.account
new_identifier
New URL
This action will make the previous URL unusable. Do you want to continue?
-
@@ -204,15 +204,15 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment
stripe_checkout
Stripe Checkout
-
+ account.payment
stripe_do_capture
Stripe Capture
-
@@ -263,20 +263,19 @@ this repository contains the full copyright notices and license terms. -->
+ account.payment.stripe.customer
stripe_checkout
Add Card
-
+ account.payment.stripe.customer
detach_source
Detach Source
-
+ account.payment.stripe.customer
find_identical
Find Identical
-
diff --git a/modules/account_receivable_rule/account.xml b/modules/account_receivable_rule/account.xml
index 12245f86b6..323c882d96 100644
--- a/modules/account_receivable_rule/account.xml
+++ b/modules/account_receivable_rule/account.xml
@@ -53,9 +53,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.account.receivable.rule
apply
Apply
-
diff --git a/modules/account_statement/statement.xml b/modules/account_statement/statement.xml
index 289f6e2ed0..68bb67c799 100644
--- a/modules/account_statement/statement.xml
+++ b/modules/account_statement/statement.xml
@@ -184,10 +184,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.statement
draft
Draft
-
@@ -196,18 +195,16 @@ this repository contains the full copyright notices and license terms. -->
+ account.statement
validate_statement
Validate
-
+ account.statement
post
Post
Are you sure you want to post the statement?
-
@@ -216,10 +213,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.statement
cancel
Cancel
-
@@ -228,10 +224,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.statement
reconcile
Reconcile
-
diff --git a/modules/account_statement_rule/account.xml b/modules/account_statement_rule/account.xml
index 1996590508..d09729ec18 100644
--- a/modules/account_statement_rule/account.xml
+++ b/modules/account_statement_rule/account.xml
@@ -16,9 +16,9 @@ this repository contains the full copyright notices and license terms. -->
+ account.statement
apply_rules
Apply Rules
-
diff --git a/modules/account_stock_eu/account_stock_eu.xml b/modules/account_stock_eu/account_stock_eu.xml
index b12e75424c..c28763e330 100644
--- a/modules/account_stock_eu/account_stock_eu.xml
+++ b/modules/account_stock_eu/account_stock_eu.xml
@@ -90,9 +90,9 @@ this repository contains the full copyright notices and license terms. -->
id="menu_intrastat_declaration"/>
+ account.stock.eu.intrastat.declaration
export
Export
-
diff --git a/modules/account_stock_landed_cost/account.xml b/modules/account_stock_landed_cost/account.xml
index 2e76d6e69a..1a5917b2d7 100644
--- a/modules/account_stock_landed_cost/account.xml
+++ b/modules/account_stock_landed_cost/account.xml
@@ -120,31 +120,28 @@ this repository contains the full copyright notices and license terms. -->
+ account.landed_cost
cancel
Cancel
-
+ account.landed_cost
post_wizard
Post
-
+ account.landed_cost
show
Show
-
+ account.landed_cost
draft
Draft
-
diff --git a/modules/account_stock_shipment_cost/account.xml b/modules/account_stock_shipment_cost/account.xml
index 08a4d62e59..5dfbe31483 100644
--- a/modules/account_stock_shipment_cost/account.xml
+++ b/modules/account_stock_shipment_cost/account.xml
@@ -124,27 +124,27 @@ this repository contains the full copyright notices and license terms. -->
+ account.shipment_cost
cancel
Cancel
-
+ account.shipment_cost
post_wizard
Post
-
+ account.shipment_cost
show
Show
-
+ account.shipment_cost
draft
Draft
-
diff --git a/modules/analytic_account/line.xml b/modules/analytic_account/line.xml
index f8a11c1a75..ebfe4709f5 100644
--- a/modules/analytic_account/line.xml
+++ b/modules/analytic_account/line.xml
@@ -112,9 +112,9 @@ this repository contains the full copyright notices and license terms. -->
id="menu_completion"/>
+ account.move.line
apply_analytic_rules
Apply Analytic Rules
-
diff --git a/modules/analytic_budget/analytic_account.xml b/modules/analytic_budget/analytic_account.xml
index c9c3325154..6d9234f2ff 100644
--- a/modules/analytic_budget/analytic_account.xml
+++ b/modules/analytic_budget/analytic_account.xml
@@ -42,15 +42,15 @@ this repository contains the full copyright notices and license terms. -->
id="menu_budget_form"/>
+ analytic_account.budget
update_lines
Update Lines
-
+ analytic_account.budget
copy_button
Copy
-
diff --git a/modules/attendance/attendance.xml b/modules/attendance/attendance.xml
index 099183ff5f..f266ed8e4e 100644
--- a/modules/attendance/attendance.xml
+++ b/modules/attendance/attendance.xml
@@ -172,15 +172,15 @@ this repository contains the full copyright notices and license terms. -->
+ attendance.period
draft
Draft
-
+ attendance.period
close
Close
-
diff --git a/modules/commission/commission.xml b/modules/commission/commission.xml
index c9c95d32f2..4378396ce1 100644
--- a/modules/commission/commission.xml
+++ b/modules/commission/commission.xml
@@ -298,9 +298,9 @@ this repository contains the full copyright notices and license terms. -->
+ commission
invoice
Invoice
-
diff --git a/modules/currency/currency.xml b/modules/currency/currency.xml
index 50a542e87f..b9ca2458ae 100644
--- a/modules/currency/currency.xml
+++ b/modules/currency/currency.xml
@@ -134,9 +134,9 @@ this repository contains the full copyright notices and license terms. -->
+ currency.cron
run
Run
-
diff --git a/modules/document_incoming/document.xml b/modules/document_incoming/document.xml
index 4b72d791cf..1ffca17d3a 100644
--- a/modules/document_incoming/document.xml
+++ b/modules/document_incoming/document.xml
@@ -179,39 +179,39 @@ this repository contains the full copyright notices and license terms. -->
+ document.incoming
cancel
Cancel
-
+ document.incoming
draft
Draft
-
+ document.incoming
split_wizard
Split
-
+ document.incoming
process
Process
-
+ document.incoming
proceed
Proceed
-
diff --git a/modules/document_incoming_ocr/document.xml b/modules/document_incoming_ocr/document.xml
index 8344e45618..505c166d8e 100644
--- a/modules/document_incoming_ocr/document.xml
+++ b/modules/document_incoming_ocr/document.xml
@@ -10,9 +10,9 @@ this repository contains the full copyright notices and license terms. -->
+ document.incoming
ocr_send_feedback
Send Feedback
-
diff --git a/modules/inbound_email/inbound_email.xml b/modules/inbound_email/inbound_email.xml
index 7bcb12f45d..722de815f4 100644
--- a/modules/inbound_email/inbound_email.xml
+++ b/modules/inbound_email/inbound_email.xml
@@ -42,10 +42,10 @@ this repository contains the full copyright notices and license terms. -->
id="menu_inbound_email_inbox_form"/>
+ inbound.email.inbox
new_identifier
New URL
This action will make the previous URL unusable. Do you want to continue?
-
@@ -114,9 +114,9 @@ this repository contains the full copyright notices and license terms. -->
+ inbound.email
process
Process
-
diff --git a/modules/marketing_automation/marketing_automation.xml b/modules/marketing_automation/marketing_automation.xml
index 0f696bf028..4c27b13f68 100644
--- a/modules/marketing_automation/marketing_automation.xml
+++ b/modules/marketing_automation/marketing_automation.xml
@@ -79,19 +79,19 @@ this repository contains the full copyright notices and license terms. -->
+ marketing.automation.scenario
draft
Draft
-
+ marketing.automation.scenario
run
Run
-
+ marketing.automation.scenario
stop
Stop
-
@@ -206,9 +206,9 @@ this repository contains the full copyright notices and license terms. -->
+ marketing.automation.record
block
Block
-
@@ -291,14 +291,14 @@ this repository contains the full copyright notices and license terms. -->
+ marketing.automation.record.activity
on_email_opened
E-Mail Opened
-
+ marketing.automation.record.activity
on_email_clicked
E-Mail Clicked
-
diff --git a/modules/marketing_email/marketing.xml b/modules/marketing_email/marketing.xml
index 66cdc69cc0..08449b7202 100644
--- a/modules/marketing_email/marketing.xml
+++ b/modules/marketing_email/marketing.xml
@@ -164,21 +164,21 @@ this repository contains the full copyright notices and license terms. -->
+ marketing.email.message
draft
Draft
-
+ marketing.email.message
send
Send
-
+ marketing.email.message
send_test
Send Test
-
diff --git a/modules/product/category.xml b/modules/product/category.xml
index 58ce84dc06..b8854bfe3c 100644
--- a/modules/product/category.xml
+++ b/modules/product/category.xml
@@ -82,9 +82,9 @@ this repository contains the full copyright notices and license terms. -->
+ product.category
add_products
Add products
-
diff --git a/modules/product_price_list_dates/product.xml b/modules/product_price_list_dates/product.xml
index cc7f13d482..46e7574f75 100644
--- a/modules/product_price_list_dates/product.xml
+++ b/modules/product_price_list_dates/product.xml
@@ -10,10 +10,9 @@ this repository contains the full copyright notices and license terms. -->
price_list_form
+ product.price_list
open_lines
Open Lines
-
diff --git a/modules/production/production.xml b/modules/production/production.xml
index 42c90850f3..642f544e33 100644
--- a/modules/production/production.xml
+++ b/modules/production/production.xml
@@ -217,51 +217,44 @@ this repository contains the full copyright notices and license terms. -->
+ production
cancel
Cancel
-
+ production
draft
Draft
-
+ production
wait
Wait
-
+ production
run
Run
-
+ production
done
Done
Are you sure you want to complete the production?
-
+ production
assign_try
-
+ production
assign_force
-
@@ -270,16 +263,15 @@ this repository contains the full copyright notices and license terms. -->
+ production
assign_wizard
Assign
-
+ production
reset_bom
Reset to BOM
-
diff --git a/modules/production_split/production.xml b/modules/production_split/production.xml
index 318753a178..d8af5875ef 100644
--- a/modules/production_split/production.xml
+++ b/modules/production_split/production.xml
@@ -26,10 +26,9 @@ this repository contains the full copyright notices and license terms. -->
split_start_form
+ production
split_wizard
Split
-
diff --git a/modules/production_work/work.xml b/modules/production_work/work.xml
index 70a05a743b..76d7242485 100644
--- a/modules/production_work/work.xml
+++ b/modules/production_work/work.xml
@@ -248,15 +248,15 @@ this repository contains the full copyright notices and license terms. -->
+ production.work
start
Start
-
+ production.work
stop
Stop
-
@@ -300,24 +300,21 @@ this repository contains the full copyright notices and license terms. -->
+ production.work.cycle
cancel
Cancel
-
+ production.work.cycle
do
Do
-
+ production.work.cycle
run
Run
-
diff --git a/modules/project_invoice/project.xml b/modules/project_invoice/project.xml
index 686e30746e..88a1880cad 100644
--- a/modules/project_invoice/project.xml
+++ b/modules/project_invoice/project.xml
@@ -23,9 +23,9 @@ this repository contains the full copyright notices and license terms. -->
+ project.work
invoice
Invoice
-
diff --git a/modules/purchase/purchase.xml b/modules/purchase/purchase.xml
index 44caaf9762..f6fb39a14b 100644
--- a/modules/purchase/purchase.xml
+++ b/modules/purchase/purchase.xml
@@ -299,38 +299,33 @@ this repository contains the full copyright notices and license terms. -->
+ purchase.purchase
cancel
Cancel
-
+ purchase.purchase
draft
Draft
-
+ purchase.purchase
quote
Quote
-
+ purchase.purchase
confirm
Confirm
-
+ purchase.purchase
process
Process
-
@@ -338,9 +333,9 @@ this repository contains the full copyright notices and license terms. -->
+ purchase.purchase
manual_invoice
Create Invoice
-
@@ -352,24 +347,23 @@ this repository contains the full copyright notices and license terms. -->
+ purchase.purchase
handle_invoice_exception
Handle Invoice Exception
-
+ purchase.purchase
handle_shipment_exception
Handle Shipment Exception
-
diff --git a/modules/purchase_amendment/purchase.xml b/modules/purchase_amendment/purchase.xml
index 81e34c78b7..c4e395ed13 100644
--- a/modules/purchase_amendment/purchase.xml
+++ b/modules/purchase_amendment/purchase.xml
@@ -98,10 +98,10 @@ this repository contains the full copyright notices and license terms. -->
+ purchase.amendment
validate_amendment
Validate
Are you sure you want to validate the amendements?
-
diff --git a/modules/purchase_blanket_agreement/purchase.xml b/modules/purchase_blanket_agreement/purchase.xml
index 6441a2af58..59ba9710b1 100644
--- a/modules/purchase_blanket_agreement/purchase.xml
+++ b/modules/purchase_blanket_agreement/purchase.xml
@@ -89,33 +89,33 @@ this repository contains the full copyright notices and license terms. -->
id="menu_purchase_blanket_agreement"/>
+ purchase.blanket_agreement
cancel
Cancel
-
+ purchase.blanket_agreement
draft
Draft
-
+ purchase.blanket_agreement
run
Run
-
+ purchase.blanket_agreement
create_purchase
Create a Purchase
-
+ purchase.blanket_agreement
close
Close
-
diff --git a/modules/purchase_request/purchase_request.xml b/modules/purchase_request/purchase_request.xml
index 49a43ee46b..952d02f84b 100644
--- a/modules/purchase_request/purchase_request.xml
+++ b/modules/purchase_request/purchase_request.xml
@@ -116,9 +116,9 @@ this repository contains the full copyright notices and license terms. -->
+ purchase.request
handle_purchase_cancellation_exception
Handle Purchase Cancellation
-
id="menu_purchase_request_quotation_form"/>
+ purchase.request.quotation
cancel
-
+ purchase.request.quotation
draft
-
+ purchase.request.quotation
send
-
+ purchase.request.quotation
receive
-
+ purchase.request.quotation
reject
-
+ purchase.requisition
cancel
Cancel
-
+ purchase.requisition
draft
Draft
-
+ purchase.requisition
wait
Wait
-
+ purchase.requisition
approve
Approve
-
@@ -206,9 +202,9 @@ this repository contains the full copyright notices and license terms.
+ purchase.requisition
process
Process
-
@@ -216,10 +212,9 @@ this repository contains the full copyright notices and license terms.
+ purchase.requisition
reject
Reject
-
diff --git a/modules/quality/quality.xml b/modules/quality/quality.xml
index 9a0d139dd3..eeaaa133f7 100644
--- a/modules/quality/quality.xml
+++ b/modules/quality/quality.xml
@@ -285,21 +285,21 @@ this repository contains the full copyright notices and license terms. -->
+ quality.inspection
pending
Pending
-
+ quality.inspection
process
Process
-
+ quality.inspection
pass_
Pass
-
@@ -307,9 +307,9 @@ this repository contains the full copyright notices and license terms. -->
+ quality.inspection
fail
Fail
-
@@ -392,27 +392,27 @@ this repository contains the full copyright notices and license terms. -->
+ quality.alert
open
Open
-
+ quality.alert
process
Process
-
+ quality.alert
defer
Defer
-
+ quality.alert
resolve
Resolve
-
diff --git a/modules/sale/sale.xml b/modules/sale/sale.xml
index 569493703d..702253e58e 100644
--- a/modules/sale/sale.xml
+++ b/modules/sale/sale.xml
@@ -298,33 +298,33 @@ this repository contains the full copyright notices and license terms. -->
+ sale.sale
cancel
Cancel
-
+ sale.sale
draft
Draft
-
+ sale.sale
quote
Quote
-
+ sale.sale
confirm
Confirm
-
+ sale.sale
process
Process
-
@@ -332,9 +332,9 @@ this repository contains the full copyright notices and license terms. -->
+ sale.sale
manual_invoice
Create Invoice
-
@@ -346,9 +346,9 @@ this repository contains the full copyright notices and license terms. -->
+ sale.sale
manual_shipment
Create Shipment
-
@@ -360,23 +360,23 @@ this repository contains the full copyright notices and license terms. -->
+ sale.sale
handle_shipment_exception
Handle Shipment Exception
-
+ sale.sale
handle_invoice_exception
Handle Invoice Exception
-
diff --git a/modules/sale_amendment/sale.xml b/modules/sale_amendment/sale.xml
index edb80f22ff..5b197d0fad 100644
--- a/modules/sale_amendment/sale.xml
+++ b/modules/sale_amendment/sale.xml
@@ -98,10 +98,10 @@ this repository contains the full copyright notices and license terms. -->
+ sale.amendment
validate_amendment
Validate
Are you sure you want to validate the amendments?
-
diff --git a/modules/sale_blanket_agreement/sale.xml b/modules/sale_blanket_agreement/sale.xml
index 98512ee192..4460ac85c1 100644
--- a/modules/sale_blanket_agreement/sale.xml
+++ b/modules/sale_blanket_agreement/sale.xml
@@ -89,33 +89,33 @@ this repository contains the full copyright notices and license terms. -->
id="menu_sale_blanket_agreement"/>
+ sale.blanket_agreement
cancel
Cancel
-
+ sale.blanket_agreement
draft
Draft
-
+ sale.blanket_agreement
run
Run
-
+ sale.blanket_agreement
create_sale
Create a sale
-
+ sale.blanket_agreement
close
Close
-
diff --git a/modules/sale_complaint/complaint.xml b/modules/sale_complaint/complaint.xml
index b83cfdc231..d7a6b4b8c4 100644
--- a/modules/sale_complaint/complaint.xml
+++ b/modules/sale_complaint/complaint.xml
@@ -206,27 +206,27 @@ this repository contains the full copyright notices and license terms. -->
+ sale.complaint
cancel
Cancel
-
+ sale.complaint
draft
Draft
-
+ sale.complaint
wait
Wait
-
+ sale.complaint
approve
Approve
-
@@ -235,9 +235,9 @@ this repository contains the full copyright notices and license terms. -->
+ sale.complaint
reject
Reject
-
@@ -246,9 +246,9 @@ this repository contains the full copyright notices and license terms. -->
+ sale.complaint
process
Process
-
diff --git a/modules/sale_opportunity/opportunity.xml b/modules/sale_opportunity/opportunity.xml
index 58f2822d49..39ce051b8b 100644
--- a/modules/sale_opportunity/opportunity.xml
+++ b/modules/sale_opportunity/opportunity.xml
@@ -152,21 +152,21 @@ this repository contains the full copyright notices and license terms. -->
+ sale.opportunity
lead
Set as Lead
-
+ sale.opportunity
opportunity
Convert to Opportunity
-
+ sale.opportunity
convert
Convert to Sale
-
@@ -174,15 +174,15 @@ this repository contains the full copyright notices and license terms. -->
+ sale.opportunity
lost
Mark as Lost
-
+ sale.opportunity
cancel
Cancel
-
diff --git a/modules/sale_point/sale.xml b/modules/sale_point/sale.xml
index 996d5bc401..ffae0b0282 100644
--- a/modules/sale_point/sale.xml
+++ b/modules/sale_point/sale.xml
@@ -172,34 +172,34 @@ this repository contains the full copyright notices and license terms. -->
+ sale.point.sale
pay
Pay
-
+ sale.point.sale
cancel
Cancel
-
+ sale.point.sale
open
Re-Open
-
+ sale.point.sale
process
Process
-
+ sale.point.sale
post
Post
Are you sure you want to post the sales?
-
@@ -297,22 +297,22 @@ this repository contains the full copyright notices and license terms. -->
+ sale.point.cash.session
open
Re-Open
-
+ sale.point.cash.session
close
Close
-
+ sale.point.cash.session
post
Post
Are you sure you want to post the sessions?
-
@@ -443,10 +443,10 @@ this repository contains the full copyright notices and license terms. -->
+ sale.point.cash.transfer
post
Post
Are you sure you want to post the transfer?
-
diff --git a/modules/sale_subscription/subscription.xml b/modules/sale_subscription/subscription.xml
index 811b0aecbb..7964de80b8 100644
--- a/modules/sale_subscription/subscription.xml
+++ b/modules/sale_subscription/subscription.xml
@@ -122,31 +122,27 @@ this repository contains the full copyright notices and license terms. -->
+ sale.subscription
draft
Draft
-
+ sale.subscription
run
Run
-
+ sale.subscription
cancel
Cancel
-
+ sale.subscription
quote
Quote
-
diff --git a/modules/sale_supply_drop_shipment/stock.xml b/modules/sale_supply_drop_shipment/stock.xml
index da5a6f4617..126f61c9d1 100644
--- a/modules/sale_supply_drop_shipment/stock.xml
+++ b/modules/sale_supply_drop_shipment/stock.xml
@@ -139,10 +139,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.drop
cancel
Cancel
-
@@ -151,33 +150,29 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.drop
draft
Draft
-
+ stock.shipment.drop
wait
Wait
-
+ stock.shipment.drop
done
Done
Are you sure you want to complete the shipment?
-
+ stock.shipment.drop
ship
Ship
Are you sure you want to ship the shipment?
-
diff --git a/modules/stock/inventory.xml b/modules/stock/inventory.xml
index a3bd9bd7b8..91e5181e7e 100644
--- a/modules/stock/inventory.xml
+++ b/modules/stock/inventory.xml
@@ -113,31 +113,31 @@ this repository contains the full copyright notices and license terms. -->
+ stock.inventory
confirm
Confirm
Are you sure you want to confirm the inventory?
-
+ stock.inventory
cancel
Cancel
Are you sure you want to cancel the inventory?
-
+ stock.inventory
complete_lines
Complete
Add an inventory line for each missing products
-
+ stock.inventory
do_count
Count
Launch the wizard to count products
-
diff --git a/modules/stock/move.xml b/modules/stock/move.xml
index 003cad2333..721b24e1da 100644
--- a/modules/stock/move.xml
+++ b/modules/stock/move.xml
@@ -122,23 +122,23 @@ this repository contains the full copyright notices and license terms. -->
+ stock.move
cancel
Cancel
Are you sure you want to cancel the move?
-
+ stock.move
draft
Reset to Draft
-
+ stock.move
do
Do
Are you sure you want to complete the move?
-
diff --git a/modules/stock/period.xml b/modules/stock/period.xml
index 61a680c021..0496ad7a58 100644
--- a/modules/stock/period.xml
+++ b/modules/stock/period.xml
@@ -71,15 +71,15 @@ this repository contains the full copyright notices and license terms. -->
+ stock.period
draft
Draft
-
+ stock.period
close
Close
-
diff --git a/modules/stock/shipment.xml b/modules/stock/shipment.xml
index 51b40fee54..66ed2c4675 100644
--- a/modules/stock/shipment.xml
+++ b/modules/stock/shipment.xml
@@ -548,33 +548,29 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.in
cancel
Cancel
Are you sure you want to cancel the shipment?
-
+ stock.shipment.in
draft
Reset to Draft
-
+ stock.shipment.in
receive
Receive
Are you sure you want to receive the shipment?
-
+ stock.shipment.in
done
Done
-
@@ -602,58 +598,51 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.out
cancel
Cancel
Are you sure you want to cancel the shipment?
-
+ stock.shipment.out
draft
Draft
-
+ stock.shipment.out
wait
Wait
-
+ stock.shipment.out
pick
Pick
-
+ stock.shipment.out
pack
Pack
-
+ stock.shipment.out
done
Done
Are you sure you want to complete the shipment?
-
+ stock.shipment.out
assign_try
-
+ stock.shipment.out
assign_force
-
@@ -662,10 +651,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.out
assign_wizard
Assign
-
@@ -693,44 +681,38 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.internal
cancel
Cancel
Are you sure you want to cancel the shipment?
-
+ stock.shipment.internal
draft
Draft
-
+ stock.shipment.internal
wait
Wait
-
+ stock.shipment.internal
done
Done
-
+ stock.shipment.internal
assign_try
-
+ stock.shipment.internal
assign_force
-
@@ -740,10 +722,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.internal
assign_wizard
Assign
-
@@ -752,10 +733,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.internal
ship
Ship
-
@@ -783,33 +763,29 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.out.return
cancel
Cancel
Are you sure you want to cancel the shipment?
-
+ stock.shipment.out.return
draft
Draft
-
+ stock.shipment.out.return
receive
Receive
Are you sure you want to receive the shipment?
-
+ stock.shipment.out.return
done
Done
-
@@ -837,45 +813,39 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.in.return
cancel
Cancel
Are you sure you want to cancel the shipment?
-
+ stock.shipment.in.return
draft
Draft
-
+ stock.shipment.in.return
wait
Wait
-
+ stock.shipment.in.return
done
Done
Are you sure you want to complete the shipment?
-
+ stock.shipment.in.return
assign_try
-
+ stock.shipment.in.return
assign_force
-
@@ -885,10 +855,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.in.return
assign_wizard
Assign
-
diff --git a/modules/stock_assign_manual/production.xml b/modules/stock_assign_manual/production.xml
index 0b94e3e075..bf204fe71b 100644
--- a/modules/stock_assign_manual/production.xml
+++ b/modules/stock_assign_manual/production.xml
@@ -10,9 +10,9 @@ this repository contains the full copyright notices and license terms. -->
+ production
assign_manual_wizard
Manual Assign
-
diff --git a/modules/stock_assign_manual/stock.xml b/modules/stock_assign_manual/stock.xml
index 09b3ad8989..1129870513 100644
--- a/modules/stock_assign_manual/stock.xml
+++ b/modules/stock_assign_manual/stock.xml
@@ -10,9 +10,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.in.return
assign_manual_wizard
Manual Assign
-
@@ -22,9 +22,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.out
assign_manual_wizard
Manual Assign
-
@@ -34,9 +34,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.internal
assign_manual_wizard
Manual Assign
-
diff --git a/modules/stock_forecast/forecast.xml b/modules/stock_forecast/forecast.xml
index 65d412dc1d..f439b5d422 100644
--- a/modules/stock_forecast/forecast.xml
+++ b/modules/stock_forecast/forecast.xml
@@ -115,26 +115,26 @@ this repository contains the full copyright notices and license terms. -->
+ stock.forecast
cancel
Cancel
-
+ stock.forecast
draft
Draft
-
+ stock.forecast
confirm
Confirm
-
+ stock.forecast
complete
-
diff --git a/modules/stock_lot/stock.xml b/modules/stock_lot/stock.xml
index b0207f0da2..68511afcfe 100644
--- a/modules/stock_lot/stock.xml
+++ b/modules/stock_lot/stock.xml
@@ -81,15 +81,15 @@ this repository contains the full copyright notices and license terms. -->
+ stock.lot
upward_traces
Upward Traces
-
+ stock.lot
downward_traces
Downward Traces
-
@@ -335,9 +335,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.move
add_lots_wizard
Add Lots
-
@@ -359,9 +359,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.move.add.lots.start
duplicate_lot
Duplicate Lot
-
diff --git a/modules/stock_package_shipping/stock.xml b/modules/stock_package_shipping/stock.xml
index 769f16f862..9489897576 100644
--- a/modules/stock_package_shipping/stock.xml
+++ b/modules/stock_package_shipping/stock.xml
@@ -16,9 +16,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.package
print_shipping_label
Shipping Label
-
@@ -35,10 +35,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.out
create_shipping
Create Shipping for Packages
-
@@ -54,9 +53,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.in.return
create_shipping
Create Shipping for Packages
-
diff --git a/modules/stock_quantity_early_planning/stock.xml b/modules/stock_quantity_early_planning/stock.xml
index a18cd8b3ae..7a26e75a1b 100644
--- a/modules/stock_quantity_early_planning/stock.xml
+++ b/modules/stock_quantity_early_planning/stock.xml
@@ -85,27 +85,27 @@ this repository contains the full copyright notices and license terms. -->
+ stock.quantity.early_plan
open
Reset to Open
-
+ stock.quantity.early_plan
process
Process
-
+ stock.quantity.early_plan
close
Close
-
+ stock.quantity.early_plan
ignore
Ignore
-
diff --git a/modules/stock_quantity_issue/stock.xml b/modules/stock_quantity_issue/stock.xml
index 3c20d09806..899b493383 100644
--- a/modules/stock_quantity_issue/stock.xml
+++ b/modules/stock_quantity_issue/stock.xml
@@ -85,27 +85,27 @@ this repository contains the full copyright notices and license terms. -->
+ stock.quantity.issue
open
Reset to Open
-
+ stock.quantity.issue
process
Process
-
+ stock.quantity.issue
apply_best_planned_date
Apply Best Planned Date
-
+ stock.quantity.issue
solve
Solve
-
diff --git a/modules/stock_split/stock.xml b/modules/stock_split/stock.xml
index 94f1b452e3..eaacb27e64 100644
--- a/modules/stock_split/stock.xml
+++ b/modules/stock_split/stock.xml
@@ -44,9 +44,9 @@ this repository contains the full copyright notices and license terms. -->
split_start_form
+ stock.move
split_wizard
Split
-
@@ -56,9 +56,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.in.return
split_wizard
Split
-
@@ -68,9 +68,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.out
split_wizard
Split
-
@@ -80,9 +80,9 @@ this repository contains the full copyright notices and license terms. -->
+ stock.shipment.internal
split_wizard
Split
-
diff --git a/modules/web_shop_shopify/web.xml b/modules/web_shop_shopify/web.xml
index bb83a0c8f3..6129bf892d 100644
--- a/modules/web_shop_shopify/web.xml
+++ b/modules/web_shop_shopify/web.xml
@@ -73,9 +73,9 @@ this repository contains the full copyright notices and license terms. -->
+ web.shop.shopify_identifier
set_to_update
Set to Update
-
diff --git a/modules/web_user/user.xml b/modules/web_user/user.xml
index 2cbee32c16..27d5d00aba 100644
--- a/modules/web_user/user.xml
+++ b/modules/web_user/user.xml
@@ -76,15 +76,15 @@ this repository contains the full copyright notices and license terms. -->
+ web.user
validate_email
Validate E-mail
-
+ web.user
reset_password
Reset Password
-
diff --git a/trytond/CHANGELOG b/trytond/CHANGELOG
index d37c6cc29b..463417c0f6 100644
--- a/trytond/CHANGELOG
+++ b/trytond/CHANGELOG
@@ -1,3 +1,4 @@
+* Store model on ir.model.button
* Store model and field name on ir.model.field.access
* Store model name on ir.model.access
* Store model name on ir.model.field
diff --git a/trytond/doc/tutorial/module/workflow.rst b/trytond/doc/tutorial/module/workflow.rst
index 8ad17ef9cb..0d9af62777 100644
--- a/trytond/doc/tutorial/module/workflow.rst
+++ b/trytond/doc/tutorial/module/workflow.rst
@@ -108,15 +108,15 @@ We must add to the ``opportunity.xml`` file:
...
+ training.opportunity
convert
Convert
-
+ training.opportunity
lost
Lost
-
diff --git a/trytond/trytond/ir/cron.xml b/trytond/trytond/ir/cron.xml
index 38832947a3..4dc22fcd16 100644
--- a/trytond/trytond/ir/cron.xml
+++ b/trytond/trytond/ir/cron.xml
@@ -43,9 +43,9 @@ this repository contains the full copyright notices and license terms. -->
id="menu_cron_form"/>
+ ir.cron
run_once
Run Once
-
diff --git a/trytond/trytond/ir/error.xml b/trytond/trytond/ir/error.xml
index 4e63df8d6f..57835fdf21 100644
--- a/trytond/trytond/ir/error.xml
+++ b/trytond/trytond/ir/error.xml
@@ -57,21 +57,21 @@ this repository contains the full copyright notices and license terms. -->
id="menu_error_form"/>
+ ir.error
open
Open
-
+ ir.error
process
Process
-
+ ir.error
solve
Solve
-
diff --git a/trytond/trytond/ir/lang.xml b/trytond/trytond/ir/lang.xml
index e598d38235..20a44ada60 100644
--- a/trytond/trytond/ir/lang.xml
+++ b/trytond/trytond/ir/lang.xml
@@ -543,16 +543,16 @@ this repository contains the full copyright notices and license terms. -->
id="menu_lang_form"/>
+ ir.lang
load_translations
Load translations
-
Are you sure you want to load languages' translations?
+ ir.lang
unload_translations
Unload translations
Are you sure you want to remove languages' translations?
-
diff --git a/trytond/trytond/ir/model.py b/trytond/trytond/ir/model.py
index f8ec1876a4..b6f6e7106a 100644
--- a/trytond/trytond/ir/model.py
+++ b/trytond/trytond/ir/model.py
@@ -934,7 +934,11 @@ class ModelFieldAccess(
ModelView._fields_view_get_cache.clear()
-class ModelButton(DeactivableMixin, ModelSQL, ModelView):
+class ModelButton(
+ fields.fmany2one(
+ 'model_ref', 'model', 'ir.model,model', "Model",
+ required=True, readonly=True, ondelete='CASCADE'),
+ DeactivableMixin, ModelSQL, ModelView):
"Model Button"
__name__ = 'ir.model.button'
name = fields.Char('Name', required=True, readonly=True)
@@ -942,35 +946,49 @@ class ModelButton(DeactivableMixin, ModelSQL, ModelView):
help = fields.Text("Help", translate=True)
confirm = fields.Text("Confirm", translate=True,
help="Text to ask user confirmation when clicking the button.")
- model = fields.Many2One('ir.model', 'Model', required=True, readonly=True,
- ondelete='CASCADE')
+ model = fields.Char("Model", required=True, readonly=True)
rules = fields.One2Many('ir.model.button.rule', 'button', "Rules")
_rules_cache = Cache('ir.model.button.rules')
clicks = fields.One2Many('ir.model.button.click', 'button', "Clicks")
reset_by = fields.Many2Many(
'ir.model.button-button.reset', 'button_ruled', 'button', "Reset by",
domain=[
- ('model', '=', Eval('model', -1)),
+ ('model', '=', Eval('model')),
('id', '!=', Eval('id', -1)),
],
- depends=['model', 'id'],
help="Button that should reset the rules.")
reset = fields.Many2Many(
'ir.model.button-button.reset', 'button', 'button_ruled', "Reset",
domain=[
- ('model', '=', Eval('model', -1)),
+ ('model', '=', Eval('model')),
('id', '!=', Eval('id', -1)),
- ],
- depends=['model', 'id'])
+ ])
_reset_cache = Cache('ir.model.button.reset')
_view_attributes_cache = Cache(
'ir.model.button.view_attributes', context=False)
@classmethod
def __register__(cls, module_name):
- super().__register__(module_name)
-
+ pool = Pool()
+ Model = pool.get('ir.model')
+ transaction = Transaction()
+ cursor = transaction.connection.cursor()
table_h = cls.__table_handler__(module_name)
+ table = cls.__table__()
+ model = Model.__table__()
+
+ # Migration from 7.0: model as char
+ if (table_h.column_exist('model')
+ and table_h.column_is_type('model', 'INTEGER')):
+ table_h.column_rename('model', '_temp_model')
+ table_h.add_column('model', 'VARCHAR')
+ cursor.execute(*table.update(
+ [table.model], [model.model],
+ from_=[model],
+ where=table._temp_model == model.id))
+ table_h.drop_column('_temp_model')
+
+ super().__register__(module_name)
# Migration from 6.2: replace unique by exclude
table_h.drop_constraint('name_model_uniq')
@@ -978,7 +996,7 @@ class ModelButton(DeactivableMixin, ModelSQL, ModelView):
@classmethod
def __setup__(cls):
super(ModelButton, cls).__setup__()
- cls.__access__.add('model')
+ cls.__access__.add('model_ref')
t = cls.__table__()
cls._sql_constraints += [
('name_model_exclude',
@@ -1030,7 +1048,7 @@ class ModelButton(DeactivableMixin, ModelSQL, ModelView):
if rule_ids is not None:
return Rule.browse(rule_ids)
buttons = cls.search([
- ('model.model', '=', model),
+ ('model', '=', model),
('name', '=', name),
])
if not buttons:
@@ -1050,7 +1068,7 @@ class ModelButton(DeactivableMixin, ModelSQL, ModelView):
if reset is not None:
return reset
buttons = cls.search([
- ('model.model', '=', model),
+ ('model', '=', model),
('name', '=', name),
])
if not buttons:
@@ -1069,7 +1087,7 @@ class ModelButton(DeactivableMixin, ModelSQL, ModelView):
if attributes is not None:
return attributes
buttons = cls.search([
- ('model.model', '=', model),
+ ('model', '=', model),
('name', '=', name),
])
if not buttons:
diff --git a/trytond/trytond/ir/model.xml b/trytond/trytond/ir/model.xml
index 743b00f721..c1ef2e0926 100644
--- a/trytond/trytond/ir/model.xml
+++ b/trytond/trytond/ir/model.xml
@@ -320,9 +320,9 @@ this repository contains the full copyright notices and license terms. -->
sequence="50"
id="menu_model_data_form"/>
+ ir.model.data
sync
Sync
-
diff --git a/trytond/trytond/ir/module.xml b/trytond/trytond/ir/module.xml
index f92aba88a6..1a2be9e195 100644
--- a/trytond/trytond/ir/module.xml
+++ b/trytond/trytond/ir/module.xml
@@ -43,34 +43,34 @@ this repository contains the full copyright notices and license terms. -->
id="menu_module_form"/>
+ ir.module
activate
Mark for Activation
-
+ ir.module
activate_cancel
Cancel Activation
-
+ ir.module
deactivate
Mark for Deactivation (beta)
-
+ ir.module
deactivate_cancel
Cancel Deactivation
-
+ ir.module
upgrade
Mark for Upgrade
-
+ ir.module
upgrade_cancel
Cancel Upgrade
-
diff --git a/trytond/trytond/ir/ui/view.xml b/trytond/trytond/ir/ui/view.xml
index 71547142fe..3e5f0806a5 100644
--- a/trytond/trytond/ir/ui/view.xml
+++ b/trytond/trytond/ir/ui/view.xml
@@ -42,9 +42,9 @@ this repository contains the full copyright notices and license terms. -->
sequence="10"
id="menu_view"/>
+ ir.ui.view
show
Show
-
diff --git a/trytond/trytond/ir/view/model_button_form.xml b/trytond/trytond/ir/view/model_button_form.xml
index 133e8d65c2..8ef5259213 100644
--- a/trytond/trytond/ir/view/model_button_form.xml
+++ b/trytond/trytond/ir/view/model_button_form.xml
@@ -2,8 +2,8 @@
+ res.user
reset_password
Reset Password
Send by email a new temporary password to the user
-
@@ -165,16 +164,14 @@ this repository contains the full copyright notices and license terms. -->
+ res.user.application
validate_
Validate
-
+ res.user.application
cancel
Cancel
-
diff --git a/trytond/trytond/tests/test_modelview.py b/trytond/trytond/tests/test_modelview.py
index 67a92abe7d..32d4d6951e 100644
--- a/trytond/trytond/tests/test_modelview.py
+++ b/trytond/trytond/tests/test_modelview.py
@@ -226,16 +226,14 @@ class ModelView(unittest.TestCase):
'Test Button Access'
pool = Pool()
TestModel = pool.get('test.modelview.button')
- Model = pool.get('ir.model')
Button = pool.get('ir.model.button')
ModelAccess = pool.get('ir.model.access')
Group = pool.get('res.group')
- model, = Model.search([('model', '=', 'test.modelview.button')])
admin, = Group.search([('name', '=', 'Administration')])
test = TestModel()
- button = Button(name='test', model=model)
+ button = Button(model=TestModel.__name__, name='test')
button.save()
# Without model/button access
@@ -291,14 +289,12 @@ class ModelView(unittest.TestCase):
"Test not passed Button Rule"
pool = Pool()
TestModel = pool.get('test.modelview.button')
- Model = pool.get('ir.model')
Button = pool.get('ir.model.button')
ButtonRule = pool.get('ir.model.button.rule')
ButtonClick = pool.get('ir.model.button.click')
- model, = Model.search([('model', '=', 'test.modelview.button')])
rule = ButtonRule(number_user=2)
- button = Button(name='test', model=model, rules=[rule])
+ button = Button(model=TestModel.__name__, name='test', rules=[rule])
button.save()
record = TestModel(id=-1)
@@ -319,14 +315,12 @@ class ModelView(unittest.TestCase):
"Test passed Button Rule"
pool = Pool()
TestModel = pool.get('test.modelview.button')
- Model = pool.get('ir.model')
Button = pool.get('ir.model.button')
ButtonRule = pool.get('ir.model.button.rule')
ButtonClick = pool.get('ir.model.button.click')
- model, = Model.search([('model', '=', 'test.modelview.button')])
rule = ButtonRule(number_user=1)
- button = Button(name='test', model=model, rules=[rule])
+ button = Button(model=TestModel.__name__, name='test', rules=[rule])
button.save()
record = TestModel(id=-1)