Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 714
    • Issues 714
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 72
    • Merge requests 72
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • TrytonTryton
  • TrytonTryton
  • Issues
  • #11900
Closed
Open
Issue created Nov 18, 2022 by Raimon Esteve@resteve

Can not create sale from opportunity

In case create a new sale, "shipment_cost_method" is not None because default configuration is 'order' [1]

Since #11574 (closed), add domain "shipment_cost_method" is None when has not carrier [2]

In case process sales that has not carrier (and default shipment_cost_method is None):

trytond.model.modelstorage.DomainValidationError: The value "order" for field "Shipment Cost Method" in "(3)" of "Sale" is not valid according to its domain. -

The user require edit sale and set "shipment_cost_method" to None before to process.

[1] https://github.com/tryton/sale_shipment_cost/blob/06de8670ec7ffc4efbd795a3178935427aadc4fb/sale.py#L70 [2] https://github.com/tryton/sale_shipment_cost/blob/06de8670ec7ffc4efbd795a3178935427aadc4fb/sale.py#L99

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking