Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Tryton
Manage
Activity
Members
Labels
Plan
Issues
847
Issue boards
Milestones
External wiki
Code
Merge requests
140
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tryton
Tryton
Merge requests
!396
Remove useless readonly state on package field in move
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove useless readonly state on package field in move
topic/default/remove-duplicate-readonly-state-package
into
branch/default
Overview
1
Commits
1
Pipelines
3
Changes
1
Merged
Maxime Richez
requested to merge
topic/default/remove-duplicate-readonly-state-package
into
branch/default
1 year ago
Overview
1
Commits
1
Pipelines
3
Changes
1
Expand
The changeset
3423f15dfcbd
added readonly without removing states.
👍
0
👎
0
Merge request reports
Compare
branch/default
version 2
0b822ec8
1 year ago
version 1
98d531e4
1 year ago
branch/default (base)
and
latest version
latest version
08bd9366
1 commit,
1 year ago
version 2
0b822ec8
1 commit,
1 year ago
version 1
98d531e4
1 commit,
1 year ago
1 file
+
1
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
modules/stock_package/stock.py
+
1
−
4
Options
@@ -374,10 +374,7 @@
'
stock.package
'
,
"
Package
"
,
readonly
=
True
,
domain
=
[
(
'
company
'
,
'
=
'
,
Eval
(
'
company
'
,
-
1
)),
],
states
=
{
'
readonly
'
:
Eval
(
'
state
'
)
==
'
cancelled
'
,
})
])
@property
def
package_path
(
self
):
Loading