mirror of
https://github.com/bringout/oca-purchase.git
synced 2026-04-20 17:01:58 +02:00
Add oca-purchase submodule with 96 purchase modules moved from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b0628ee8ea
commit
7378b233e9
3994 changed files with 334316 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 2023 Tecnativa - Stefan Ungureanu
|
||||
# Copyright 2023 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class PurchaseTeam(models.Model):
|
||||
_name = "purchase.team"
|
||||
_description = "Purchase Team"
|
||||
_order = "sequence,id"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
sequence = fields.Integer(default=10)
|
||||
user_ids = fields.Many2many(
|
||||
comodel_name="res.users",
|
||||
relation="purchase_team_res_users_rel",
|
||||
column1="purchase_team_id",
|
||||
column2="res_users_id",
|
||||
string="Purchase Users",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue