mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_sale: Fix multi-company issues
Check company on SO TT28906
This commit is contained in:
@@ -10,6 +10,7 @@ class SaleOrder(models.Model):
|
||||
payment_mode_id = fields.Many2one(
|
||||
comodel_name="account.payment.mode",
|
||||
compute="_compute_payment_mode",
|
||||
check_company=True,
|
||||
store=True,
|
||||
readonly=False,
|
||||
domain=[("payment_type", "=", "inbound")],
|
||||
|
||||
Reference in New Issue
Block a user