Testcase: Multiple language blocks
This is a testcase to render multiple language blocks on one page.
(use-package elfeed-org
:after elfeed
:init
(setq rmh-elfeed-org-files (list (concat emacs-directory "feeds.org")))
(elfeed-org))
First: language in the common section
def action_done(self, cr, uid, ids, context=None):
logger.debug('Overridden mro_order.action_done called.')
for order in self.browse(cr, uid, ids, context=context):
self.pool.get('stock.move').action_done(
cr, uid, [x.id for x in order.parts_move_lines])
self.write(cr, uid, ids, {'state': 'done'})
return True
Second: language outside common setion, with custom alias (qua.name specific)
(use-package elfeed-org
:after elfeed
:init
(setq rmh-elfeed-org-files (list (concat emacs-directory "feeds.org")))
(elfeed-org))
Third: language unsupported
Specific test: if there is an unsupported language block, the other blocks should not be affected
require ["fileinto", "envelope", "subaddress"];
if envelope :detail "to" "spam"{
fileinto "Spam";
}