Skip to Content
मेन्यू
This question has been flagged
1 Reply
2712 Views

I want to set the default tax in action record, I can set other values through context field, but I have no idea what to fill for the taxes_id since it is a many2many field. I want to set the default value to 0 or empty the tax field. My module is inherited from product base module.

Avatar
Discard
Best Answer

Dear Fransisco Wijaya,

You can over-ride the customer tax field and set default value on the inherited module

my_taxes = fields.Many2many(default=get_taxes, ...)


Avatar
Discard
Related Posts Replies Views Activity
0
अप्रैल 17
5070
3
मई 16
7791
3
मार्च 25
1013
1
अक्तू॰ 24
5398
0
दिस॰ 22
1902