Use tax sequence to order M2M of taxes
issue4120 review12461002
This commit is contained in:
1 parent
df39555e65
commit
505d176590
1 file changed
+1
@@ -919,6 +919,7 @@ class PurchaseLine(ModelSQL, ModelView):
|
||||
note = fields.Text('Note')
|
||||
taxes = fields.Many2Many('purchase.line-account.tax',
|
||||
'line', 'tax', 'Taxes',
|
||||
order=[('tax.sequence', 'ASC'), ('tax.id', 'ASC')],
|
||||
domain=[('parent', '=', None), ['OR',
|
||||
('group', '=', None),
|
||||
('group.kind', 'in', ['purchase', 'both'])],
|
||||
|
||||
Reference in new issue
Block a user