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

In odoo v10, use_tasks boolean field is used to AccountAnalyticAccount class file but removed that field to AccountAnalyticAccount class file.(odoo v11)

Let me know why removed use_tasks boolean field in odoo v11.


Code V10:

class AccountAnalyticAccount(models.Model):

    _inherit = 'account.analytic.account'

    _description = 'Analytic Account'


    use_tasks = fields.Boolean(string='Use Tasks', help="Check this box to manage internal activities through this project")

    company_uom_id = fields.Many2one('product.uom', related='company_id.project_time_mode_id', string="Company UOM")

    project_ids = fields.One2many('project.project', 'analytic_account_id', string='Projects')

    project_count = fields.Integer(compute='_compute_project_count', string='Project Count')


Code v11:

class AccountAnalyticAccount(models.Model):

    _inherit = 'account.analytic.account'

    _description = 'Analytic Account'


    company_uom_id = fields.Many2one('product.uom', related='company_id.project_time_mode_id', string="Company UOM")

    project_ids = fields.One2many('project.project', 'analytic_account_id', string='Projects')

    project_count = fields.Integer(compute='_compute_project_count', string='Project Count')


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

In the "Analytic Accounts" training with v.10 this flag creates automatically a project.

In version 11, if the project is not automatically created, what is missing? if the flag is no longer available.

I guess, it still should be working like that, isn't it?

Thanks,

Sam

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

If you have noticed now on wards Odoo haven't project issue. So by default only Tasks. And it make sense to by default activate tasks.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
2380
3
thg 8 19
12832
READONLY PRICE UNIT Đã xử lý
7
thg 7 19
4772
0
thg 6 19
3174
0
thg 3 19
5289