LaOsaCoop/Odoo16#12 migration pos_balance_multishop + pos_balance_epelsa
This commit is contained in:
parent
46ad866011
commit
7b37ed92a1
20 changed files with 1328 additions and 2 deletions
14
pos_balance_multishop/models/sale.py
Normal file
14
pos_balance_multishop/models/sale.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright 2014 Ignacio Ibeas <ignacio@acysos.com>
|
||||
# Copyright 2020 Santi Noreña <santi@criptomart.net>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import models, fields, _
|
||||
|
||||
|
||||
class balance_sale_shop(models.Model):
|
||||
_name = "balance.sale.shop"
|
||||
_description = "Balance Sale Shop"
|
||||
|
||||
name = fields.Char("Name")
|
||||
balance_ids = fields.One2many(
|
||||
comodel_name="sale.balance", inverse_name="shop_id", string="Balances"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue