mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] subscription_oca: Migration to 16.0
This commit is contained in:
@@ -114,7 +114,7 @@ class SaleSubscription(models.Model):
|
||||
string="Stage",
|
||||
tracking=True,
|
||||
group_expand="_read_group_stage_ids",
|
||||
store="true",
|
||||
store=True,
|
||||
)
|
||||
stage_str = fields.Char(
|
||||
related="stage_id.name",
|
||||
@@ -228,7 +228,7 @@ class SaleSubscription(models.Model):
|
||||
self.fiscal_position_id = (
|
||||
self.env["account.fiscal.position"]
|
||||
.with_company(self.company_id)
|
||||
.get_fiscal_position(self.partner_id.id)
|
||||
._get_fiscal_position(self.partner_id)
|
||||
)
|
||||
|
||||
def action_start_subscription(self):
|
||||
|
||||
Reference in New Issue
Block a user