Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Price List PR #653 #657

Merged
merged 3 commits into from Jun 7, 2023
Merged

fix: Price List PR #653 #657

merged 3 commits into from Jun 7, 2023

Conversation

18alantom
Copy link
Member

@18alantom 18alantom commented Jun 7, 2023

Simplifies and Fixes #653

Changes:

  • Fixed invoice item price fetch logic
  • ItemPrice renamed to PriceListItem
  • Removed the following PriceListItem fields enabled, buying, selling, party, batch, validFrom, validUpto.
  • Removed the following from PriceList fields isUomDependent.
  • Renamed enabled, buying, selling

@18alantom 18alantom marked this pull request as ready for review June 7, 2023 05:11
@18alantom 18alantom merged commit 9a53e9c into master Jun 7, 2023
2 checks passed
Comment on lines +19 to +22
"fieldname": "isSales",
"label": "For Sales",
"fieldtype": "Check",
"default": false,
"required": true
},
{
"fieldname": "selling",
"label": "Selling",
"fieldtype": "Check",
"default": false,
"required": true
"default": true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why isSales default value set to true ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a better default. Users make Sales more often than Purchases.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay got it

Comment on lines +29 to +31
],
"quickEditFields": ["item", "unit", "rate"]
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PriceListItem child table is invisible cause tableFields are not defined here !.

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! FB really needs UI tests 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants