Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3214 Переглядів

as default odoo create journal entries after Production order is done for all products in order, i'm added analytic account field to production order form, and all i need to link the analytic account to journal entries for this order, how that can be done and this all what I did

from odoo import models, fields

class MrpProduction(models.Model):
_inherit = 'mrp.production' analytic_account_id = fields.Many2one(
comodel_name='account.analytic.account', string='Analytic Account')


any help will be apprechiated 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
черв. 17
2962
2
серп. 25
1823
1
лип. 24
2626
0
квіт. 24
1698
1
січ. 24
2784