Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odoo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
odoo
Commits
bfd74d75
Commit
bfd74d75
authored
Mar 20, 2021
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
StockPicking : adding operator_id to store who registred the picking (used from 3rd party app)
parent
10892577
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
product_template.py
..._addons/lacagette_sales_helper/models/product_template.py
+2
-3
sales_helper.py
...ette_addons/lacagette_sales_helper/models/sales_helper.py
+6
-0
No files found.
lacagette_addons/lacagette_sales_helper/models/product_template.py
View file @
bfd74d75
...
@@ -2,9 +2,8 @@
...
@@ -2,9 +2,8 @@
##############################################################################
##############################################################################
#
#
# Product - Average Consumption Module for Odoo
# Product - Average Consumption Module for Odoo
# Copyright (C) 2013-Today GRAP (http://www.grap.coop)
# Copyright (C) 2021-Today GRAP (http://www.grap.coop)
# @author Julien WESTE
# @author Damien Moulard
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
#
#
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# it under the terms of the GNU Affero General Public License as
...
...
lacagette_addons/lacagette_sales_helper/models/sales_helper.py
View file @
bfd74d75
...
@@ -64,3 +64,9 @@ class SalesHelper(models.Model):
...
@@ -64,3 +64,9 @@ class SalesHelper(models.Model):
res
[
'error'
]
=
str
(
e
)
res
[
'error'
]
=
str
(
e
)
return
res
return
res
class
StockPicking
(
models
.
Model
):
_inherit
=
"stock.picking"
# Add to picking table the id of the member who registered the picking
operator_id
=
fields
.
Many2one
(
'res.partner'
,
string
=
"Member who registered the picking"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment