Skip to content

Multiple Margin Pricing Rules do not get added up #43048

@Didiman1998

Description

@Didiman1998

Information about bug

Hello everyone :),

we have discovered a little Bug in ERPNext.
If you create multiple margin pricing rules for an item, the margins do not get added or multiplied up.

Right now the current state is, that the margin always get overwritten by one of the multiple pricing rules.

To give a better example, we have made a video, which will describe the problem and shows how to reproduce the bug.

Thank you for considering the issue!

2025-01-07.08-29-56.mp4

Module

accounts

Version

Frappe Version 15
ERPNext Version 15

Frappe Version 14
ERPNext Version 14

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions