account.py 632 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. # For copyright and license notices, see __openerp__.py file in module root
  4. # directory
  5. ##############################################################################
  6. from openerp import models, fields
  7. class account_journal(models.Model):
  8. _inherit = 'account.journal'
  9. store_ids = fields.Many2many(
  10. 'res.store', 'res_store_journal_rel', 'journal_id', 'store_id',
  11. 'Store', help="""Users that are not of this store, can see this\
  12. journals records but can not post or modify any entry on them.""")