Split 49 modules/suites into independent git repos; untrack from monorepo
Each top-level module/suite folder is now its own private repo on GitHub (gsinghpal/<name>) and gitea (admin/<name>), with a fresh single initial commit. The monorepo no longer tracks them (added to .gitignore + git rm --cached); working-tree files are retained on disk and managed in their own repos. The monorepo keeps shared root files (CLAUDE.md, docs/, scripts/, tools/, AGENTS.md, WIP/obsolete dirs) and full history. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
from odoo import fields, models
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
print_label_preview_type = fields.Selection(
|
||||
selection=[('demo_product', 'Demo Product'), ('real_product', 'Real Product')],
|
||||
default='demo_product',
|
||||
required=True,
|
||||
help='Specify what product should be used during label designing.',
|
||||
)
|
||||
print_label_preview_product_id = fields.Many2one(
|
||||
comodel_name='product.product',
|
||||
string='Demo Product',
|
||||
default=lambda self: self.env['product.product'].search([
|
||||
('barcode', '!=', False)
|
||||
], limit=1),
|
||||
)
|
||||
print_label_preview_pricelist_id = fields.Many2one(
|
||||
comodel_name='product.pricelist',
|
||||
string='Demo Pricelist',
|
||||
default=lambda self: self.env['product.pricelist'].search([])[:1],
|
||||
)
|
||||
print_label_preview_sale_pricelist_id = fields.Many2one(
|
||||
comodel_name='product.pricelist',
|
||||
string='Demo Promo Pricelist',
|
||||
default=lambda self: self.env['product.pricelist'].search([])[1:2],
|
||||
)
|
||||
Reference in New Issue
Block a user