Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3209 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 17
2962
2
srp 25
1814
1
čvc 24
2624
0
dub 24
1695
1
led 24
2776