跳至内容
菜单
此问题已终结
3197 查看

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 

形象
丢弃
相关帖文 回复 查看 活动
0
6月 17
2961
2
8月 25
1807
1
7月 24
2623
0
4月 24
1692
1
1月 24
2768