Skip to content
Extraits de code Groupes Projets
scop_liasse_fiscale.py 1,54 ko
Newer Older
  • Learn to ignore specific revisions
  • # © 2019 Le Filament (<http://www.le-filament.com>)
    # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
    
    from odoo import models, fields
    
    
    class ScopLiasseFiscale(models.Model):
        _name = "scop.liasse.fiscale"
        _description = "Liasse Fiscale"
    
        partner_id = fields.Many2one(
            comodel_name='res.partner',
            string='Organisme',
            domain=[('is_company', '=', True)],
            ondelete='restrict')
    
        origin = fields.Selection(
            [('annuel', "Liasse annuelle"),
             ('ajust', "Ajustement Liasse")],
            string='Origine')
        year = fields.Integer("Année de la liasse")
    
        date = fields.Date("Date de la liasse")
        ca = fields.Integer("Mt CA")
        ca_subsidy = fields.Integer("Mt CA subventions")
        salary = fields.Integer("Mt salaires")
        margin = fields.Integer("Mt marge")
        margin_subsidy = fields.Integer("Mt marge subventions")
        va_dbf = fields.Integer("Mt VA DBF")
        va_dbf_subsidy = fields.Integer("Mt VA DBF subventions")
        net_result = fields.Integer("Mt résultat Net")
        closing_date = fields.Date("Date clôture")
        duration = fields.Integer("Durée de l’exercice")
        legal_reserve = fields.Integer("Réserve légale")
        development_fund = fields.Integer("Fond de développement")
        capital_share = fields.Integer("Part capital")
        work_share = fields.Integer("Part travail")
        pension_fund = fields.Integer("Caisse retraite/solidarité")
        other = fields.Integer("Autres")
        social_capital = fields.Integer("Capital social")
        equity = fields.Integer("Capitaux propres")