Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2760 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 17
5151
3
maj 16
7921
3
mar. 25
1107
1
okt. 24
5624
0
dec. 22
1977