mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-23 04:12:02 +02:00
19.0 vanilla
This commit is contained in:
parent
5faf7397c5
commit
2696f14ed7
721 changed files with 220375 additions and 91221 deletions
|
|
@ -0,0 +1,15 @@
|
|||
import { patch } from "@web/core/utils/patch";
|
||||
import { MockServer } from '@web/../tests/helpers/mock_server';
|
||||
|
||||
patch(MockServer.prototype, {
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
async _performRPC(route, args) {
|
||||
// calendar.event methods
|
||||
if (args.model === 'calendar.event' && args.method === 'has_access') {
|
||||
return true;
|
||||
}
|
||||
return super._performRPC(...arguments);
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue