Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
203310cf
Commit
203310cf
authored
Feb 20, 2025
by
Titouan Soulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_trade: remove now-useless `isInventoryMovement` getter
parent
bc889d7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
bt5/erp5_trade/DocumentTemplateItem/portal_components/document.erp5.InventoryOffsetCell.py
...em/portal_components/document.erp5.InventoryOffsetCell.py
+0
-2
bt5/erp5_trade/DocumentTemplateItem/portal_components/document.erp5.InventoryOffsetLine.py
...em/portal_components/document.erp5.InventoryOffsetLine.py
+0
-2
No files found.
bt5/erp5_trade/DocumentTemplateItem/portal_components/document.erp5.InventoryOffsetCell.py
View file @
203310cf
...
...
@@ -29,7 +29,6 @@ from AccessControl import ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
erp5.component.document.DeliveryCell
import
DeliveryCell
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
class
InventoryOffsetCell
(
DeliveryCell
):
"""
...
...
@@ -39,7 +38,6 @@ class InventoryOffsetCell(DeliveryCell):
meta_type
=
"ERP5 Inventory Offset Cell"
portal_type
=
"Inventory Offset Cell"
add_permission
=
Permissions
.
AddPortalContent
isInventoryMovement
=
ConstantGetter
(
"isInventoryMovement"
,
value
=
True
)
# Declarative security
security
=
ClassSecurityInfo
()
...
...
bt5/erp5_trade/DocumentTemplateItem/portal_components/document.erp5.InventoryOffsetLine.py
View file @
203310cf
...
...
@@ -29,7 +29,6 @@ from AccessControl import ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
erp5.component.document.DeliveryLine
import
DeliveryLine
from
Products.ERP5Type.Accessor.Constant
import
PropertyGetter
as
ConstantGetter
class
InventoryOffsetLine
(
DeliveryLine
):
"""
...
...
@@ -39,7 +38,6 @@ class InventoryOffsetLine(DeliveryLine):
meta_type
=
"ERP5 Inventory Offset Line"
portal_type
=
"Inventory Offset Line"
add_permission
=
Permissions
.
AddPortalContent
isInventoryMovement
=
ConstantGetter
(
"isInventoryMovement"
,
value
=
True
)
# Declarative security
security
=
ClassSecurityInfo
()
...
...
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