Skip to Content
Menu
This question has been flagged
2464 Views

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 

Avatar
Discard
Related Posts Replies Views Activity
0
Jun 17
2275
1
Jul 24
346
0
Apr 24
232
1
Jan 24
512
0
Nov 23
278