diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-31 10:34:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-31 10:34:58 +0700 |
| commit | 7c8ce142f6072dc700c2eb90821ba213b957828d (patch) | |
| tree | 9a5007663cfccc92c234470ef28608de4558e414 | |
| parent | 507bcbe0482f33c6305549b554463ab6d45cdc17 (diff) | |
add ginee journal id
| -rw-r--r-- | fixco_custom/models/partner.py | 1 | ||||
| -rw-r--r-- | fixco_custom/views/res_partner.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fixco_custom/models/partner.py b/fixco_custom/models/partner.py index b22ab31..510cf4d 100644 --- a/fixco_custom/models/partner.py +++ b/fixco_custom/models/partner.py @@ -5,3 +5,4 @@ class Partner(models.Model): _inherit = 'res.partner' ginee_shop_id = fields.Char(string='Ginee Shop ID') + ginee_journal_id = fields.Many2one('account.journal', string='Ginee Journal ID') diff --git a/fixco_custom/views/res_partner.xml b/fixco_custom/views/res_partner.xml index 2257254..90470bf 100644 --- a/fixco_custom/views/res_partner.xml +++ b/fixco_custom/views/res_partner.xml @@ -8,6 +8,7 @@ <field name="arch" type="xml"> <field name="industry_id" position="after"> <field name="ginee_shop_id" readonly="1"/> + <field name="ginee_journal_id" readonly="1"/> </field> </field> </record> |
