Add issue11252.diff [sao] Make print button sensitive for exports even without report
#049102
This commit is contained in:
parent
f4bf85843f
commit
2f367634fa
|
@ -0,0 +1,22 @@
|
|||
diff --git a/sao/src/tab.js b/sao/src/tab.js
|
||||
index 24f32bdc..bcf7ac9b 100644
|
||||
--- a/sao/src/tab.js
|
||||
+++ b/sao/src/tab.js
|
||||
@@ -693,13 +693,14 @@
|
||||
menu.children().length);
|
||||
}
|
||||
|
||||
- if (menu_action[0] == 'print') {
|
||||
- if (toolbars.exports.length && toolbars.print.length) {
|
||||
+ if ((menu_action[0] == 'print') &&
|
||||
+ toolbars.exports.length) {
|
||||
+ button._can_be_sensitive = true;
|
||||
+ if (toolbars.print.length) {
|
||||
menu.append(jQuery('<li/>', {
|
||||
'role': 'separator',
|
||||
'class': 'divider',
|
||||
}));
|
||||
- button._can_be_sensitive = true;
|
||||
}
|
||||
toolbars.exports.forEach(function(export_) {
|
||||
var item = jQuery('<li/>', {
|
2
series
2
series
|
@ -55,3 +55,5 @@ issue11049.diff # [account_invoice_defer] Raise user error message for account n
|
|||
issue11240.diff # [account] Check access to select account to reconcile
|
||||
|
||||
issue10363.diff # [production] Remove unique product constraint on BOM
|
||||
|
||||
issue11252.diff # [sao] Make print button sensitive for exports even without report
|
||||
|
|
Loading…
Reference in New Issue