Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3182 Lượt xem

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 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 17
2961
2
thg 8 25
1791
1
thg 7 24
2621
0
thg 4 24
1674
1
thg 1 24
2754