rpa-erpnext 1.0.5__tar.gz → 1.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rpa-erpnext
3
- Version: 1.0.5
3
+ Version: 1.0.6
4
4
  Summary: Robot Framework library for automating ERPNext using REST API
5
5
  Author-email: Your Name <youremail@example.com>
6
6
  License: MIT
@@ -655,8 +655,12 @@ class ERPNextLibrary:
655
655
  # ===========================================================
656
656
 
657
657
  @keyword("Send RFQ From Material Request")
658
- def send_rfq_from_mr(self, mr_name: str, suppliers):
658
+ def send_rfq_from_mr(self, mr_name, suppliers):
659
659
  """Tạo RFQ dựa trên Material Request."""
660
+ # Auto-detect if mr_name is a dict (from previous keyword return)
661
+ if isinstance(mr_name, dict):
662
+ mr_name = mr_name.get("name")
663
+
660
664
  if isinstance(suppliers, str):
661
665
  try:
662
666
  suppliers = json.loads(suppliers)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rpa-erpnext"
7
- version = "1.0.5"
7
+ version = "1.0.6"
8
8
  description = "Robot Framework library for automating ERPNext using REST API"
9
9
  readme = "readme.md"
10
10
  requires-python = ">=3.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rpa-erpnext
3
- Version: 1.0.5
3
+ Version: 1.0.6
4
4
  Summary: Robot Framework library for automating ERPNext using REST API
5
5
  Author-email: Your Name <youremail@example.com>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes